Groups
Groups
Sign in
Groups
Groups
bangaloreFx
Conversations
About
Send feedback
Help
Embedding assets
0 views
Skip to first unread message
uday
unread,
Jul 3, 2008, 8:53:53 AM
7/3/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bangaloreFx
Hi All,
I am trying embed different images to [embed] property...
here is my code
public var imageUrl:String = "defaultLogo.png";
[Embed(source="../companyLogos/"+imageUrl)]
please tell me how can we add images at runtime to "embed source".
thanks in advance
uday
Venkat Viswanathan
unread,
Jul 9, 2008, 3:07:19 PM
7/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to banga...@googlegroups.com
You cannot embed images at runtime. Embedding is only used when you know the image path at compile time.
If you are going to get the image name/path in runtime, just set the souce of image class to the path. No need of using EMBED.
Regards,
Venkat
Reply all
Reply to author
Forward
0 new messages