Thank you Troy for answer, what about arrays of embedded images, It
will be nice to refer via index, what do you think, is it possible?
--- In flexcoders@yahoogroups.com, "Troy Gilbert" <[EMAIL PROTECTED]>
wrote:
>
> That piece of code should be giving you a warning... I don't think
you can
> bind
Change
[EMAIL PROTECTED]('/images/image.png')]
to
[Embed('/images/image.png')]
The @ symbol isn't needed when you're embedding via script (as opposed
to inline), and its causing the compiler to ignore the directive.
Unfortunately, the compiler doesn't seem to give off any warning when
it encou
Thank you for suggestion, Sherif, but it is not straight-forward
anpproach and looks like work around, no solution. Especially if I
will have 10-15 images like that.
--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> /**
> * The Static Image that we want to use
> */
> [
Whoops, slight alteration to my last post.
I meant to say change
[EMAIL PROTECTED]('/images/image.png')]
to
[Embed(source='/images/image.png')]
You'll need to add the 'source' part. The commentary in the previous
post is still in play here, however.
--- In flexcoders@yahoogroups.com, "lytvyn
Ok,I see I did exactly like that :)
--- In flexcoders@yahoogroups.com, "Troy Gilbert" <[EMAIL PROTECTED]>
wrote:
>
> Yeah, you could do arrays, something like this:
>
> [Embed('myimage1.png')]
> private var myimage1:Class;
>
> [Embed('myimage2.png')]
> private var myimage2:Class;
>
> public var
Yeah, you could do arrays, something like this:
[Embed('myimage1.png')]
private var myimage1:Class;
[Embed('myimage2.png')]
private var myimage2:Class;
public var myimages:Array = [myimage1, myimage2];
In fact, I wrote a PHP script to generate just this kind of stuff once.
You'd point the PHP s
Actually, you don't have to include "source=", it's implied (or rather, it's
the default property for that metadata tag).
Troy.
On Jan 29, 2008 12:12 PM, caffeinewabbit <[EMAIL PROTECTED]>
wrote:
> Whoops, slight alteration to my last post.
>
> I meant to say change
>
>
> [EMAIL PROTECTED]('/
7 matches
Mail list logo