2 swf movies

I would like to load 2 swf movies. Here is the code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
backgroundColor="white"
layout="vertical">
<mx:Script>
<![CDATA[
import mx.core.FlexMovieClip;
import mx.controls.SWFLoader;
]]>
</mx:Script>
<mx:SWFLoader id="m2" source="Movies/CompInt1a.swf"
scaleContent="true" />
<mx:SWFLoader id="m1" source="Movies/Lmovie1a.swf"
scaleContent="true" />
</mx:Application>
IE7 crashes.

Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Loading and duplicating a MovieClip (using Senocular Tip of
The:
Dec 3, 2007 ... This is a simple swf in Flex:. PHP Code:.
<?xml version='1.0' ... xmlns:mx='
http://www.adobe.com/2006/mxml'
layout='absolute'>
Link:
http://www.kirupa.com/forum/showthread.php?t=282429
Example on how to load Flash 9 assets into Flex 2 [Archive:
I have a Flex mxml application that uses a SWFloader to load
a Flash 9 (alpha) exported file ... xmlns:mx='
http://www.adobe.com/2006/mxml'
layout='absolute'
Link:
http://www.actionscript.org/forums/archive/index.php3/t-132887.html
Flex Sharp Mind:
<?xml version=1.0 encoding=utf-8?> <mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute width=349
height=319
Link:
http://kanuwadhwa.wordpress.com/category/flex/page/2/
Talk:Flex Component Kit for Flash CS3 - Adobe Labs:
The Flex Component Kit for Flash CS3 turns a movieclip into a
Flex component .... I know swfloader and module loader will work
but these are cumbersome.
Link:
http://labs.adobe.com/wiki/index.php/Talk:Flex_Component_Kit_for_Flash_CS3
Galvan on Flash: Flash CS3 Archives:
<?xml version='1.0' encoding='utf-8'?>
<mx:Application xmlns:mx='
http://www.<br>
adobe.com/2006/mxml' creationComplete='xmlService.send()'
layout='absolute'
Link:
http://blogs.adobe.com/rgalvan/flash_cs3/
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine.

Similar Messages

  • RH 7 - How can I get .swf movies to work inside CHM output on Windows 7

    Hi RHelpers,
    I'm using RoboHelp Html (RH 7, latest patch) on my Win 7 64-bit machine to provide a HtmlHelp (CHM) output.
    Now that we're close to releasing, I've been doing some testing, and I've noticed that my SWF movie files do not play inside of Windows 7 when viewing them inside of the CHM file. It keeps asking to install the Adobe Flash Player. But I've already clicked Yes several times to that message, and it still doesn't play the file. I've even manually downloaded and installed it as an administrator, restarted my system and still no go. It just shows a red X in the container where the movie should be playing.
    However, viewing the same topic inside of RH's preview window (or inside a browser) seems to work fine. Also, I've copied and pasted the problem CHM onto a virtual machine running 32-bit Vista, and the movies display fine there. This tells me it's something to do with how how compiled files are handled in 64-bit environments.
    Has anyone else experienced this? Any solutions out there?

    I see the answer here:
    http://forums.adobe.com/thread/781427?tstart=2
    Also I verified that our software does use the 32-bit hh.exe so I'm only seeing this when running the help by itself, outside of our software. That's good news.

  • Can an swf movie be opened on a specific frame?

    When I call up an Flash-generated swf movie in its own
    browser window via a navigation bar button, it always open on its
    first frame. Is there a way to tell the browser in conjunction with
    the getURL command to open at a specific frame other than frame 1?
    I can't find an Actionscript code sample that allows this while
    using getURL. Or is there some other way -- e.g. appending the swf
    file with frame number in its HTML page in some way, using
    Javascript, FSCommand, etc?
    Jody

    Maybe this will help
    http://www.adobe.com/devnet/flash/articles/deep_linking.html

  • Replace one swf movie with another

    I have a flash movie on my web page and I have made some of
    the text inside the movie into buttons. The movie only takes up a
    portion of the page. I would like to replace the movie with another
    movie when somebody clicks the button.
    I'm sorry if this is a really basic question but I have spent
    ages trying to find out how to do it and I keep getting an error
    when I try to search this forum.
    Thanks for your help.

    Thanks for your help so far. I seem to be having more and
    more trouble though!
    I have a swf file (sunnyserv.swf) that contains a pre-loader
    and then opens another swf file (downturn.swf). The downturn.swf
    contains the buttons that I want to listen to, and swap out the
    movies.
    If I open sunnyserv.fla in flash and test the movie, it loads
    downturn.swf, listens to the mouse click and runs the
    communication.swf movie (although it doesn't clear all of the
    children from downturn.swf).
    However, if I export all three movies and open my web page
    nothing happens! If I change the xhtml to load downturn.swf that
    works ok. Any idea why it would work in test movie but not when
    loaded into an xhtml page?
    Also, can you see a reason why all of the children are not
    being removed in the commClickHandler function?
    Code below:
    sunnyserv.swf (container)
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
    loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("downturn.swf"));
    function loop(e:ProgressEvent):void
    var perc:Number = e.bytesLoaded / e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString();
    function done(e:Event):void
    addChild(l);
    removeChildAt(0);
    percent = null;
    downturn.swf
    import flash.events.MouseEvent;
    import flash.events.EventDispatcher;
    import flash.display.MovieClip;
    var l:Loader = new Loader();
    // add listeners for each button
    btn_communication.addEventListener(MouseEvent.CLICK,
    commClickHandler);
    function commClickHandler(event:MouseEvent):void {
    for(var i:int = 0; i < numChildren; i++){
    removeChildAt(i);
    l.load(new URLRequest("communication.swf"));
    addChild(l);
    stop();
    Hope somebody can help!

  • Unloading SWF movie

    Hi,
    I've been working on a CD-Rom presentation with Flash and so
    far I was mostly using AS1 and AS2 to built it. I started to learn
    some AS3 for a part of the presentation but now I'm running into
    issue, here's the main one:
    I'm loading different SWF movie one on top of the other, and
    unloading them as needed, now this is very easy with AS1 (loadmovie
    and unloadmovie function are simple to use), but when I'm loading
    my file built with AS3 I can't figure out how to unload it. The AS3
    movie is loaded on the Level 5, I just want to make sure that when
    I'm unloading the file it's not unloading everything else.
    Can anyone help me.
    Yann Poirier

    Disregard, I found my answer

  • Using loadVariables with nested SWF movies

    I have a .swf with a dynamic text box that loads an external
    text file. Using both loadVars and loadVariables I can see the that
    text is loaded when i play just that file but when i nest the .swf
    into a movie clip in a container movie the text doesn't appear.
    I've used many different path and variable variations but with no
    joy. The nested .swf is loaded using this syntax...
    loadMovie("storyboard.swf",'_root.mainmask.inside_loader');
    the syntax I'm using on the storyboard.swf movie to load the
    text are variations on
    loadVariables("news.txt" this);
    I've tried playing with _parent and _root to get from the top
    level of the container movie to the nested one but can't hit the
    spot.
    Thanks in advance for any help.

    if you use loadVariables() (AND you correct your syntax) in
    storyboard.swf, then you should check to see if the variables are
    loaded before assigning their value(s) to the text property of your
    textfield. if the textfield is on the same timeline that contains
    the loadVariables code, you don't need to use an explicit path.
    in any case, you can always use trace(this) on
    1. the timeline where you want to put your code assigning the
    text property and
    2. on the timeline that contains your loadVariables()
    statement and
    3. on the timeline that contains your textfield.
    with those three trace statements you can get explicit help
    for the correct path if you're still having trouble.

  • Placed SWF movie options

    Using InDesign CS4, I've placed a SWF movie. In Object > Interactive > Movie Options, I chose to embed the movie in PDF, choose a JPG file as the poster, Mode: Play Once Then Stop, and turned on Show Controller During Play.
    Exporting the InDesign document to PDF, choose the Smallest File Size preset, Compatibility: Acrobat 8, Include Interactive Elements, and Embed Multimedia.
    The problems are that in the resulting PDF file:
    the controller bar does NOT show
    the movie loops repeatedly instead of playing only once
    Can anyone help?

    You could always use the Change Property behavior to swish
    that layer
    offscreen to the top left, e.g., change "top" to -10000 and
    "left"
    to -10000.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "lsb235" <[email protected]> wrote in
    message
    news:e3ebpf$qoq$[email protected]..
    > Tricky question for you.....
    > I've placed an swf movie in my main layout table and
    when I change the
    > visibility of my layers, it doesn't hide like everything
    else does.
    > Can it be done?
    > It always appears infront of the upper most layer.
    > Cheers
    > Laini
    >

  • Problem in importing swf movie

    I imported an SWF movie into my captivate project. The problem is that when I pause the project then the movie is not paused. How can I solve the problem?

    Hi there,
    Welcome to Adobe Community.
    May I know how have you inserted the movie file? Is that a video?
    Also which version of captivate you are using?
    Thanks!

  • Swf movie starts before preloader is finished

    Hi,
    I tried to implement a simple preloader for an existing swf movie. I've created a new flash document and added the Loader as well as a ProgressBar component. In the action script of the key frame 1, I implemented the following:
    import mx.controls.ProgressBar;
    loader.contentPath = "myMovie.swf";
    pBar.setStyle("themeColor", "0xF49417");
    pBar.setStyle("color","0x3D566F");
    pBar.labelPlacement = "bottom";
    pBar.label = "LOADING %3%%"
    pBar.scaleY = 150;
    pBar.conversion = 1024;
    pBar.source = loader;
    pBar.mode = "polled";
    loader.load();
    The problem is now that the movie starts playing (i.e. its sound) before the progress bar is completely finished. This usually happens around 80%. How can I avoid that the movie starts before the progress bar reaches 100%?
    Thanks,
    Patrik

    Thanks for your replay! I added an empty keyframe to the first scene of the existing flash movie with a stop() action in it. Additionally, I modified the preloader with an action listener that is called in case the movie is loaded completely. The action script of the preloader does now look like follows (without sytle settings):
    import mx.controls.ProgressBar;
    loader.contentPath = "myMovie.swf";
    var pbListener:Object = new Object();
    pbListener.complete = function(evt_obj:Object) {
    trace("movie loaded");
    play();
    pBar.addEventListener("complete", pbListener);
    pBar.source = loader;
    pBar.mode = "polled";
    loader.load();
    It seems now that this play() does not reference to the swf movie (myMovie.swf) with the stop in the first frame since the movie does not start playing after its loaded. How do I reference the play action to the loaded movie?
    Thanks,
    Patrik

  • Keep image size unchanged when fullscreen the swf movie

    Hi,
    i am including a image on SWF file (using Flash CS4) i want images to keep its original dimension whether user fullscreen the SWF movie or play it on windows.
    currently i do not have any action script or coding on my .fla file. when i publish the movie and fullscreen it, the image i put in fla file get all stretched out and blur. Please help me to figure out how to keep the dimension unchanged.
    Thank you

    All you have to do is to set the scalemode of the stage to "noscale"
    In AS3 add the following code:
    import flash.display.StageDisplayState;
    stop();
    stage.displayState = StageDisplayState.FULL_SCREEN;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    There is a similar code for AS2, i think infact its the same this
    Stage.scaleMode = "noScale";
    Thanks
    Karthik
    P.s. if this post is helpful, please change the thread to answered.

  • Flash Player not showing SWF movie

    Hi Everyone-
    First off thank you for anyone that is willing to send advise my way.
    I am using Windows 7 - Indesign CS5
    I have created a SWF movie exported from Flash with playback component.
    I have imported that SWF into Indesign CS5 and created an interactive SWF with a SWF movie embedded.
    This SWF works beautifully on my machine and others that have access to the same server - however when I remove the file with Resources foldes to another machine/ location the SWF movie will not display. It DOES display the playback component (looping continuously)  but NO SWF movie.
    My guess is that I am missing a file in the Resources folder but I am clueless as to what additional file I could be missing.
    Thanks for your help!

    Thanks! I posted my issue there first......no one has an answer as of yet.

  • How to keep new cursor on top of swf movie

    I've got a website I made in Flash, and on the main page I'm doing two things: playing an external SWF movie file and changed the cursor to a custom shape. The cursor works, but it won't show up on top of the movie; it keeps going behind it when I try to go over it. How do I fix that?

    On my main page I have the simple code of:
    loadMovieNum("home.swf",1)
    stop();
    Mouse.hide();
    startDrag("cursor", true);
    "home.swf" is the movie that's playing that takes precedence to the cursor.

  • FLV video to appear in front of SWF movie

    Hi, I have a FLV video with a transparent background that plays in front on a HTML based website perfectly fine. But when place in front of a website that's a SWF movie in a HTML shell it comes up fine in Mac based browsers, but appears underneath the SWF file in PC based browsers. Does anyone know how I can get the FLV to appear in front of the SWF in alll browsers?

    Have you tried setting the wmode="transparent" in the html embedding code for the swf file.  That normally causes an swf to drop down to page level z-wise.  Normally Flash will otherwise sit above other content.

  • Robohelp 10 & scalable SWF movies

    Hello everyone!
    I've inserted *.swf movies into my topics, and pubished a browser based help. The issue I'm having is the videos stay their default size no matter how I resize the browser.
    I have edited the HTML to
    <object id="object1" data="Navigate A.swf" type="application/x-shockwave-flash"
                         style="border: none;" width="100%" height="100%">
    <param name="movie" value="Navigate A.swf"  />
    <param name="quality" value="high"  />
    </object>
    however when I do this the movies shrink to a super small size, and don't resize at all.
    Any ideas on how to get my movies to scale when a user resizes their browser?
    The main reason I need to do this is to accomodate for users' different screen resolutions.
    Thanks in advance!
    Jerry

    **UPDATE**
    I figured it out, the SWF publish settings wouldn't allow it. Nothing to do with RH10. Everything to do with Captivate 6...

  • ¿How i make a Browser Detect swf movie?

    Hi, i use a simple embed swf movie in one of many pages i own, but recently I build a new page in html5. But i tested in Internet Explorer and doesnt work well. What i need its a script code in AS3 to use in my swf movie that detect the browser and if the browser its IE9 load an old page, but if its other browser is like mozilla or chrome, load  the new page in html5.
    It is possible to do that in AS3 right?
    Thanks to all
    Firefawx 

    You can simply say "I want an animation to play before it decides which page to load" and we'd get it. So you want to show your logo animation.
    Use the tutorial link I gave you and look at the code. It is a full example of browser detection using both actionscript and javascript. ActionScript needs JavaScript to get the information on what browser it is. All of the information and code examples are there to show you how to detect the browser.
    Spanish translation:
    Usted puede simplemente decir "yo quiero una animación para jugar antes de que decida lo que se cargue la página" y que sería para nosotros. Así que usted quieremostrar su animación de la insignia.
    Utilice el enlace tutorial que te di y mirar el código. Se trata de un ejemplo completo dela detección del navegador utilizando tanto ActionScript y JavaScript. ActionScriptnecesita JavaScript para obtener la información del navegador que es. Todos los ejemplos de la información y el código están ahí para mostrar la forma de detectar el navegador.

  • Advanced Photo Album SWF Movies Playback

    Hello
    I linked an .swf movie into the Flash CS5 Advanced Photo Album template and have found that if I press the "next" button, the movie continues to play. You can't go back to it.
    Does anyone have a tip to stop a .swf movie when I proceed to the next one?

    Hello
    I linked an .swf movie into the Flash CS5 Advanced Photo Album template and have found that if I press the "next" button, the movie continues to play. You can't go back to it.
    Does anyone have a tip to stop a .swf movie when I proceed to the next one?

Maybe you are looking for