How can I access an image embeded in a custom component?
Hello
I'm using Flex 3 and I want to access an image embedded in a custom component.
Let's say that I included an image in the root of the application with the following code:
[Embed ("myImage.jpg")]
public var myImg: Class;
... and I made a custom in ActionScript using VBox as the base component
... and add an image control to the custom component.
Is it possible that I can use the image embeded as a source for the image in the custom control?
Hi the CCJA.
Yes you can do...
Just use as shown below.
Import mx.core.Application;
Don't forget to import the namespace above...
Application.application gives a reference you to upper-class main level. of demand... and the variable of integration must be public, as you had already kep...
Thank you
Jean Claude
Tags: Flex
Similar Questions
-
I LR4 on my Mac with a few 8 000 images on it. If I buy the creative cloud, do I download LR5 on my desktop and how can I access these images or are they automatically imported?
There is no forced use of the LR5 and your LR4 will remain in place and active. If you decide to use LR5 will try, import your catalogs.
Mylenium
-
I just open a document in illustrator cs6 and my swatch Panel is empty. How can I access the default swatch Panel?
Thank you
lil bib
Probably, you have opened a file image (raster). Try to make a new document and use the file > place to insert the image.
-
How can I access my photos?
I found my three SD cards have a virus from a PC and my laptop will not upload my pictures. How can I access my photos?
Thank you!
Title of the message was edited by: Brett N
Maybe you have a friend who you will allow to burn a CD or DVD containing these image files on another computer, then download them on your laptop in this environment. If your machine doesn't have a CD/DVD drive, try a USB key.
-
How can I access "photomerge" in 11 of the elements?
How can I access "photomerge" in 11 of the elements? When I go into file == new all what happens is empty file and the image to the Clipboard. That's when it can be, it's somewhere else in this version.
Title of the message was edited by: Brett N
Hello
It is present in the Enhance menu > Photomerge.
-
How can I access Siri on my iMac without using the icon?
How can I access Siri on my iMac without using the icon? Can I say "Hey Siri"?
There is no option "Hey Siri" on a Mac because they do not have the necessary pickups. You must use the icon in the menu bar or Dock.
-
Without a password how can I access the computer and make my own?
I inherited a Mac Mini (2012, but do not have the password to the owner (departed).) How can I access and make my own?
Follow the steps here:
What to do before you sell or give away your Mac - Apple Support
To restore to a factory State, set up like yours.
-
How can I access menu Firefox 10.0 helps when I am offline?
How can I access menu Firefox 10.0 help without being connected to the Internet? Is it possible to download the help on my computer menu?
Firefox had no off-line 'Help' or 'user manual' integrated since 2007 or 2008 - everything has been on the web since then.
-
With the updated 31.4.0 version - demand for return confirmation and email send priority disappeared.
How can I access them now?Thank you!
Did? I find in the title bar of the alternatives
-
I have an HD camera that records on SD cards. How can I save raw images to a hard drive without import it at the FCC and then share?
YYou want to save raw images, but not all? Is that what you mean? When you import into FVP you can select the songs you want and you can set the library in the Inspector to record the files on any player, anywhere.
-
I have two youtube accounts, but Firefox has stopped reminding the password on one of them. Unfortunately I remember is no longer the password, like Firefox still remembered up to now. How can I access the password in Firefox, or is that not possible?
Try the menu Tools, Options and then on the Security tab.
Look for the "Passwords" section. From there, you should be able to see or manage stored passwords.
-
How can I access the 'now playing' when first opening the music app?
How can I access the 'now playing' when first opening the music app? There is no tab or option like in previous iOS, would be in the upper right
When the music is playing, slide up from the bottom of the home screen to see the center of control and current reading is also there.
-
Is it safe to remove files from my macbook air now that I have set up my time capsule and backed up with time machine? My boot drive is full. How can I access files of my time capsule once they are deleted from my computer?
1 n ° put them on a regular external drive and the value of Time Machine to back up as well; the files you want to keep should be at least two disks in case one of them goes down.
2. they will not be usable until the restoration.
(140480)
-
How can I access Comcast with Apple Mail?
How can I access Comcast with Apple Mail? I use OS X El Capitan (Version 10.11.3). The last update of the system made accessing Comcast inoperable, confirmed twice with the Apple Support. Is there a workaround yet?
DMcCormick,
Read: set up messaging 9 on Mac OS X (El Capitan) for the Comcast Email.
-
How can I download raw images in the photos of el capitan?
How can I download raw images in the photos of el capitan?
What camera?
What happens when you try?
RAW + JPEG you use?
Maybe you are looking for
-
When I am playing the video on YouTube or a stream of sports channels on my laptop I can not because the flash player crashes, I have the latest Firefox and flash player installed, I tried all the troubleshooting but nothing works, please help solve
-
Hello I'm writing a VI that performs a cycle continuously a stepper motor that is connected to a linear actuator. I wish I could order to move the linear actuator of 2 inches, retract 0 thumb and loop this profile so that she could continue to move w
-
LifeCam HD3000 - without audio
Hello Can I install the Lifecam HD3000 on a mac? I tried it, but even if I have the photo there is no audio data. Can you please advise me what to do? Thank you.
-
BlackBerry 10 Q10 screen problem in Blackberry 10.3 sizing
Everyone has noticed it seems to be a problem of calibration screen Blackberry 10.3. When you wake up the screeen with a gesture or pull the handset from the pocket of Q10, the screen that he 'wakes up' until it is expanded, forcing the user to use g
-
I have three frustrating questions with my HP7510 I hope you can help me with. 1. the pictures to print with my macbook pro (OS X 10.9.4) are terrible. They are dark and discoloured. It seems that my ink cartridges are good. There is a warning for