...

View Full Version : Embedding in XML



chippajones
01-06-2009, 02:34 AM
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!

oesxyl
01-06-2009, 08:22 AM
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

Alex Vincent
01-06-2009, 02:29 PM
Or I'll just do it for you. :-)

gnomeontherun
01-06-2009, 09:52 PM
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.

chippajones
01-21-2009, 03:24 AM
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%2Eapi%3Furi%3Dyou rminis%2Fpodman%2Fmini%3Atwitter%26%5F%5Fversion%3D1175200382&amp;maxheight=370&amp;maxwid=420&amp;newwindow=1&amp;u ri=yourminis%2Fpodman%2Fmini%3Atwitter&amp;width=200&amp;xwidth=210&amp;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>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum