Loaded movie loses functionality

I have a movie called pageturn.swf and is loaded in this
order....................First my main timeline is loaded , which
is an animation.....at the end of the animation, my first movie is
loaded with "loadMovie("movie2.swf"); at the end of this movie my
third movie is loaded. ....In my third movie I have three
navigation points and on one point when a button is click it takes
the user to the the frame label and loads my page turn.swf
movie........so.......I've gone from
Main timeline
->movie1->movie2->movie3->pageturn.swf.
I have a btn that resides in pageturn.swf that takes the
navigation back to movie 3 or the "start" frame label. The
pageturn.swf works the first time BUT pageturn.swf doesnt work when
I try and open it again. It works the first time, then just doesnt
do anything, sometimes when I test export, sometimes it will work
but just not all the time like I would want it. I tried placing the
unloadmovie at the end of the page turn exit but it does not fix
the problem. below is what I have when it exits
this.unloadMovie();
_level0.lines.holder.holder2.gotoAndPlay("play");
Any ideas?

I think the problem is the use of attachSound in an
externally loaded movie.
attachSound (Sound.attachSound method)
public attachSound(id:String) : Void
Attaches the sound specified in the id parameter to the
specified Sound
object. The sound must be in the library of the current SWF
file and
specified for export in the Linkage Properties dialog box.
You must call
Sound.start() to start playing the sound.
To make sure that the sound can be controlled from any scene
in the SWF
file, place the sound on the main Timeline of the SWF file.
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"devilmuzik" <[email protected]> wrote in message
news:e83i28$7s4$[email protected]..
> Hi Jan-Paul...here it is...
> _______begin code_______
> on (press) {
> stopAllSounds();
> mySound = new Sound();
> mySound.attachSound("pl");
> mySound.setVolume(100);
> mySound.start();
> }
> _______end code_______
> I've tried declaring the sound var everywhere...the
loader clip's main
> timeline...I even tried declaring it as a
_global...still no joy...
> It is clear that this is something to do with how I'm
handling the Sound
> object, but still don't get why
myLoader.content._lockroot=true didnt
> work...
> Remember...the player works when called by itself...it
just fails to play
> in
> the loader...
> Your continues help is much appreciated...
>
>

