Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding in XML

    I have an XML driven FLASH website.

    I'd like one of the pages to have my twitter feed and my LiveJournal. Twitter has this widget ( http://twitter.com/widgets/profile_flash_widget ) and LiveJournal has all these embed options ( http://community.livejournal.com/howto/34867.html ), but I can't get ANYTHING to work.

    I'm totally new to XML.

    Thank you!

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by chippajones View Post
    I have an XML driven FLASH website.

    I'd like one of the pages to have my twitter feed and my LiveJournal. Twitter has this widget ( http://twitter.com/widgets/profile_flash_widget ) and LiveJournal has all these embed options ( http://community.livejournal.com/howto/34867.html ), but I can't get ANYTHING to work.

    I'm totally new to XML.

    Thank you!
    you post in the wrong forum. In order to get an answer ask one of the moderators to move this thread in flash forum.

    regards

  • #3
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    Or I'll just do it for you. :-)
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Honestly the only real suggestion is to read up on XML in some of the tutorials listed in the sticky thread in the Flash forum.

    If you can post some code of what you are trying to do, then we can better troubleshoot. Otherwise I've never done it and assume that a tutorial will be as helpful as me

    However XML in Flash works as you seem to know, so show us some code and we'll help.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #5
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jeremywilken View Post
    Honestly the only real suggestion is to read up on XML in some of the tutorials listed in the sticky thread in the Flash forum.

    If you can post some code of what you are trying to do, then we can better troubleshoot. Otherwise I've never done it and assume that a tutorial will be as helpful as me :)

    However XML in Flash works as you seem to know, so show us some code and we'll help.
    Gentlemen, thanks for your help. Below is the code (I couldn't find where my original had been reposted). The LiveJournal I just have a link to the external website, but the Twitter section has the widget code.

    <?xml version=”1.0” encoding=”UTF-8”?>
    <services>
    <menu>

    <option>
    <image>services/images/LJ-Glassy.jpg</image>
    <title><![CDATA[<Text_Preset_7>LiveJournal</Text_Preset_7>]]></title>
    <introText><![CDATA[<Text_Preset_9>LiveJournal is an extrememly powerful blogging tool. One of the first on the internet, LiveJournal hosts more than 2,000,000 active journals and communities from around the world. I started my LiveJournal in 2002 and make a point to journal almost daily. LJ offers privacy filters so not all entries are viewable to the public.</Text_Preset_9>]]></introText>
    <info><![CDATA[<Text_Preset_9>LiveJournal is an extrememly powerful blogging tool. One of the first on the internet, LiveJournal hosts more than 2,000,000 active journals and communities from around the world. I started my LiveJournal in 2002 and make a point to journal almost daily. LJ offers privacy filters so not all entries are viewable to the public. <a href="http://chippa.livejournal.com" target="_blank">Click here to visit my LiveJournal.</a></Text_Preset_9>]]></info>
    <extraScroll>32</extraScroll>
    </option>


    <option>
    <image>services/images/Twitter-Glassy.jpg</image>
    <title><![CDATA[<Text_Preset_7>TWITTER</Text_Preset_7>]]></title>
    <introText><![CDATA[<Text_Preset_9>Twitter is fairly new in the world of social networking. Limiting your updates to a mere 140 characters results in 'tweets' -- bursts of information ranging from what you're doing at the moment to updating your followers where you'll be in an hour. Twitter apps are available for cell phones and computers.</Text_Preset_9>]]></introText>
    <info><![CDATA[<Text_Preset_9>

    <div id="twitter_div">
    <h2 class="sidebar-title">Twitter Updates</h2>
    <ul id="twitter_update_list"></ul>
    <a href="http://twitter.com/chippajones" id="twitter-link" target="blank" style="display:block;text-align:right;">follow me on Twitter</a>
    </div>
    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
    <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/chippajones.json?callback=twitterCallback2&amp;count=20"></script>

    <p width="100%" align="center"><embed pluginspage="http://www.adobe.com/go/getflashplayer" src="http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/podman/mini:twitter" wmode="transparent" width="210" height="210" flashvars="lastView=ftlv&amp;externalURL=http%3A%2F%2Fwww%2Eyourminis%2Ecom%2FDir%2FGetMiniSwfPub%2E api%3Furi%3Dyourminis%2Fpodman%2Fmini%3Atwitter%26%5F%5Fversion%3D1175200382&amp;maxheight=370&amp;m axwid=420&amp;newwindow=1&amp;uri=yourminis%2Fpodman%2Fmini%3Atwitter&amp;width=200&amp;xwidth=210&a mp;height=200&amp;xheight=210&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" ></embed>
    </p></Text_Preset_9>]]></info>
    <extraScroll>0</extraScroll>-->
    </option>
    </menu>

    <!-- ______________GRADIENT SETTINGS_________________ -->
    <descriptionGradient visible="true" />
    <buttonGradient visible="true" />
    <draggerGradient visible="true" />
    <!-- ______________STROKE SETTINGS_________________ -->
    <buttonStroke visible="true"/>
    <descriptionStroke visible="true"/>
    <draggerStroke visible="true"/>
    <!-- ______________COLOR SETTINGS_________________ -->
    <!-- MAIN BUTTON COLORS -->
    <btnStrokeColor>0x666666</btnStrokeColor>
    <btnBgColorNormal>0x000000</btnBgColorNormal>
    <btnBgColorOver>0x0D0D0D</btnBgColorOver>
    <btnGradientColorNormal>0x333333</btnGradientColorNormal>
    <btnGradientColorOver>0x404040</btnGradientColorOver>
    <imageFrameNormal>0x666666</imageFrameNormal>
    <imageFrameOver>0xFFFFFF</imageFrameOver>
    <!-- DESCRIPTION BOX COLORS -->
    <descStrokeColor>0x666666</descStrokeColor>
    <descBgColor>0x000000</descBgColor>
    <descGradientColor>0x1E1E1E</descGradientColor>
    <descImageFrameColor>0x666666</descImageFrameColor>
    <!-- description text dragger -->
    <arrowsOver>0xFFCC00</arrowsOver>
    <arrowsNormal>0xCCCCCC</arrowsNormal>
    <draggerStrokeOver>0x666666</draggerStrokeOver>
    <draggerStrokeNormal>0x333333</draggerStrokeNormal>
    <draggerBgOver>0x0D0D0D</draggerBgOver>
    <draggerBgNormal>0x000000</draggerBgNormal>
    <draggerGradientNormal>0x333333</draggerGradientNormal>
    <draggerGradientOver>0x404040</draggerGradientOver>
    <!-- description close button -->
    <xOver>0xFFCC00</xOver>
    <xNormal>0xCCCCCC</xNormal>
    <xBgOver>0x333333</xBgOver>
    <xBgNormal>0x000000</xBgNormal>

    </services>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •