I dont see why I would since it is a dynamic link. here is the full
code  to my component and the part where it is being called in my
main.mxml file

<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"; width="420"
height="144" title="{TitlePanel}">
<mx:Script>
        <![CDATA[
                import mx.events.*;
                import flash.net.*;
                
                [Bindable]
                public var URL:String;
                [Bindable]
                public var ImageURL:String;
                [Bindable]
                public var Description:String;
                [Bindable]
                public var TitlePanel:String;
        ]]>
</mx:Script>
        <mx:Canvas width="100%" height="100%" cornerRadius="20"
borderColor="#000000">
                <mx:Image x="6" y="5" width="95" height="94" 
source="{ImageURL}"/>
                <mx:LinkButton x="310" y="82" label="Launch!"
click="navigateToURL(new URLRequest('{URL}'))"/>
                <mx:Text x="109" y="10" width="291" height="64" 
text="{Description}"/>
        </mx:Canvas>
        
</mx:Panel>


and this is how i am calling it 

                                        <ns1:DownloadWidget TitlePanel="G-uniX 
Fifa Explorer"
Description="Made For The 2006 Fifa World Cup and For The Upcomming
2010 World Cup" URL="http://www.g-unix.com/apps/fifa/index.html";
width="100%">
                                        </ns1:DownloadWidget>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to