Similar Messages

  • How to load movies from a xml file?

    I have a movie called "index.swf" and a class called "index.as"
    The problem is that loads the movies in the same position.
    index.as:
    package
        import flash.utils.getDefinitionByName;
        import flash.display.Loader;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.ProgressEvent;
        import flash.display.MovieClip;
        public class index extends Sprite
            private var _xml:XML;
            private var swf_id:String
            private var swf_m:String
            private var swf_x:Number
            private var swf_y:Number
            private var swf_width:Number
            private var swf_height:Number
    function startLoad()
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest(swf_m);
    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
    mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
    mLoader.name=swf_id
    mLoader.load(mRequest);
    function onCompleteHandler(loadEvent:Event)
    loadEvent.currentTarget.content.width=swf_width
    loadEvent.currentTarget.content.height=swf_height
    addChild(loadEvent.currentTarget.content);
    function onProgressHandler(mProgress:ProgressEvent)
    var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
    trace(percent);
            public function index()
                loadXMLFile();
            private function loadXMLFile():void
                var loader= new URLLoader(new URLRequest("/configuracion.xml"));
                loader.addEventListener(Event.COMPLETE, loadedCompleteHandler);
            private function loadedCompleteHandler(e:Event):void
                e.target.removeEventListener(Event.COMPLETE, loadedCompleteHandler);
                _xml = XML(e.target.data);
                for each (var conf:XML in _xml.secciones.seccion) {
                   swf_id = conf.id
                    swf_m = conf.nombre;
                    swf_x = conf.pos_x
                    swf_y = conf.pos_y
                    swf_width = conf.width
                    swf_height = conf.height
                    startLoad();
    Xml File: "configuracion.xml"
    <?xml version="1.0" encoding="utf-8"?>
    <config>
      <secciones>
        <seccion>
          <id>1</id>
          <nombre>pelicula1.swf</nombre>
          <pos_x>20</pos_x>
          <pos_y>10</pos_y>
          <width>200</width>
          <height>200</height>
        </seccion>
        <seccion>
          <id>2</id>
          <nombre>pelicula2.swf</nombre>
          <pos_x>80</pos_x>
          <pos_y>10</pos_y>
          <width>200</width>
          <height>200</height>
        </seccion>
      </secciones>
    </config>
    thanks for your help...

    thanks rziller
    I already tried this,
    x,y values work...
    height and width values do not work.....
    thanks but I fix the problem....
    here this...
    package
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.net.URLLoader;
        import flash.net.URLRequest;
        import flash.display.Loader;
       public class index extends Sprite
            private var _xml:XML;
            private var i:Number=0;
            private var Swf_List:Array = new Array();
            private var mLoader:Loader;
                function startLoad()
                     mLoader = new Loader();
                     var mRequest:URLRequest = new URLRequest(Swf_List[i][1]);
                     mLoader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
                     mLoader.load(mRequest);   
                     mLoader.name=Swf_List[i][0]
                     addChild(mLoader);
                function initHandler(event:Event):void {
                    var ii:Number = event.target.loader.name-1
                    event.target.loader.x=Swf_List[ii][2]
                    event.target.loader.y=Swf_List[ii][3]
                    event.target.loader.width=Swf_List[ii][4];       
                    event.target.loader.height=Swf_List[ii][5];
                    trace(event.target.loader.name)
                public function index()
                loadXMLFile();
                private function loadXMLFile():void
                    var loader= new URLLoader(new URLRequest("config.xml"));
                    loader.addEventListener(Event.COMPLETE, loadedCompleteHandler);
                private function loadedCompleteHandler(e:Event):void
                    e.target.removeEventListener(Event.COMPLETE, loadedCompleteHandler);
                    _xml = XML(e.target.data);
                    _xml.ignoreWhitespace=true;
                        for each (var conf:XML in _xml.secciones.seccion)
                            Swf_List[i] = [conf.id,conf.nombre,conf.pos_x,conf.pos_y,conf.width,conf.height];
                            startLoad()
                            i++;
    maybe not the best way....
    but it works!!!.........

  • Hotspots in a loaded movie not referencing correctly

    My main movie uses an onResize function to reposition movie
    clips relative to stage H & W, a movie loaded into level 1
    contains the hotspots that aren't registering properly.
    CODE IN MAIN MOVIE:
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    ///////////REPOSITION ELEMENTS WHEN STAGE IS
    RESIZED////////////
    this.onResize();
    function onResize() {
    newPosition();
    Stage.addListener(this);
    function newPosition() {
    stageH = Stage.height;
    stageW = Stage.width;
    bkgrnd_mc._width = stageW;
    bkgrnd_mc._height = stageH;
    main_mc._x = (stageW- main_mc._width)/2;
    main_mc._y = (stageH- main_mc._height)/2;
    //loaded movie- all hotspots are inside this MC:
    _level1.temp_mc._x = (stageW-_level1.temp_mc._width)/2;
    _level1.temp_mc._y = ((stageH-_level1.temp_mc._height)/2);
    on loading a movie into level 1 – I can see that the
    hotspots contained within it are visually repositioned when browser
    resized (hotspots all inside ‘_level1.temp_mc’) but the
    x & y coordinates referenced during hitTest remain those of the
    original loaded movie – ignoring the fact it looks as though
    it has been physically repositioned!
    Hit test code placed inside the loaded movie (in
    ‘temp_mc’) uses shapeflag method to test hits, eg:
    //display readings:
    _level1.temp_mc.reader_mc.onPress = function() {
    this.startDrag();
    _level1.temp_mc.reader_mc.onRelease = function() {
    this.stopDrag();
    if
    (_level1.temp_mc.hotspot1_mc.hitTest(_level1.temp_mc.reader_mc._x,
    _level1.temp_mc.reader_mc._y, true) {
    _level1.temp_mc.temp_txt.text = " hotspot1";
    else {
    _level1.temp_mc.temp_txt.text = "Nothing detected";
    Resize function also called in first frame pf loaded movie:
    _level0.onResize();
    Any help gratefully received, thanks in advance.

    I think I have the concept, but I can't figure out how
    exactly to reference this variable.
    basically, the variable is '_root.newsMov.myData.newsVar'
    which works fine when i load the movie in firefox by itself.
    The problem comes when I load the movie via the index movie.
    If the new movie with the loadvars is loaded into level 9,
    how do I reference it?
    _level9.newsMov.myData.newsVar doesn't seem to work... any
    other ideas?
    Thanks to all who have helped so far

  • Change loaded movie from child

    Hi,
    I am new to AS3. Here I want to ask how to change the loaded movie from child?
    Here is my working code, but it doesn't works...
    Root:
    var contentMovie:MovieClip = new mcMain;
    contentMovie.name="content_mc";
    addChild(contentMovie);
    Child Content:
    changecontent_btn.addEventListener(MouseEvent.CLICK,LoadContent);
    function LoadContent(event:MouseEvent):void
       parent.contentMovie = mcNew;
    When I try to run, Flash shows the error "1119: Access of possibly undefined property contentMovie through a reference with static type flash.display:DisplayObjectContainer."

    use:
    var contentMovie:MovieClip = new mcMain();
    contentMovie.name="content_mc";
    addChild(contentMovie);
    Child Content:
    changecontent_btn.addEventListener(MouseEvent.CLICK,LoadContent);
    function LoadContent(event:MouseEvent):void
    // the next line doesn't make any sense but if it did, this is how it should be written
      MovieClip(parent).contentMovie = mcNew;

  • Controlling parent movie from a loaded movie

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3264494197_595630
    Content-type: text/plain;
    charset="US-ASCII"
    Content-transfer-encoding: 7bit
    Hi!
    I have a swf file which I call "Stage" and it contains 3
    scenes.
    In scene 1 of Stage, I have another swf- "Info1." loaded on
    level 10. I know
    how to get Info1 to unload and load Info2 but what I am
    trying to accomplish
    is when I click on Info1, it loads Info2 and it also go to
    Scene 2 of Stage.
    Is there anyway I can do this?
    I appreciate any input.
    Thank you.
    K.
    --B_3264494197_595630
    Content-type: text/html;
    charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Controlling parent movie from a loaded
    movie</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    I have a swf file which I call &quot;Stage&quot; and
    it contains 3 scenes. =
    <BR>
    <BR>
    In scene 1 of Stage, I have another swf-
    &quot;Info1.&quot; loaded on level=
    10. I know how to get Info1 to unload and load Info2 but
    what I am trying t=
    o accomplish is when I click on Info1, it loads Info2 and it
    also go to Scen=
    e 2 of Stage. Is there anyway I can do this? <BR>
    <BR>
    I appreciate any input. <BR>
    <BR>
    Thank you.<BR>
    <BR>
    K. </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3264494197_595630--

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • Load Movie and change size

    i'm pretty green and like some help.
    I want to load a movie clip and change the dimensions of the
    clip at the same time- because my main movie is 765X750 and the new
    clip is smaller. I want the smaller movie to play at it's native x
    and y size in the projector. I can't work out the script to do it.
    This is what I have but doesn't change the dimensions when it
    loads.
    on (release) {
    setProperty("_self", _height, "400");
    setProperty("_self", _width, "600");
    loadMovieNum("intro.swf", 0);
    Thank you.

    The problem is when you load a SWF, the movieclip you're
    loading into inherits the properties of the SWF being loaded into
    it. As loadMovie happens after everything else has processed,
    resizing the movieclip has no effect as it simply gets reverted to
    the dimensions of the SWF loading in. What you need to do is run
    the sizing code after the loadMovie has started and the movie has
    begun to load.
    I usually use a loader function that calls another function
    when it's finished loading. The function can contain _x = ?? &
    _y = ??. I also hide the loading movie or alpha it to zero and then
    show it or fade it in when it's finished loading.

  • Having a loaded movie clip talk to another movie clip

    Here's what I want to do:
    Load a clip into my main movie - "loadedMovie"
    at the end of the timeline in "loadedMovie" i want a
    function, perhaps setColor, which will change the colour of another
    movie clip which sits in the main movie.
    Does this make sense? for a loaded movie clip to change the
    color of an instance of another movie?
    Many thanks,
    Ray

    ponch wrote:
    > Here's what I want to do:
    >
    > Load a clip into my main movie - "loadedMovie"
    >
    > at the end of the timeline in "loadedMovie" i want a
    function, perhaps
    > setColor, which will change the colour of another movie
    clip which sits in the
    > main movie.
    >
    > Does this make sense? for a loaded movie clip to change
    the color of an
    > instance of another movie?
    Sure make sense.
    If the clip you like to target is on main timeline of the
    movie than
    you will use something like :
    on (release) {
    var my_color:Color = new Color(_root.SomeMC);
    my_color.setRGB(0xFF00FF);
    You can also refer to it by level:
    (_level123.SomeMC);
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Drawing order of curve behind loaded movie

    Hi,
    I'm having an issue with the draw order of curve that's drawn
    using Actionscript. In terms of the order of execution of the
    function call, I have a SWF loaded first using the loadMovie
    function. Then I call the curveTo function with certain parameters
    to try to draw a curve on top of the loaded movie. However, the
    strange behavior is that the line is hidden behind the movie clip.
    I've used swapDepths, but it wasn't working for me. Also tried
    using the createEmptyMovieClip function with a depth number
    assigned, but didn't do the trick. Any suggestion?

    1.  there's no reason for an onEnterFrame loop.
    2. there's no reason to use any setInterval() functions in the code you showed.
    3. you should be using the same function to load your swfs.  if some logic is needed to position, for example, the different swfs in different locations, the logic should be in that function.
    ie, you should be using something like:
    _level0 swf:
    function nextMov(){
    loadF(MovieList[movieQNum]);
    movieQNum=(movieQNum+1)%MovieList.length;
    function loadF(swf:String){
    dep = getNextHighestDepth();
    currLo.removeMovieClip();
    currLo = createEmptyMovieClip("currLo"+dep, dep);
    loadMovie(moviename, currLo);
    //move the loaded movie behind movie frame
    BlackMovieFrame.swapDepths(currLo);
    function endSession(mc:MovieClip){
    mc.removeMovieClip();
    nextMove();
    // in the loaded swfs:
    var tl:MovieClip=this;
    btnArrow.onPress = function() {
    _root.endSession(tl);

  • Fl: hacer load movie entre dos layers...

    Éste es un mensaje de varias partes en formato MIME.
    ------=_NextPart_000_0042_01C8F1D8.FA4D9EC0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    hola muchachos,
    Necesito cargar un swf con load movie pero tengo que
    colocarla en un =
    level que est=E9 arriba del fondo pero abajo del layer 2...
    =BFtienen alguna idea sencilla para hacerlo?
    Gracias de antemano!
    Ale Photohsop
    ------=_NextPart_000_0042_01C8F1D8.FA4D9EC0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type =
    content=3Dtext/html;charset=3Diso-8859-1>
    <META content=3D"MSHTML 6.00.6000.16674"
    name=3DGENERATOR></HEAD>
    <BODY id=3DMailContainerBody=20
    style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px;
    PADDING-TOP: 15px"=20
    bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0
    CanvasTabStop=3D"true"=20
    name=3D"Compose message area">
    <DIV><FONT face=3DArial size=3D2>hola
    muchachos,</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2>Necesito   cargar un swf con =
    load movie=20
    pero tengo que colocarla en un level que est=E9 arriba del
    fondo pero =
    abajo del=20
    layer 2...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>=BFtienen alguna
    idea sencilla para=20
    hacerlo?</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Gracias de
    antemano!</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Ale
    Photohsop</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV> </DIV></BODY></HTML>
    ------=_NextPart_000_0042_01C8F1D8.FA4D9EC0--

    Éste es un mensaje de varias partes en formato MIME.
    ------=_NextPart_000_000C_01C8F35D.3FDFF890
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    gracias Alvaro por tu respuesta,
    =BFcuando hablas de contenedor te refieres a un MC? Tal vez
    sea una =
    pavada que pregunte esto, pero el flash no es mi fuerte...
    prob=E9 con esta alternativa:
    loadMovie("loquesea.swf", "instacia_mc_reemplazable");
    y me funcion=F3, pero por alg=FAn motivo los preloads no
    cargan bien =
    cuando los llamo con el load movie... pero si los veo de
    forma directa =
    funcionan bien. Que cosa rara...
    Saludos,
    Ale Photoshop
    "=C1lvaro Vidal" <[email protected]> escribi=F3 en
    el mensaje de =
    noticias:[email protected]...
    Puedes crear un contenedor d=F3nde quieras cargar el
    contenido y =
    cargarlo mediante un simple:
    contenedor.loadMovie("loquesea.swf");
    Recuerda que no hace falta incorporar un contenedor de
    manera =
    program=E1tica lo puedes hacer en el dise=F1o directamente
    siempre que =
    incorpores al conetenedor un nombre de instancia.
    Saludos, =C1lvaro.
    ": : Ale Photoshop : :" <[email protected]> escribi=F3 en
    el mensaje =
    news:[email protected]...
    hola muchachos,
    Necesito cargar un swf con load movie pero tengo que
    colocarla en =
    un level que est=E9 arriba del fondo pero abajo del layer
    2...
    =BFtienen alguna idea sencilla para hacerlo?
    Gracias de antemano!
    Ale Photohsop
    ------=_NextPart_000_000C_01C8F35D.3FDFF890
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type =
    content=3Dtext/html;charset=3Diso-8859-1>
    <META content=3D"MSHTML 6.00.6000.16674"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY id=3DMailContainerBody=20
    style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px;
    PADDING-TOP: 15px"=20
    bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0
    CanvasTabStop=3D"true"=20
    name=3D"Compose message area">
    <DIV><FONT face=3DArial size=3D2>gracias Alvaro
    por tu =
    respuesta,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>=BFcuando hablas
    de contenedor te =
    refieres a un MC?=20
    Tal vez sea una pavada que pregunte esto, pero el flash no es
    mi=20
    fuerte...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>prob=E9 con esta
    =
    alternativa:</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2>loadMovie("loquesea.swf",=20
    "instacia_mc_reemplazable");</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>y me funcion=F3,
    pero por alg=FAn =
    motivo los preloads=20
    no cargan bien cuando los llamo con el load movie... pero si
    los veo de =
    forma=20
    directa funcionan bien. Que cosa
    rara...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2>Saludos,</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Ale
    Photoshop</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"=C1lvaro Vidal" &lt;<A=20
    title=3D"mailto:[email protected]&#10;CTRL + clic
    para seguir el =
    v=EDnculo"=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    escribi=F3 en=20
    el mensaje de
    noticias:[email protected]...</DIV>
    <DIV><FONT face=3DArial size=3D2>Puedes crear un
    contenedor d=F3nde =
    quieras cargar=20
    el contenido y cargarlo mediante un
    simple:</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial=20
    size=3D2>contenedor.loadMovie("loquesea.swf");</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Recuerda que no
    hace falta incorporar =
    un=20
    contenedor de manera program=E1tica lo puedes hacer en el
    dise=F1o =
    directamente=20
    siempre que incorpores al conetenedor un nombre de =
    instancia.</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Saludos,
    =C1lvaro.</FONT></DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>": : Ale Photoshop : :" &lt;<A=20
    title=3D"mailto:[email protected]&#10;CTRL + clic para
    seguir el =
    v=EDnculo"=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    escribi=F3 en =
    el mensaje=20
    <A=20
    =
    href=3D"news:[email protected]">news:g6om7b$gl7$1@forums=
    .macromedia.com</A>...</DIV>
    <DIV><FONT face=3DArial size=3D2>hola
    muchachos,</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2>Necesito   cargar un swf =
    con load=20
    movie pero tengo que colocarla en un level que est=E9 arriba
    del =
    fondo pero=20
    abajo del layer 2...</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>=BFtienen
    alguna idea sencilla para =
    hacerlo?</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Gracias de
    antemano!</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Ale
    Photohsop</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_000C_01C8F35D.3FDFF890--

  • LOAD MOVIE

    Tengo una botonera que en cada boton le doy la accion de ir a
    una determinado frame de la linea de tiempo, y en ese frame
    indicado hay un
    stop();
    loadMovieNum("agrupaciones.swf", 5);
    lo que me sucede es que al estar cargando la pelicula
    exterior, presiono en otro boton, sin haber terminado de cargar la
    animacion, se empieza a volver loca la pelicula y se empieza a
    reporducir sin fin de veces, osea se carga y se vuelve a cargar sin
    poder verla bien, asi me pasa en con todos los botones que tengan
    esa accion de load movie.
    Como hago para poder solucionarlo.
    http://www.wdsign.com.ar/chirigotas/index6.htm
    aqui pueden observar el problema (recuerden que para ver el
    problema tienen que hacerlo antes que cargue el movie.. gracias.
    [email protected]

    This is a multi-part message in MIME format.
    ------=_NextPart_000_009C_01C6D69A.D9E79BA0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Hola Niko...
    Tienes alg=FAn otro c=F3digo en alg=FAn fotograma?=20
    Con los pocos datos que das poco creo que se pueda hacer
    desde aqu=ED... =
    Puede ser que el stop est=E9 colocado donde no debe. Puede
    ser que la =
    estructura de la pel=EDcula est=E9 mal montada... Pueden ser
    miles de =
    cosas. sin ver el archivo .FLA, creo que pocos te podremos
    ayudar...
    Has probado creando un moviei clip vac=EDo =BF? "
    createEmptyMovieClip " =
    y cargando en el mismo todas las pel=EDculas (mediante
    niveles) de =
    manera que al cargar la pel=EDcula del un determinado bot=F3n
    oculte la =
    pel=EDcula que se est=E1 ejecunatdo en ese momento...
    ya te digo... son pocos los datos que aportas para el lio que
    tienes =
    montado
    Saludos...
    ------=_NextPart_000_009C_01C6D69A.D9E79BA0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2800.1561"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DVerdana size=3D2>Hola
    Niko...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Tienes alg=FAn
    otro c=F3digo en =
    alg=FAn fotograma?=20
    </FONT></DIV>
    <DIV><FONT face=3DVerdana size=3D2>Con los pocos
    datos que das poco creo =
    que se=20
    pueda hacer desde aqu=ED... Puede ser que el stop est=E9
    colocado donde =
    no debe.=20
    Puede ser que la estructura de la pel=EDcula est=E9 mal
    montada... =
    Pueden ser miles=20
    de cosas. sin ver el archivo .FLA, creo que pocos te
    podremos=20
    ayudar...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>Has probado
    creando un moviei clip =
    vac=EDo =BF? "=20
    createEmptyMovieClip " y cargando en el mismo todas las
    pel=EDculas =
    (mediante=20
    niveles) de manera que al cargar la pel=EDcula del un
    determinado =
    bot=F3n oculte la=20
    pel=EDcula que se est=E1 ejecunatdo en ese
    momento...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>ya te digo...
    son pocos los datos que =
    aportas=20
    para el lio que tienes montado</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>Saludos...</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV></BODY></HTML>
    ------=_NextPart_000_009C_01C6D69A.D9E79BA0--

  • Control loaded movie with actionscript

    Is it possible to get a button in my main movie to effect a
    loaded movie. I need to make one element inside a loaded swf become
    transparent. What would the code for that look like?

    lets say you loaded your SWF into holder_mc and the the
    element is inside another movie clip in the SWF named your_mc and
    the actual element is name element_mc
    yourbtn.onRelease = function(){
    holder_mc.your_mc.element_mc._alpha = 0;
    }

  • Loaded movie communicating back to the loader

    Hi,
    We have got a swf which loads another swf. everything works
    fine, we can change things in the loaded movie through the loader.
    But now we need the buttons in the loaded movie calling a method or
    trigging an event in the loader. We have been doing that by using
    LocalConnection, but now we need another approach.
    How to do that?
    Cheers

    Hi Kglad,
    Thanks for helping,
    you are right, we have been using LocalConnection because we
    had two separeted SWF.
    But now we have got another project where we will have one
    SWF loaded into it by loadMovie();
    As we are new to Flash and ActionScript, what we really would
    like to know is how could we call a method in a movie clip located
    in the loader SWF, say mc_loader. We have created a new class
    (extended from MovieClip) and inserted a new method on it called
    dispatch(pValue:String).
    then, from the loaded SWF we have tried, as you said,
    _level0.mc_loader.dispatch("Test");
    and also:
    _level0.dispatch("Test"), but the method/function is not
    being called.
    Thanks very much

  • Passing variable to a loaded movie

    Let's say, a movie
    loads an external MovieClip,
    using a MovieClipLoader, and locks
    the root, with code as the
    following:
    //I'd like to pass this variable
    var myVar = "Passed it to Shell";
    this.createEmptyMovieClip("Shell",
    this.getNextHighestDepth());
    var lo:Object = new Object();
    lo.onLoadInit = function(target_mc){
    target_mc._lockroot = true;
    var mcl:MovieClipLoader = new MovieClipLoader();
    mcl.addListener(lo);
    mcl.loadClip("ExternalMovie.swf", Shell);
    //end.
    Now, once Shell is loaded, how
    do I access myVar?
    I tried _parent.myVar, which
    doesn't work. (Since Shell has
    the _root locked.)
    I changed the onLoadInit to
    lo.onLoadInit = function(target_mc){
    target_mc.myVar = myVar;
    target_mc._lockroot = true;
    and then tried to access inside
    Shell by this.myVar, which still
    doesn't work.
    I'd appreciate any suggestions.

    myVar is defined in the
    loading movie. (On the
    first line lf the listed
    code). Actually, it
    is passed to the movie,
    which in turn loads
    external contents to a
    MovieClip named Shell.
    So how could myVar be
    accessed inside Shell?

  • Problems with loop on progressive loaded Movie

    Hey I got help for a a week ago to do a loop on progressive loaded movies, but nov I got a problem it only loops on keyframe one and not on keyframe 2. Do anyone know how I can sort that out..?
    I have the following on keyframe 1, where everything is perfect:
    var timedelay:Number = 3; 
    var video;
    var nc:NetConnection;
    var ns:NetStream;
    nc = new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.client = this;
    ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusf);
    function netStatusf(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF,timedelay*1000);
    function replayF(){
    ns.play("film/film1.f4v");
    var durationNum:Number;
    function onMetaData(iObj:Object):void {
        durationNum = iObj.duration;
    video = new Video(287,263);
    video.x = 204.1;
    video.y = 140.5;
    addChild(video);
    video.attachNetStream(ns);
    ns.play("film/film1.f4v");
    and on keyframe 2 I got this, here it chooses a randome movie from the Array, when it'a chosen it dosen't loop:
    var moviesA2:Array =["film/film1.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v"];
    var movie2:String = moviesA2[Math.floor(Math.random()*moviesA2.length)];
    var timedelay2:Number = 6; 
    var video2;
    var nc2:NetConnection;
    var ns2:NetStream;
    nc2 = new NetConnection();
    nc2.connect(null);
    ns2 = new NetStream(nc2);
    ns2.client = this;
    ns2.addEventListener(NetStatusEvent.NET_STATUS,netStatusf2);
    function netStatusf2(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF2,timedelay*1000);
    function replayF2(){
    ns2.play(movie2);
    video2 = new Video(287,263);
    video2.x = 204.1;
    video2.y = 140.5;
    addChild(video2);
    video2.attachNetStream(ns2);
    ns2.play(movie2);

    i assume you've applied ns.close() when going to frame 2 so that stream stops looping.  then use:
    function netStatusf2(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns2.time)<.1) {
    setTimeout(replayF2,timedelay*1000);

  • Loading movie num

    Hi
    I am having problems getting a seperate swf to load into my
    main swf.
    I am using the load movie num technique as follows
    on (release) {
    loadMovieNum("map.swf", 51);
    I have this inserted this action into the frame that my
    button is on but it is not working.
    I have also treid to insert the code on my button but it
    would not let me.
    please help
    thanks !

    Hi
    I have applied this code in my frame
    map.onRelease = function() {
    loadMovieNum("map.swf", 51);
    (map - is my instance name)
    Because I cannot add the on(release) command to my button
    I believe it is not working.
    this is what the action panel tells me
    "current selection cannot have actions applied to it"
    its agravating I used the same method in flash 8 and it
    worked.
    any suggestions?

Maybe you are looking for