LoadMovie problems

Hi All,
I am loading an external swf file called photogallery.swf. I
am using the following actionscript to load the swf:
loadMovie("
http://4qmd.com/elliottinthepark/photogallery.swf",
photogallery_mc);
This works great. Photogallery_mc is the instance fo the
symbol I am using for the 'container' for the swf. The swf loads
just fine but what happens is when I click on any of the main
buttons on the mainpage it causes the site to go to the first frame
in mainpage. It's like a looping effect for the entire project.
For the life of me I cannot figure out why it does this. This
effect I'm seeing only happens when I use above actionscript.
Any ideas on why this is happening????
Many Thanks,
Scott

Try:
photogallery_mc.loadMovie("
http://4qmd.com/elliottinthepark/photogallery.swf",
999);
Or any number you want for the second parameter...

Similar Messages

  • Loadmovie, problem with  (_droptarget ==)

    Hi all
    I have problem with loadmovie that drive me crazy!. I made a
    drag and drop quiz (attached) that works perfectly but when I load
    it in another movie it doesn’t work anymore!
    The code that doesn’t work is:
    if (getProperty("/face1", _droptarget) == "/box3")…
    when the drag touch the target it should stay there.
    I attached the fla. If you have an idea it would be a great
    help!
    Thanks
    Herny

    Yep you can resize a movieclip dimensions on a percentage
    scale by using _xscale & _yscale which is applied from the
    registration point of the movieclip. For example, I reduce the
    scale of the movieclip below by 50% both horizontally and
    vertically...

  • LoadMovie Problem

    Hello,
    I have a flash movie and on the main timeline of the movie is a movie clip on the stage called 'header_bar'.  Within header_bar is my web site navigation.
    Also on the main time line is a movie clip called 'fluid', and within this a movie clips called 'content_loader_mc'.
    I'm using 'content_loader_mc' to load in the pages of my web site movie - and when the site loads initially, I have the following code on framw 1 of 'fluid' loading the home page content into 'content_loader_mc':
    stop();
    this.content_loader_mc.loadMovie("home.swf");
    This works fine and the home.swf file loads into 'content_loader_mc' perfectly.
    I'm now trying to set up my navigation buttons, so that when a particular button is clicked it will load a different external .swf file into 'content_loader_mc'.  I'm doing this by putting the following code on on frame 1 of my 'header_mc' movie clip (the movie clip containing my navigation buttons):
    stop();
    this.who_btn_mc.onRelease=function(){
    _parent.fluid.content_loader_mc.loadMovie("who.swf");
    This works fine initially and the who.swf loads in perfectly, however after about 6 or 7 seconds, the entire movie jumps back to frame 1 or the root time line and begins to loop from frame 1 to frame 17 (basically around my movies pre-loader).
    I'm totally confused :S  Can anyone help?
    Many thanks.

    I've got to the bottom of the problem - or at least whats causing it.
    The home.swf file that is sloading into 'content_loader_mc'  contains another swf thats loaded in..  this swf contains the following code:
    this.stop();
    pause = function () {
            play();
            clearInterval(pausei);
    pausei = setInterval(pause, 10000);
    It seems that when this code plays, its sending my main flash movie for a wlak along the _root time line.
    I've removed this code and the problem goes away.  The code is intended to cause a time delay.
    So, I know whats causing the issue - now I just dont know why! ?

  • Simple loadMovie problem

    Hi guys. I have a swf with the script below on one of the
    buttons:
    on (release) {
    unloadMovie("Empty_mc");
    loadMovie("MathGames.swf", "Empty_mc");
    The problem is, after "MathGames.swf" loads into "Empty_mc",
    the rotate script - which is on a button in "MathGames" - will not
    work. The script works fine when published independently (before
    being loaded into “Empty_mc”). Any ideas?

    there's no need to use unloadMovie() just prior to using a
    loadMovie() function on the same target. but that's not the
    problem.
    you probably have a reference to _root in MathGames.swf
    that's causing the problem. a quick fix is to use:
    this._lockroot=true; // on the main timeline of
    MathGames.swf

  • Flash (LoadMovie) problem-

    Hey guys I was wondering if you could help me? I’ve
    spent bloody ages getting my flash site to look the way I want it
    and have now come to find that the one swf file takes ages to
    download….so I split up the site into separate swiffs and
    coded my buttons to on (release) {loadMovieNum ("home.swf", 0);} to
    call on different swiffs and swap them. But it now is running even
    slower?
    I’m not sure what is going on and need some help
    desperately… I’m a total novice to this
    action-scripting thing and really need a simple solution (with cut
    and past code please).
    Id be eternally grateful to anyone who can help
    Ho yes some feedback on the site would be very welcome too
    (apart from its running a bit slow that is!)
    I’d also welcome anybody pointing me in the direction
    of a good tutorial about this subject so I don’t have to
    bother any of you much (o:
    Yours hopefully
    Jason
    www.jasontheaker.webs.com

    Hi C_Reed,
    Thanks for this the solution worked for me. The only
    interaction that doesn't work is the drag and drop interaction. Any
    tips on how to get this intereaction working?
    Cheers

  • LoadMovie- loading an external swf into movieclip in AS3

    Im extremely frustrated.........im trying to do something
    that was once very simple, which has now become over complicated
    unecessecarily.....i want to do a simple loadMovie type action and
    load an external clip into a movieclip called ph. my AS2 code would
    be:
    loadMovie("ExternalMovieClip.swf","ph");
    or
    on(release) {
    loadMovie("ExternalMovieClip.swf","ph");
    This no longer works. Can somebody tell me the new code that
    i would use with AS3 to do exactly what i just demonstrated? I
    honestly dont even want to touch AS3. The only reason i want to use
    it is because it makes skinning the components SOOOOOO much easier
    than AS2. That is the one and only reason im trying to convert to
    AS3. All the new load movie AS3 examples ive seen on google look
    like half a page long to do what i used to do in 2 lines. There
    must be a simpler and much easier way. I am a designer. It looks to
    me like Adobe went back to making flash for programmers only again
    leaving us designers out of the mix. Someone please help me, im
    desperate. I also have other old code that im sure im going to have
    to convert to AS3 for it to still work, and i may eventually need
    help with that as well, but ill stick with this loadMovie problem
    for now. Any and all help is appreciated. Thanks

    have a look here:
    http://www.smithmediafusion.com/blog/?p=381
    use this:
    var i =new Loader();
    i.load(new URLRequest(”yourSwf.swf”));
    myMC.addChild(i)
    myMC is the name of your clip on the stage.
    Dan Smith > adobe community expert
    Flash Helps >
    http://www.smithmediafusion.com/blog/?cat=11
    http://www.dsmith.tv

  • A problem about loadMovie

    The problem pic's address:
    http://s2.album.sina.com.cn/pic/55aee59a02001291
    (please ctrl+c the URL )
    In the pic,the B.swf has a label,the label's position is
    random。
    Then,the A.swf has a MovieClip named Mc1,and Mc1
    loadMovie B.swf.
    We can see,the Label in the A.swf has a wrong
    position,it's not at the center of the Mc1.
    The question:If we do not know the Label's position in the
    B,how can I put it in the center of Mc1 in the A.swf?
    Thank you for the answer,and I am a new
    Flasher,my Flash is poor just like my English ^_^。
    Best wish.

    your broken english and incorrect terminology has made it
    difficult to understand.. but i think this is what you need.. to
    get something to load in the center you would set its _x and _y
    positions equal to the _width/2 and _height/2
    child_mc._x = parent_mc._width/2;
    child_mc._y = parent_mc._height/2;

  • Problem with loadMovie function

    Please if somebody could help me,
    I have the main movie where i would like to load external swf
    ( scrolable menu ) at specific coordinate.
    I have created the empty movie clip on main stage (container)
    and positioned it where I want my menu to apear.
    Then I create the actionscript layer and wrote:
    container.loadMovie("meni.swf")
    It loaded the meni.swf and positioned it right, but scrolling
    function of loaded menu won't work.
    If I load it directly to main stage with function
    loadMovie("meni.swf", 1) everything works but it is positioned at
    upper left corner of the stage and I don't know how to move it
    where I want it.
    I'm beginner at action script and flash so I would appreciate
    if somebody could help me.
    Thank you for your time.
    Sasa

    Thank you very much, this solved the problem I posted at
    beginning but now another issue ocurred.
    Meni.swf has vertical scrolling function ( when you go with
    the mouse up and down towards the edges of meni it scrolls, in
    middle stands still).
    Now, when loaded into the main movie it took _x and _y
    scrolling coordinates from main movie. Now when I scroll anywhere
    up and down in a main movie ( which is much bigger than meni.swf)
    meni scrolls. I would like it to scroll only when I come with my
    mouse inside meni.swf area.
    I hope my explanation is clear.
    If you could help me I would appreciate. Thanks one more time
    for previous solution because it saved me days of research. ( it is
    so funny how easy it is for people who know:)
    Sasa

  • Problem with loadMovie with IE over https connection

    Hi,
    Using Flash 8, Apache 2.2. I have my Apache server set to
    require a client certificate. If I call loadMovie() and attempt to
    retrieve an image that's stored on my server, IE will not display
    the image. However, Firefox will display the image with no problem.
    I've narrowed the problem down to the client certificate
    requirement - if I don't require a client certificate, IE will
    display the image, but as soon as I require a client certificate,
    the image will no longer display. And as I stated earlier, the
    image will successfully appear in Firefox with or without the
    requirement to have a valid client certificate.
    Any ideas?
    Thanks,
    Stan McFarland

    Is the content being loaded from the same domain as the
    application? I know we had a problem when the Flex App was trying
    to call a different server that enforces Client Authentication from
    one that doesn't. FF recognizes that and pops up the "select a
    cert" dialog, but IE doesn't -- you just get the "Stream Error" or
    whatever. Make sure you're authenticated first, then try loading
    the asset...
    - Kevin

  • LoadMovie XML problem

    I Have a photo gallery that uses XML to get its thumbnails
    and Images. It works perfectly on its own. But what i want to do is
    embed it in another .SWF When I do this:
    quote:
    loadMovie("photos_04.swf", _root.holder);
    the SWF photos_04.swf loads, but not with 100% functionality.
    for example my buttons don't work but the first image loads.
    Example1(standalone):
    http://www.zvision.net/pg/photos_04.swf
    Example2(embeded):
    http://www.zvision.net/pg/container_04.swf
    Please notice how the
    icon buttons on the button do not link in the
    container_04.swf, yet they do in the photo_04.swf

    Here is the code for the loaded swf;
    The _lockroot is applied to the loader movie clip
    I think the problem may lay in the 9th line.
    XMLData = new XML();
    XMLData.load("cal.xml");
    XMLData.onload = viewApp;
    function viewApp () {
    mainTag = new XML();
    arrCal = new Array();
    arrDate = new Array();
    arrMsg = new Array();
    mainTag = this.firstChild.nextSibling;
    if (mainTag.nodeName.toLowerCase() == "diary") {
    arrCal = mainTag.childNodes;
    for (i=0; i<=arrCal.length; i++) {
    if (arrCal
    .nodeName == "cal") {
    if ((arrCal.attributes.yearID == myNewYear) and (arrCal
    .attributes.monthID == myNewMonth)) {
    arrDate = arrCal.childNodes;
    for (j=0; j<=arrDate.length; j++) {
    if (arrDate[j].nodeName == "date") {
    diaryDate = arrDate[j].attributes.id;
    myDiary = _root["Numbers" + diaryDate];
    myDiary.gotoAndStop (3);
    arrMsg = arrDate[j].childNodes;
    for (k=0; k<=arrMsg.length; k++) {
    if (arrMsg[k].nodeName == "msg") {

  • LoadMovie Button Problem

    I am trying to load an swf file that contains a button or
    just a movieclip that contain a button. When I put a movieclip on
    the stage I can't find a way for the buttons in the movieclip to
    work. I am working in actionscript 2. Any help will be greatly
    appreciated.
    Thank

    I solved the problem. It had to do with the _root
    btn_test.onRelease = function(): Void {
    loadMovie("circle.swf","_root.projects_all_mc.loader_focus");
    this._lockroot = true;
    I put this code in the base movie clip and then the movie
    clip was loader into another movie clip...Honestly I have no idea
    how I figured it out! It works, just very confusing dealing with
    nested movie clips.

  • Flickering problem with loadMovie()

    Hi
    I am developing an application in which i need to call
    external swf files in my movieclips.
    When i load an external swf file in to movieclip some
    flickering effect take place.
    so is there any solution to overcome this problem.
    Thanks In Advance.......

    I think that I have attached the file you are wanting. Thanks for your help. Pitcairn.zip (96.75 kB - downloaded 13 times.)

  • Problem between loadmovie and sound of loaded movie

    hi, i made an swf which uses sound events and it plays fine.
    the sounds are dealed with new sound, somesound.attachsound,
    somesound.start, somesound.stop and so on, the linkage properties
    are something like 'export for actionscript' and 'export in first
    frame' checked. the movie plays ok when i watch it with swf player
    or in a web page. the problem arises when i set a preloader in an
    external file, the main movie is mainly pictures so it would remain
    as a blank screen while loading, so i had to make an external
    preloader, but when the main movie plays loaded by the preloader,
    the sounds controlled via actionscript wont play, any pointers or
    suggestions?
    tnx

    flash is probably looking for those linked sounds in the
    _level0 library.
    to remedy, use whatever=new Sound(this); instead of
    whatever=new Sound() when instantiating sound objects in your
    external swf.

  • Problems getting loadMovie to work

    I've created an Flash movie that I want to load external jpgs
    and swf files, but I can't get it to work. I've tried:
    on (press) {
    loadMovie("running_order/01.jpg", "this.book_mc");
    }

    loads the image in a new blank window.
    I've got a blank mc (called holder) with an instance name of
    book_mc. That's in one movie clip and the button with the action is
    in a Tween graphic but that graphic is on the same mc as the empty
    mc.
    I'm at a bit of a loss as to what to do to get this working.
    Sorry for posting in three messages but I couldn't get it to
    display anything after the code so thought this was the best way of
    doing it.
    Thanks in advance for any help.

  • Problem using LoadMovie

    I would say I've graduated from beginner by now when it comes
    to actionscript. www.grandwindow.com/flash My problem is this: I
    have my main site w/ background and menu called site.swf. Then the
    buttons are set-up to load external swf's into an empty_mc where
    the content pertaining to that button loads into that empty_mc in
    my site.swf. Now here is where I need help. Say they click on
    Services it loads external swf Services.swf replacing home.swf into
    the empty_mc. Well on the services.swf I have three more buttons
    that I want to continue having the function of replacing that
    empty_mc on site.swf. But now Services.swf is loaded so the
    empty_mc no longer exists. So I need to replace Services.swf with
    Windows.swf. If you goto grandwindow.com/flash and click services,
    you will see that it loads into the main site.swf, but in services
    when Windows is clicked I want it to replace the services.swf with
    windows.swf How the heck do I do this.

    from within Services.swf, you can refer to empty_mc by using
    "this" from the main timeline (of Services.swf).

Maybe you are looking for

  • Bluetooth wireless keyboard can't be recognized by my mac.

    Hi, I just bought a bluetooth keyboard (CMIIT ID: 2009DJ5133. Model: A1314, 2 batteries) My iMAC can recognize the keyboard but some function keys can't be used. Such as volume control (F10, F11, F12) and I can't read battery volume of the new keyboa

  • Unable to boot on Mac Os X DVD

    Hi, i've bootcamp (lastest version), i use rEFIt to choose from wich partition i'll boot. My problem is, can't boot on Mac Os X partition anymore. I got the white screen with the Apple logo, and nothing else.. but i can boot on Windows XP ! I tried t

  • BEA-101083 Connection failure

    While trying to publish mesaage by MQ 5.3 .I got the following error Please help. <Error> <HTTP> <BEA-101083> <Connection failure. java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94f

  • Use of iphone without roaming charges

    Hope someone can help, I'm off to New York soon and was wondering if there is an app, or good maps of New York and surrounding areas that can be used offline. Don't really want to arrive back in the UK with a huge phone bill waiting for me. Cheers

  • How to find Record creation date

    Hi Friends, Is there any way to find the actual Record creation date for each record in Database tables? Thanks