Events on a SWC work in Flash but not AIR

I built a SWC (UIMovieClip document) in Flash CS5.
When I use it with Flash (Flash player 10), I can register events directly on all the symbols in the SWC.
When I use it in AIR (2.0), the only thing I can get events for is the SWC's document member (there are no errors when adding events to other symbols in the SWC, they just never fire).
All the examples I found on the net are using Flash CS3 for display in a web browser.
Could someone point me to a working solution for incorporating SWC's from Flash CS 5 into AIR 2.0?

Only only the symbols in the SWC that are converted into a SWC Component can be used in Flex.
I don't really understand your problem but if you wawnt to import a symbol made in Flash into Flex do this:
1. Create your symbol
2. Convert it into a Flex Component (Commands -> Convert symbol to Flex component)
3. Get the SWC file
4. Add it into your project (you don't really have to do this but i prefer to)
5. In your Flex project right click it -> Propreties -> Flex Build Path -> Add SWC or Add SWC Folder
6. Select the file/folder with your SWC
7. Use the symbols into your project
The symbols will be taken from the library not the stage. Oh ya... one more thing... if you want to use var myVar:MovieClip = ... use UIMovieClip instead.
P.S. Sorry if I wrote this 'lil tutorial and that's not what u wore locking for...

Similar Messages

  • Preloader works in Flash, but not after upload

    Hi all. I'm having problems with a preloader. When I test the
    preloader in Flash (using the simulate download option) it works
    like a charm. I publish and upload the file to the server...and
    when you visit the site, you just get a blank white page until
    everything is loaded. I have included the code. Please
    remember...it works correctly when simulating a download in Flash,
    but it does not work at all after upload. Any ideas?
    Thanks for the help!

    Naw...didn't work. I'm use CS3 and all the preloaders I ever
    did (using the same code) in CS2 worked fine. I'm creating the .swf
    using Actionscript 2.0 (not 3.0). Is there a problem when the
    document gets published with CS3 which would stop the preloader
    from working on the server?

  • Flash Player works in Safari but not Internet Explorer 9

    I've installed Flash Player 10.3 and it works in Safari but not Internet Explorer 9. When I look in Manage Add-Ins I see Flash Shockwave but not Flash Player. My operating system is Windows Vista Ultimate (32bit). Safari is 5.0.5 and IE 9 is 9.0.8112.16421. I've tried uninstalling and re-installing Flash Player and uninstalling Norton 360. Nothing has worked so far. Can you help?

    Thank you for your reply. Shockwave is loaded and enabled.
    The files in flash directory are: a folder called FlashPlayerTrust: file, flash10q.ocx: file, FlashInstall.log; file, FlashUtil10q_ActiveX.dll; file, FlashUtil10q_ActiveX.exe, file, install.log.
    There is no file: NPSWF32.dll.
    When I test the browsers I get no spinning logo in either Safari or IE9. Safari says: missing plug-in, where I think the logo should be. IE-9 says nothing at the same location.
    Thanks.

  • Flash 10 works in FF but not Safari, OS X 10.5

    About a week ago flash stopped working in Safari and both firefox and safari started bugging me to install a newer version.  Muttering, I went to the download page and downloaded the latest, which claims to be for Safari, Opera, and firefox.
    Installation completes fine with no errors.  Firefox works.  But in Safari, I just get the usual 'no flash installed, would you like to download it?'
    I've downloaded and installed multiple times, no dice.  Plug-ins are enabled on Safari.  I do not have settings folders to delete--/Library/Application Supprt/Adobe has no flash player folder, only Acrobat, Updater6, and Help.
    This whole thing is a black box and I don't see what else to do.  Installation completes and there's no way to verify anything.  Any ideas would be welcome.

    Thanks! BTW I'm also having trouble updating Adobe Reader. I have 9.4.0 and want to update to the new Adobe Reader X. I keep getting Error 1402 which refers to the registry keys. I am unable to completely uninstall the old version. After receiving the error message it reloades the older version. I read about how to modify the registry to accept it but I believe this is a very wierd way to have to get an update loaded. Any suggestions?
    Date: Mon, 27 Dec 2010 10:34:22 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash Player works in IE8 but not Safari
    Hi Bruce, Adobe Flash Player is Installed separately into IE, since Windows uses the ActiveX Control. Firefox and other non-IE
    browsers must use the plugin Installer.
    This is the Adobe site :
    http://www.adobe.com/products/flashplayer/fp_distribution3.html
    Hope that explains it.
    Thanks,
    eidnolb
    >

  • After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari.

    After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari?

    Frostbitblue,
    in Safari’s Preferences, select its Security tab, and make sure that its “Internet plug-ins: Allow Plug-ins” checkbox is checked.

  • Flash work in preview but not in the browser!?

    Hi there:)
    I have a .swf file in a table in Dreamweaver. When I preview it in place and in Safari, it plays. When I upload eveything, it is not in any browser on the server.. any ideas?
    Thanks!
    V

    Hi John!
    Yes, sorry about that.. here it is.
    http://farmingtonfarm.com/appraisal.html
    Thanks for your help!!
    v
    Date: Thu, 8 Apr 2010 18:52:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: flash work in preview but not in the browser!?
    Can't really help without a link to the site. Can you provide one?
    >

  • Flash shockwave 11.5 works for youtube but not amazon instant video

    Shockwave 11.5 r502 works for Youtube but not for Amazon Instant Video.

    Hi,
    It asked me if I wanted to install something to make the videos load faster -
    Check Safari / Preferences - Extensions. Might be lurking there. If so, select the plugin then click Uninstall.
    Check:
    ~/Library/Internet Plug-Ins (~) Tilde character represents your Home folder
    Check:
    /Library/Internet Plug-Ins
    /Library/Application Support
    /Library/Input Managers
    And check your Safari downloads folder. If the file is still there, double click to open. Might be an uninstaller you can use.
    Help here for troubleshooting Flash
    Carolyn
    Message was edited by: Carolyn

  • Flash website working in FF but not IE7

    www.gamespamusic.net is
    working in FireFox but not working in IE7 I dont know whats going
    on here. Can someone help me with this??? Im trying to figure this
    out but its seems like i cant lol. Please HELP

    Ive also had others try it in both IE7 and FF and they come
    up with the same problem where the screen is white in IE7 and it
    works in FF. I dont know what the problem is.

  • UTube video sound works on iPhone5S but not on Macbook Pro?

    UTube videos from a variety of sources works on iPhone5S but not on Macbook Pro? Thinking it has to do with recommended Flash settings on the MAC. Is there an app to resolve this inoperability on a MAC without having to make Flash active?

    What format is the video? Is it .wmv? Do the DVD's have any type of protection or encryption? This information will help in finding a solution.

  • Rollovers works in Camino but not Safari

    Does anyone know why my rollover stopped working in Safari,
    but it works fine in IE and Camino?
    I did a simple rollover to display before and after images
    and I swear, yesterday when testing it in Safari It worked fine.
    Today it doesn't work on any of my 3 macs here. It displays fine on
    WinXP and IE, and in Camino on my Macs.
    here is the page.
    www.chipwillis.com/retouch
    Any ideas are most appreciated.

    Thanks! BTW I'm also having trouble updating Adobe Reader. I have 9.4.0 and want to update to the new Adobe Reader X. I keep getting Error 1402 which refers to the registry keys. I am unable to completely uninstall the old version. After receiving the error message it reloades the older version. I read about how to modify the registry to accept it but I believe this is a very wierd way to have to get an update loaded. Any suggestions?
    Date: Mon, 27 Dec 2010 10:34:22 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash Player works in IE8 but not Safari
    Hi Bruce, Adobe Flash Player is Installed separately into IE, since Windows uses the ActiveX Control. Firefox and other non-IE
    browsers must use the plugin Installer.
    This is the Adobe site :
    http://www.adobe.com/products/flashplayer/fp_distribution3.html
    Hope that explains it.
    Thanks,
    eidnolb
    >

  • Flashplayer 11.7 works in Chrome but not in IE9 or 10.

    Flashplayer 11.7 works in Chrome but not in IE9 or 10. Add-on enabled, ActiveX filtering is off. Uninstalled/reinstalled. I went through the adobe help checklist to no avail. Ideas??

    What operating system are you using?  Is it 32 or 64 bit?  Given that the addon appears and is "enabled", you might want to try these steps:
    How do I fix Windows permission problems with Flash Player?
    In addition, are you using any virus/firewall software that might be interfering?  You might want to try rebooting in safe mode with networking enabled to see if Flash works under that scenario.
    http://windows.microsoft.com/en-us/windows7/start-your-computer-in-safe-mode

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

  • Works on emulators but not on mobile devices

    Hello,
    My project works on emulators but not on mobile devices (no image and on Samsung it says "unsupported file").
    Please help, I don't know what to do. My configurations: MIDP 2.1, CLDC 1.1.
    Thanks in advance.
    Edited by: Vitali.pom on Oct 27, 2011 12:01 PM

    Edit: I succeeded to solve it accidentally. I did the following: Sign the jar in Netbeans, clean and build, the jar didn't work, I wiped out the .ks from the jar and clean and build again. Now it worked.
    Edited by: Vitali.pom on Oct 30, 2011 1:28 AM

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

Maybe you are looking for

  • How do i hyperlink to certain portion of a page

    I had to start a blog page for every team and from a sports page i made a hyperlink to each different page. instead i would like to just have all information in one page and just put all hyperlinks at top and when clicked on it it goes to that certai

  • Protect Word document with Office 2007

    Hi!!! With Office 2003 and Office 1997 we create an object "WORD.BASIC" and use the method "TOOLSPROTECTSECTION" to protect sections of a word document. With Office 2007 this method does not work and it protect all the document and not the selected s

  • Problem in finding the link location of a particular address

    hello, i am developing a travelling salesman problem project using oracle 10g utilities and the APRESS book's data. shortly, in the system, the user enters the address info and the application records each address info (when user enters it) to use it

  • Batch sequence to certify files

    Ability to certify documents using the batch processing mode. There is a sequence to encrypt files, but not a sequence to certify the files.  The Java Script Example sdkAddSignature.js relies on a software based certificate, not a token based certiff

  • WD-ABAP screens in NW-BPM

    Hi, As part of NW-BPM, we can use WD-Java UI screens. But how can we use WD-ABAP UI screens/ Visual Composer UI Screens in NW-BPM? What configurations have to be performed? Regards, Siva Maranani