I've got dynamically loaded images (as images - not icons) that I then
'simulate' as links by having event listeners take action on mouse
down and up events - which then call getURL() to send someone elsewhere.

This should be public soon enough, and I may get in trouble for
sharing it ;) but check out:

http://d-p.com/ria/amazon/

There are still a few quirks that I'm working out, so this isn't the
final version.

I don't use repeaters, but generate everything with AS as I recieve
data from the provider - looping through and addChild()'ing as I go
(just remember to clear your field before adding more).

Hope this helps - give it a play.

--- In [email protected], "Stacy Young" <[EMAIL PROTECTED]> wrote:
>
> Took the AS approach and I've got it working for images ... moving
> beyond my initial tests I realized I actually need to create a series of
> Links (dynamic image path set as the icon attribute) rather than Images
> and this approach doesn't work. In desperation I attempted to create all
> the Image objects (hidden) and tried to reference them as the source of
> the icon when creating the Links but no go...is there no such thing as
> "Linkage ID" in flex? Eek!
> 
>  
> 
> -Stace
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Stacy Young
> Sent: Tuesday, December 13, 2005 10:39 AM
> To: [email protected]
> Subject: RE: [flexcoders] Re: Using Embed with dynamic values possible?
> 
>  
> 
> Was taking a similar approach with repeater and Image tag...thanks for
> the tip!
> 
> Stace
> 
>  
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Darin Kohles
> Sent: Tuesday, December 13, 2005 10:32 AM
> To: [email protected]
> Subject: [flexcoders] Re: Using Embed with dynamic values possible?
> 
>  
> 
> Stacy, yes and no. Just create a new image dynamically when your XML
> data is returned (no need to use Embed in this case):
> 
> private function resultHandler(event:ResultEvent):Void {
> myImage: new Image();
> myImage.source=event.result._xml_path_to_image_url;
> 
> someContainerObjectLikeCanvas.addChild(myImage);
> }
> 
> Hope this help
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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