Loading library movie symbol from external swf

Hi, I have a Flex/Air Application and I want this application
to load in an external SWF and display a particular asset from the
SWF library (just like attachMovie in AS2). I dont want to embed
the SWF into the Air application. For the life of me I can't find
any tangible info on how to do this. My second problem is that the
assets sit in an SWF published for AS2 (is that an issue?). All
content resides locally.
Can anyone help or point me in the right direction?

I see now how to import and display a library class object
using:
var MovieClipClass:Class =
Class(loader.contentLoaderInfo.applicationDomain.getDefinition("myLibraryAsset"))
var movieClip:Sprite = new MovieClipClass();
addChild(movieClip)
But this seems to only work for SWF's published for AS3 Flash
Player 9.
I need to do the same for SWF's published with AS2 Flash
Player 7.
Any ideas?

Similar Messages

  • Loading font from external *.swf

    So!
    I have 3 movies.
    1)Main movie - index.swf
    2)Movie with created & checked in linkadge "Export for
    runtime sharing" fonts in library - fonts.swf
    3)movie with text fields which need embeded fonts to work in
    a proper way. Fonts in the library checked in linkage as "import
    for runtime sharing" - content.swf
    What happens:
    I strike CTRL+ENTER and run movie index.swf.
    on the (for ex.) 10 frame it loads fonts.swf with
    movieClipLoader class..
    then in the same way on (for ex.) 100 frame, i load content
    swf
    BUT!!! before it starts loading process IT DOWNLOADS FONT.swf
    again
    SO HOW DO I PRELOAD fonts from external *.swf..
    maybe there is yhe way without using runtime sharing..
    but i've heard that loaded whith movieClipLoader movies don't
    adds objects from their library to main movie liblary...
    HOW DO I SOLVE THIS PROBLEM!

    can you give your erroe source code,and then i will give you the success code.
    in the function
    private function onLoadComplete(e:Event):void {}
    ApplicationDomain.currentDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    use like this:
    var EMClass:Class=loader.contentLoaderInfo.applicationDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    then you can new a instance :
    var emInstance:Object=new EMClass();
    emInstance.alert("hello word");
    and we also can use other method. so email me  [email protected]

  • Loading library assets from external .swf

    Ok, so here's what I want to do. I'm creating an application
    that has optional classes that it can instantiate based on what the
    needs are. These classes operate things like Session Logging
    utilities, etc. These items obviously have assets that they need
    available such as movieclips and buttons. For example, the Session
    Logger has a sessionLog_mc clip that has a log window with buttons
    and the log display. I want to be able to have my class load the
    external .swf that contains the assets for the Session Logger and
    then use attachMovie(), once the .swf is loaded, to attach the
    sessionLog_mc from the library of the loaded external .swf file.
    This does NOT seem to work at all. This seems like it has to be
    possible. I don't want to be forced to put all my code into
    external .swf's too. I just want some external asset .swf's (or
    maybe just one large one) that I can load. Is this possible? I am
    wanting to have the ability to show the progress of loading each of
    these components while the application is starting up and loading
    the asset files. Thanks so much!
    Here is an example of what I'm trying: (the attachMovie does
    NOT work at all)

    I see now how to import and display a library class object
    using:
    var MovieClipClass:Class =
    Class(loader.contentLoaderInfo.applicationDomain.getDefinition("myLibraryAsset"))
    var movieClip:Sprite = new MovieClipClass();
    addChild(movieClip)
    But this seems to only work for SWF's published for AS3 Flash
    Player 9.
    I need to do the same for SWF's published with AS2 Flash
    Player 7.
    Any ideas?

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • Sound from External swf

    I have a main movie (index.swf) that preloads my external SWF
    that is a menu button 4.swf
    My index.swf has background music (song1) that plays on load.
    I also have background music (song2) that plays on my 4.swf
    It works fine when I test 4.swf directly however when I load
    my main index.swf I do not hear the song2.
    I used stopAllSounds(); in my4.swf to stop the background
    music (song1) and then load my song2
    stopAllSounds();
    my_sound = new Sound(sound_loop);
    my_sound.loadSound("4.mp3",true);
    my_sound.start(0,100);
    This has gotten me to get both songs to play when the site is
    loaded and when I click on my menu for 4 button all the sound stops
    and my song2 never plays.
    My actionscript is not very good so any details you can give
    would be greatly appreciated.
    Thanks much!

    here is frame 3 of my loader in index.fla
    var movie:MovieClip =
    _root.StoredActions.Holder.Movies.Holder2.CMovie.duplicateMovieClip("CMovie"
    + n,n);
    loadMovie(n+".swf",_root.StoredActions.Holder.Movies.Holder2["CMovie"+n]);
    if(n>1){
    _root.StoredActions.Holder.Movies.Holder2["CMovie"+n]._x =
    3000;
    var MovieLoaded = 0;
    percent = 0;
    frame4
    MovieLoaded =
    _root.StoredActions.Holder.Movies.Holder2["CMovie"+n].getBytesLoaded();
    loadTotal =
    _root.StoredActions.Holder.Movies.Holder2["CMovie"+n].getBytesTotal();
    percent = int(MovieLoaded/loadTotal*100);
    Bar.gotoAndStop(percent);
    loadingName = ("Loading... " + percent+ "%" + " of "+ n);
    Loadtext_txt.text = loadingName;
    if (loadTotal>10) {
    if (MovieLoaded>=loadTotal) {
    gotoAndPlay(6);
    frame6
    if (n < _root.StoredActions.nMenus) {
    n++;
    gotoAndPlay(3);
    } else {
    gotoAndStop("Stopload");
    _root.gotoAndPlay("Play");
    I know that the above code is loading all the external swf
    and causing the music to start after load. Is there a way to stop
    it from loading the sound?

  • I keep having kernel Panics caused when I try to move file from external hd to my mac.

    i keep getting the below panic report when i try to move a movie file from my external hd to my mac. My MacBook Pro runs 10.7.5 the hard drive (HD) is formatter to fat 32 so i can hook it to our xbox. The HD is a 4tb seagate backup + desk media. it is partitioned into 2 two TB  both with fat 32 format. Please help I dont know what to do.
    Interval Since Last Panic Report:  17969872 sec
    Panics Since Last Report:          10
    Anonymous UUID:                    C6F1646E-A185-4CE9-8B6F-546D3AD9BC53
    Wed Feb  4 20:40:32 2015
    panic(cpu 0 caller 0xffffff8000648698): "complete() while dma active"@/SourceCache/xnu/xnu-1699.32.7/iokit/Kernel/IOMemoryDescriptor.cpp:2240
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80920cb9c0 : 0xffffff8000220792
    0xffffff80920cba40 : 0xffffff8000648698
    0xffffff80920cba90 : 0xffffff7f8077ce36
    0xffffff80920cbad0 : 0xffffff7f80774b0b
    0xffffff80920cbb30 : 0xffffff7f808cb95d
    0xffffff80920cbb80 : 0xffffff7f808ccad2
    0xffffff80920cbbd0 : 0xffffff7f80817ea5
    0xffffff80920cbc20 : 0xffffff7f808123a2
    0xffffff80920cbc70 : 0xffffff7f80812b01
    0xffffff80920cbca0 : 0xffffff7f809c5a2d
    0xffffff80920cbd70 : 0xffffff7f80abf7ef
    0xffffff80920cbe00 : 0xffffff7f80abfeec
    0xffffff80920cbe40 : 0xffffff7f80ab5dce
    0xffffff80920cbed0 : 0xffffff7f80ab5fb6
    0xffffff80920cbef0 : 0xffffff800063d4d6
    0xffffff80920cbf30 : 0xffffff800063c250
    0xffffff80920cbf70 : 0xffffff800063c0f4
    0xffffff80920cbfb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.iokit.IOStorageFamily(1.7.2)[40D4AB21-F11E-3C6C-8883-3554F93A251F]@0x ffffff7f80770000->0xffffff7f80794fff
             com.apple.iokit.IOUSBFamily(5.1)[6C8D52C2-CD1D-3DAF-9942-A0AF681D6BBC]@0xffffff 7f809c0000->0xffffff7f80a15fff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f80849000
             com.apple.driver.AppleUSBXHCI(1.1)[7816EC3D-018B-3E21-9746-55AD82241C03]@0xffff ff7f80aaf000->0xffffff7f80ac3fff
                dependency: com.apple.iokit.IOUSBFamily(5.1.0)[6C8D52C2-CD1D-3DAF-9942-A0AF681D6BBC]@0xffff ff7f809c0000
                dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f80849000
             com.apple.iokit.IOSCSIArchitectureModelFamily(3.2.1)[5948254C-CBA8-34E3-B5B4-57 5E7D4C7BD1]@0xffffff7f8080e000->0xffffff7f80838fff
             com.apple.iokit.IOSCSIBlockCommandsDevice(3.2.1)[9E8FB189-DF4F-337A-A3C5-8BD172 5C205C]@0xffffff7f808cb000->0xffffff7f808dffff
                dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.2.1)[5948254C-CBA8-34E3-B5B4-57 5E7D4C7BD1]@0xffffff7f8080e000
                dependency: com.apple.iokit.IOStorageFamily(1.7.2)[40D4AB21-F11E-3C6C-8883-3554F93A251F]@0x ffffff7f80770000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11G63
    Kernel version:
    Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
    Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 268173437187
    last loaded kext at 44259693880: com.apple.filesystems.msdosfs 1.7.1 (addr 0xffffff7f80874000, size 57344)
    last unloaded kext at 153413605524: com.apple.iokit.IOUSBMassStorageClass 3.0.3 (addr 0xffffff7f80a16000, size 69632)
    loaded kexts:
    com.bresink.driver.BRESINKx86Monitoring 8.0
    at.obdev.nke.LittleSnitch 2.4.4
    com.apple.filesystems.msdosfs 1.7.1
    com.apple.driver.AppleMikeyHIDDriver 122
    com.apple.driver.AGPM 100.12.75
    com.apple.driver.X86PlatformShim 5.0.0d8
    com.apple.driver.AudioAUUC 1.59
    com.apple.driver.AppleHDA 2.2.5a5
    com.apple.driver.AppleMikeyDriver 2.2.5a5
    com.apple.driver.AppleUpstreamUserClient 3.5.9
    com.apple.driver.AppleIntelHD4000Graphics 7.3.2
    com.apple.driver.SMCMotionSensor 3.0.2d6
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.driver.AppleSMCLMU 2.0.1d2
    com.apple.iokit.IOBluetoothSerialManager 4.0.8f17
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AudioIPCDriver 1.2.3
    com.apple.driver.ApplePolicyControl 3.1.33
    com.apple.driver.AppleLPC 1.6.0
    com.apple.driver.AppleBacklight 170.2.2
    com.apple.driver.AppleMCCSControl 1.0.33
    com.apple.driver.AppleIntelFramebufferCapri 7.3.2
    com.apple.driver.AppleSMCPDRC 5.0.0d8
    com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.8f17
    com.apple.driver.AppleUSBTCButtons 227.6
    com.apple.driver.AppleUSBTCKeyboard 227.6
    com.apple.iokit.IOUSBAttachedSCSI 1.0.2
    com.apple.driver.AppleIRController 312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 33
    com.apple.iokit.SCSITaskUserClient 3.2.1
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCISerialATAPI 2.0.3
    com.apple.iokit.IOAHCIBlockStorage 2.1.0
    com.apple.driver.AppleFWOHCI 4.9.0
    com.apple.driver.AirPort.Brcm4331 561.7.22
    com.apple.driver.AppleUSBHub 5.1.0
    com.apple.iokit.AppleBCM5701Ethernet 3.2.4b8
    com.apple.driver.AppleEFINVRAM 1.6.1
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleAHCIPort 2.3.1
    com.apple.driver.AppleSDXC 1.2.2
    com.apple.driver.AppleUSBEHCI 5.1.0
    com.apple.driver.AppleUSBXHCI 1.1.0
    com.apple.driver.AppleACPIButtons 1.5
    com.apple.driver.AppleRTC 1.5
    com.apple.driver.AppleHPET 1.7
    com.apple.driver.AppleSMBIOS 1.9
    com.apple.driver.AppleACPIEC 1.5
    com.apple.driver.AppleAPIC 1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
    com.apple.nke.applicationfirewall 3.2.30
    com.apple.security.quarantine 1.4
    com.apple.security.TMSafetyNet 8
    com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
    com.apple.driver.DspFuncLib 2.2.5a5
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSurface 80.0.2
    com.apple.iokit.IOFireWireIP 2.2.5
    com.apple.iokit.IOSerialFamily 10.0.5
    com.apple.driver.AppleHDAController 2.2.5a5
    com.apple.iokit.IOHDAFamily 2.2.5a5
    com.apple.iokit.IOAudioFamily 1.8.6fc18
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleSMBusPCI 1.0.10d0
    com.apple.driver.AppleGraphicsControl 3.1.33
    com.apple.driver.X86PlatformPlugin 5.1.1d6
    com.apple.driver.AppleSMC 3.1.3d10
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.iokit.IONDRVSupport 2.3.4
    com.apple.driver.AppleSMBusController 1.0.10d0
    com.apple.iokit.IOGraphicsFamily 2.3.4
    com.apple.driver.IOPlatformPluginFamily 5.1.1d6
    com.apple.driver.AppleUSBBluetoothHCIController 4.0.8f17
    com.apple.iokit.IOBluetoothFamily 4.0.8f17
    com.apple.driver.AppleUSBMultitouch 230.5
    com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.2.1
    com.apple.iokit.IOUSBHIDDriver 5.0.0
    com.apple.driver.AppleUSBMergeNub 5.1.0
    com.apple.driver.AppleUSBComposite 5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.1
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
    com.apple.driver.AppleThunderboltNHI 1.6.0
    com.apple.iokit.IOThunderboltFamily 2.0.3
    com.apple.iokit.IOFireWireFamily 4.4.8
    com.apple.iokit.IO80211Family 420.3
    com.apple.iokit.IOEthernetAVBController 1.0.1b1
    com.apple.iokit.IONetworkingFamily 2.1
    com.apple.iokit.IOUSBUserClient 5.0.0
    com.apple.iokit.IOAHCIFamily 2.0.8
    com.apple.iokit.IOUSBFamily 5.1.0
    com.apple.driver.AppleEFIRuntime 1.6.1
    com.apple.iokit.IOHIDFamily 1.7.1
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 177.11
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.DiskImages 331.7
    com.apple.iokit.IOStorageFamily 1.7.2
    com.apple.driver.AppleKeyStore 28.18
    com.apple.driver.AppleACPIPlatform 1.5
    com.apple.iokit.IOPCIFamily 2.7
    com.apple.iokit.IOACPIFamily 1.4
    Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f44
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D434B302020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D434B302020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.198.19.22)
    Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi 2, AirPort, en1
    Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
    Serial ATA Device: MATSHITADVD-R   UJ-8A8
    USB Device: Backup+  Desk, 0x0bc2  (Seagate LLC), 0xab31, 0x14900000 / 1
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0x1d180000 / 3
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 6
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0x1d183000 / 5
    USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 9

    It's likely that the drive is malfunctioning or that there is an internal hardware fault, but to confirm, see below.
    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Screenshots from external swfs

    How can i draw a movieclip that contains an external swf onto
    a BitmapData variable?
    I'm loading the movieclip with:
    moviecontainer=_root.createEmptyMovieClip("moviecontainer",10);
    moviecontainer.loadMovie("pacman.swf",0);
    Then i initialise the BitmapData var with:
    var snap:BitmapData = new BitmapData(Math.floor(nwidth),
    Math.floor(nheight),false);
    When a button is pressed i try this:
    snap.draw(moviecontainer,new Matrix());
    I expected the BitmapData snap to contain a screenshot from
    the external swf pacman.swf, but it doesn't.
    Does anyone know what i'm doing wrong?

    Thanks! I was close to giving up, but this really works
    great.
    The code for the php script is:
    <?php
    $data=explode(",",$_POST["img"]);
    $im=imagecreatetruecolor(max(1,$_POST["iwidth"]),max(1,$_POST["iheight"]));
    imagefill($im,0,0,imagecolorallocate($im,255,255,255));
    $i=0;
    for($x=0;$x<$_POST["iwidth"];$x++){
    for($y=0;$y<$_POST["iheight"];$y++){
    $r=hexdec(substr($data[$i],0,2));
    $g=hexdec(substr($data[$i],2,2));
    $b=hexdec(substr($data[$i],4,2));
    $color=imagecolorallocate($im,$r,$g,$b);
    imagesetpixel($im,$x,$y,$color);
    $i++;
    imagepng($im);
    ?>
    i changed the code inside the two for-loops in the .fla to:
    tmp = snap.getPixel(a, b).toString(16);
    pixels.push(tmp);

  • Access symbols from external javascript code?

    Because the coding support in the Edge editor (e.g. code completion) and the debugging tools are limited (and errors in browser console are useless), I've been moving as much of my code as possible into external javascript files.  From external js files, it has worked fine to access things on stage by jquery class selectors.  But I would also like to access symbols by instance name.  Does anyone know how to do this from an external js file?
    I noticed that using the new in version 3.0 way of adding js libraries to the project doesn't work so well for my own js because "Preview in Browser" doesn't re-load my edited code each time.  So I'm still using yepnope for my own external js.
    Doug

    Have you checkout Bootstrapping in Edge Animate http://blogs.adobe.com/edge/2012/05/15/bootstrapping-edge-compositions/
    Once the composition is loaded store the composition ID.Later you can access the symbols using the regular Animate API's
    Like :
    AdobeEdge.getComposition(compId).getStage().getSymbol('symbol_name')

  • Accessing movie clip from flash swf file

    I have the situation where in flash i created a simple
    animated movie clip with few stop() commands on timeline. Movie
    clip consists of simple animatio played on roll over and on roll
    out which is controlled using actionscript. I loaded movie clip
    into flash using [embed] tag but actionscript code is stripped,
    there is no stop() action so movie clip loops continously. I guess
    that's normal behaviour for embedded flash swf files but i would
    like to know is there a way to still achieve that? Can i load swf
    some other way with its actionscript and then control movie clip
    from flex?

    You need the FLA's to open in Flash.
    You could download the free trial of a flash decompiler
    (www.sothink.com). The free trial won't give you actionscript, but
    it will give you all of the art in the swf.

  • Hide movie clip of external swf

    Hi there.
    I have my main.swf and in the second frame i load an external swf called first.swf with this method:
    [AS]var loader:MovieClipLoader = new MovieClipLoader();
    this.createEmptyMovieClip("myGalleryContainerproducts",5);
    myGalleryContainerproducts._lockroot=true;
    loader.loadClip("first.swf",myGalleryContainerproducts);
    myGalleryContainerproducts._y =86;
    myGalleryContainerproducts._x =50;
    [/AS]
    In first.swf i have two movie clips with instance names ena and dyo
    I want in main.swf in the third frame to hide these movie clips of first.swf  (only the movie clips not the whole .swf) or to move them (change x and y values) so they practically hide.
    Any solutions?
    Thank you in advance

    You will need to wait until the file is loaded to be able to interact with it, so if that might be an issue timing-wise then look into using the addListener method of the MovieClipLoader class.  If the movie is loaded you should be able to access the movieclips within it using the movieclip name you assigned (mygalleryContainerproducts) to target them.

  • How do I control Edge symbols from external javascript?

    I have come across about a dozen similar discussions, but most have presented solutions that worked in earlier versions of Edge and no longer work.
    I am trying to use Edge to build animations that can then be integrated into larger non-Edge projects. I would like to then be able to control the Edge timeline or Edge symbols from elements OUTSIDE of Edge, such as another link or button in the page.
    I cannot seem to figure out how to properly reference the Edge stage or symbols.
    I have come across several proposed solutions for referencing Edge stage, such as:    
         var comp = AdobeEdge.getComposition("EDGE-966604542");
         var stage = comp.getStage();
         var comp = $.Edge.getComposition("EDGE-966604542");
         var stage = comp.getStage();    
         var comp = Edge.getComposition("EDGE-966604542");
         var stage = comp.getStage();
         and these either DO NOTHING or throw errors about either AdobeEdge or Edge or comp being undefined.
         Does anyone have a solution that really works with the current version of Edge Animate?
    Thanks
    Scott

    i created a Trigger @ 0ms and moved the function there...
    function hello(){
         alert("hello");
    still not getting the alert to fire with this in the external js:
    var comp = AdobeEdge.getComposition(compId).getStage();
    comp.hello();
    any thoughts?

  • Move data from external hard drive to time capsule

    I want to move data from my external USB hard drive to time capsule.
    If I drag and drop, it seems go through my computer, and it's 500 gig of data, that impossible, is there a way to direct copy?
    Thanks in advance

    maxxxx wrote:
    If I drag and drop, it seems go through my computer
    Yup.
    is there a way to direct copy?
    Nope. 

  • How do I transfer library and playlists from external drive to PC?

    My old PC with iTunes died for good. Luckily library and playlists were save on and external hard drive. How do I transfer my library and playlists from that drive to another PC (Windows XP) and are the arrangement of tracks within the playlists included?

    Correction to my last post (in bold): I'll try to explain what I did originally, not knowing everything that would be required to transfer, so you can better understand my situation. Just before my first computer died I saved my Music folder containing iTunes, Library, and Playlists folders to an external drive, so I no longer have programs, sub-folders or other information rooted in my first computer. I then downloaded iTunes to my second computer (Dell Vostro 1520, WindowsXP). I then dragged my Music folder from the external drive to iTunes 11.1.5.5 music tab and near as I can tell the library was transferred because in the Songs tab, the tracks are there in duplicate, one with the exclamation at the left and one that functions playback. (However, my total song number is doubled and that can be addressed later if it doesn't impede anything). In individual playlists each track within has a “not connected” mark. I have an extensive playlist catalogue so I would rather not have to reconnect them one by one. Can you think of a solution where I don't have to do that? Would you like more info? Aragorn

  • Import objects from external swf file

    How i can import linkaged items of library of an external swf file im my project?

    check the applicationdomain class.

  • Unable to move project from external drive back to FCPX.

    The HD was recently replaced in my iMac. Fortunately I had backed up my FCPX events and projects to folders on an external drive. I have down loaded FCPX again to the new HD but I'm unable to move my project back into FCPX. Having opened FCPX, I then open the project library, select the external drive, open the folder containing my project but the  "current version fcpproject"  is grey  (not available). I was however able to drag the "fcpevent" file into the event library.
    Any help will be appreciated

    Since there is no disclosure triangle on your external showing in your project library, there are two possibilities:
    1) There are no projects presently located on the drive.
    2) Project files are on the drive but FCP can't see them because they are not at the root level of the drive.
    So either way, to straighten this out you will have to move some files in the Finder – even though best practices (as both Tom and Luis have pointed out) are to stay within FCP to do that.
    Move the existing CurrentVersion file to a temporary folder to hide it from FCP.
    Unless you know that the Ball project is at a specific location on your external, do a spotlight search on Final Cut Projects. If something comes up, with FCP closed, navigate to it in the Finder and move it to the root level of the external drive. Then open FCP and it should now be accessible in your project library.  Select it in the library; go to File>Move Project. Things should now work.
    But if you don't have another copy on your external, open FCP and hot the plus button at the bottom of project library and create a new project. That will create a Final Cut Projects Folder in your Movies folder (which is where it should be in your home directory). Close FCP. Open the temp file and drag the CurrentVersion file that you hid to the Final Cut Projects folder.
    Hopefully, you wil now be able to get back to work.
    Russ

Maybe you are looking for

  • Error while trying to start Audit Collector on the Audit Vault Server 10g

    Hi, We are trying to build a demo environment for testing Oracle Audit Vault 10g but we are having some trouble. Our environment is like this: Oracle Audit Vault Server is installed on Windows Server 2003 SP2, while the Audit Vault Agent is installed

  • How to create a Sales order with ref to Contract using Function Module

    How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?

  • Top link in ipad not Working

    Hi I am using a Window scrollTo() Method to go to the specified area in the ipad safari browser, but the top link is not working. When i click on the link nothing happens. Please help!! -Sandip

  • User interface annoyances in N97

    I just basically wanted to nag about few really annoying features in hope that Nokia might actually read this post. Please feel free to reaply and add to this list. Unlocking announcements Due to security, my phone locks itself every 60 minutes when

  • ACS 5.1 does not join AD

    We're trying to join a test ACS to our current domain. When trying, we get a weird "cannot resolve domain" error. When looking at debug, we get /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabella normale"; mso-tstyle-rowband-size:0;