External Flash Movie Problem
Hello everyone,
Im new(ish) to flash and i am getting totally stuck with how to structure a site I am creating. I am quite good at some things in flash, yet have no clue when it comes to other things. This is rather frustrating and I am hoping someone will be able to put me on the right track.
If i use the followig code I am able to control the movie with no problems
next_btn.onRelease = function() { slideshow.ssp.nextImage(); }
However what I want to acheive is to split the site into sections so that I can load the particular swfs when they are needed. ie: when someone presses the gallery button on the navigation.swf the gallery.swf which contains the ssp movielip is loaded using movieClipLoader. This all works fine, however what i would like to do is have the buttons which control the gallery as part of the navigation.swf (not the external gallery.swf).
i cant work out how to do this. Is this possible? if not please can you put me out of my misery by putting me on the right track.
Thank you in advance,
Julian
_______________ www.kigwana.com
ActionScript.org Forums > Flash General Questions > Flash 8 General Questions
Posted on: 08-25-2006, 11:30 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loading External Movie Clips Into Flash Movie
I was wondering if anyone could help me, I attached the code below to a button in an existing flash movie in hopes that when it is clicked it would create an empty movie clip on level 1 of the movie with the button and then load an external .swf (from the same directory) into or in place of the empty movie clip. However this isn't working for me does anyone have any suggestions?
--Thanks
ActionScript Code:
on (release) {
_root.createEmptyMovieClip("dummyclip", 1);
dummyclip.loadMovie( "Untitled-1.swf");
}
Help Trigger External Movie To Load From Button In Another External Movie - Stuck
I really hope someone can help me!!!
I am loading movie C.swf into movie B.swf which gets loaded into movie A.swf the main movie. All loading works except C.swf has buttons that need to trigger another movie E.swf to load into A.swf and that is not working!!!
Here is the structure I am using:
A.swf (main final movie loads B.swf on start)
B.swf (loads main nav C.swf and scrolls it infinitely)
C.swf (main nav with buttons that trigger sub nav E.swf to load into A.swf)
E.swf (sub nav with buttons that trigger F.swf to load into A.swf)
F.swf (scrolling images of portfolio)
The actionscript I am using for the button in C.swf to trigger E.swf to load into the main movie A.swf is:
metals_mc_bn.onRelease = function() {
reActivateMenu();
this.gotoAndStop(3);
this.enabled = false;
loadMovieNum("E.swf", 1); // trigger sub nav E.swf to load into A.swf
};
I am so stuck with this and seems so simple a problem, but I'm just pulling hairs out at this point, can anyone please help me!
Flash Movie Controlling External Flash Movie
Hello, I'm banging my head on a wall here, and almost certainly have missed something obvious, but maybe someone can point me at it.
I need to turn on and off items in a flash movie, from another external flash movie. The two cannot be contained in one common flash movie, but need to be two swf's within either a single html page, or more likely, in two html frames within a frameset.
The gist of it is:
Movie one. a map, containging roads, road names, buildings of interest.
Movie two. a key, that can toggle on/off the roads, road names, buildings.
Any help would be appreciated.
Step
Loading A Flash Movie Into An External Flash Movie?
Hey all, I was wondering if there was a way for one flash movie clip to refer to another flash movie clip in a html environment. That is, I want movie clip 1 positioned in a left table cell to pass a actionscript command to movie clip 2 positioned in a center table. Of course, I understand this is fully possible in a fully flash authored environment where both clips 1 and 2 are loaded into a parent flash movie, but it would really help me out if it was possible to do it the other way. Let me know if you have any ideas on the matter and thanks in advance!
-Stephen
Loading A Flash Movie Into An External Flash Movie?
Hey all, I was wondering if there was a way for one flash movie clip to refer to another flash movie clip in a html environment. That is, I want movie clip 1 positioned in a left table cell to pass a actionscript command to movie clip 2 positioned in a center table. Of course, I understand this is fully possible in a fully flash authored environment where both clips 1 and 2 are loaded into a parent flash movie, but it would really help me out if it was possible to do it the other way. Let me know if you have any ideas on the matter and thanks in advance!
-Stephen
External Swf In A Flash Movie
I try to insert external swf files into a flash movie. I use 'loadmovie' method and I get it. However, it always appears in the top left corner of the scene. Is there any way of placing this swf whereever I want? ( When I use a button I can manage to place the external swf in any place, but that's not the thing...)
Urgent help
External Flash Movie
How can I load an external flash movie but instruct it to go to a certain frame of the movie as opposed to the first frame of the movie?
Flash External Movie Help.
I'm new to the forum, and i hope i can ask this in the best way...
I have a simple site, i'm not a big time flash mx guy im just knowledgeable in basic flash.
I have Flash MX
What i want to do is, i have 4 options on my current site.
Artwork, Contact me, Links, About me.
And now my sites huge like 800 kb or so, what i want to do is make all 4 of those options in there own swf, like a external movie.
On my main swf i have Artwork on like frame 25, contact me on frame 30 and links on 35 (etc)
I have simple buttons with the Go_To actions to go to each frame, is there a way to go to the frame and have the movie load there? for instance.
Click on Artwork, it goes to frame 25, then have the movie load?
I'd appreciate any help thanks!
Flash External Movie Help.
I'm new to the forum, and i hope i can ask this in the best way...
I have a simple site, i'm not a big time flash mx guy im just knowledgeable in basic flash.
I have Flash MX
What i want to do is, i have 4 options on my current site.
Artwork, Contact me, Links, About me.
And now my sites huge like 800 kb or so, what i want to do is make all 4 of those options in there own swf, like a external movie.
On my main swf i have Artwork on like frame 25, contact me on frame 30 and links on 35 (etc)
I have simple buttons with the Go_To actions to go to each frame, is there a way to go to the frame and have the movie load there? for instance.
Click on Artwork, it goes to frame 25, then have the movie load?
I'd appreciate any help thanks!
Loading An External Movie Through An External Movie To The Main Movie
I hope I can explain this well enough for someone to understand.....Here it goes
I am creating a full site in flash. The main movie has an empty movie clip in the middle of the movie to load external movies as the user clicks on the links. Everything has worked good so far as the linking has only gone 1 level deep. However, when I created a new external movie, and had buttons on it for another external page, but yet to open in the main movie, I can't get anything to work. Example.... In the main movie, the user clicks on the archive link, and the external archive movie is loaded into the main movie. Now, on this archive movie, there is a button on it that links to a another movie (say text effects.swf). However, when they click this button for text effects, I can't get it to load into the main movie clip and replace the archive movie that was currenlty there. Can anyone help me figure out how I need to go about doing this?
I hope I have been pretty clear on my problem. You can always visit www.davidgreer.home.dixie-net.com to see the movie and how it works. I can always post the .fla if I need to.
If anyone can help, please let me know. Thanks.
How Can I Tell An External Movie To Run Backwards? >>flash 4
hey!
i have an external movie (test.swf,1) which i want to load.
but i don´t want to unload it with the unload action (after cklicking on other content).
i want to make the movie run backwards before "unload"
i hope this issimple enough to understand.
Thanks in advance for a quick answer.
External Control Of Flash Movie
Basically what I'm looking for is I have an ASP "shell" for a series of flash movies to which there are three basic buttons one for a page back, one for a page forward and one for a chapter forward (this one loading the next flash movie)
I have the "chapter forward" buton done using
getURL ("javascript:controlNav(1)");
Use External Images In A Flash Movie
Hi,
i want to use an external image in my movie. This image changes every 10 seconds. How can i get this image in my flash movie? (fscommand?)
tnx!
Tell Target, External Flash Movie
I have 2 Movies on 1 page.
and i want one of them to tell the other one where to go.
just something simple like changing frames
how do i do this?
thanks in advance
Loading External Flash Movie (swf)
Hello,
Until now I have not made a main movie which opens other external movies.
This is ofcours the best solution for, loading and updating sites.
I am just a beginner with action scripting.
Until now I know simpel stuf like "goto, play stop and getting urls"
I have tried to search alot of tutorials on the flashkit tutorials,
But canot find the right anwser for the following problem.
I want to make a page like the classic html pages with diferent frames, or somthing which look like that, in other words on the left e menu buttons, and in the midel diferent movies which has to load when you klik the button.
I have done this here is a preview:
http://www.v-mp.com/Movie test/Main movie.swf
And this is the source file:
http://www.v-mp.com/Movie test/Extern_loading_test.zip
The problem is the following:
I have put the loading movie-script on the layer lower than the "blue mask".
But the loaded movies always playes top of every thing.
I want in between the movies a nice transition, when you klik the diferent movies.
Transition is the yellow square-fade thing which you see.
So I thought to play a transition to play on top, when the external movie is loading under.
Thats not possible now because the loaded movies always playes top of every thing (all layers)
And I also canot return to the main page. the loaded movie only goes away if you load another movie.
And I do not know how to close an loaded movie.
Going to another key frame dosent seem to work.
I think that there is a much easier way to do this.
Please look at the source file.
Please help thanks,
Vighnesh
External Banner Add In Flash Movie
is it possible to put a external banner add from an advertisers site into the playing flash movie..some are flash files so they would load with the load movie commands. But some aren't flash files is it possible to have a blank window in the movie that the banner would play in....??????????
FLASH MX Loading External Movie
I have movie (level 0) which loads a menu bar (level 1) into the movie. What is the actionscript code to place the menu where I want it?
Thanks your help
kleb
Flash Movie With Xml External File Please See It
I used this navigation movie which loads the images from external xml file and the swf works fine, but when included in asp file it doesnt work, I dont know why.
Please see the following links and try to help me
the eoriginal file in flashkit:
http://www.flashkit.com/movies/Inter...8461/index.php
the url of the file after inserting it in an asp file:
http://www.wadidegla.com/english/docs/prj_updat.asp
Unloading External Flash Movie
I am using this script to load a swf file into a mc:
var imageRequest:URLRequest = new URL Request("movie.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
This works great. Now what script do I use to unload the movie.swf?
MM
Flash Form On An External Movie.
I have completed the tutorial by senocular called "flash email form" found here :
http://www.kirupa.com/developer/acti..._php_email.htm
I got it to work properly like in the tutorial. But when I loaded my movie with the form (contact.swf) into my main movie (main.swf) something went wrong.
I belive it is the AC on my form MC:
onClipEvent(data){
_root.nextFrame();
}
_root. would be wrong in my case , wont it? What should I use instead?
Please help me!
Loading An External Flash Movie
Hi
I have this project I am working on with Flash MX 2004. I have a primary flash movie which acts as a menu I guess. This movie has buttons that are supposed to open another flash movie (.swf format). When clicked, the other movie seems to open fine, but there are some formatting issues. For example, the primary movie's background color is white and its size is 1024x768 and the other movies have a blue background and are 640x480. When go from the primary movie to another movie, the background changes properly and the document resizes, but when I go from the other movie to the primary movie the background remains blue and the size is still 640x480. I have tried many different actionscript codes to open the movies, right now I am using loadmovieNum... I should also mention that this is not going to be played through a web browser, probably as an .exe file so I can have it autorun from a CD. I hope this makes sense, any help would be greatly appreciated
Flash MX: Load External Movie
I am loading external *.swfs into a blank movie clip that sits in the main timeline of the master movie using the following code:
_root.loadMovie("module1.swf","container");
When the new movie loads, it seems to replace the entire master movie with the new *.swf. I want it to simply sit on top of the master...this is probably pretty obvious, but I appear to be missing something.
Any clues?
TIA
Shawn
Flash Form On An External Movie.
I have completed the tutorial by senocular called "flash email form" found here :
http://www.kirupa.com/developer/acti..._php_email.htm
I got it to work properly like in the tutorial. But when I loaded my movie with the form (contact.swf) into my main movie (main.swf) something went wrong.
I belive it is the AC on my form MC:
onClipEvent(data){
_root.nextFrame();
}
_root. would be wrong in my case , wont it? What should I use instead?
Please help me!
Loading An External Flash Movie
Hi
I have this project I am working on with Flash MX 2004. I have a primary flash movie which acts as a menu I guess. This movie has buttons that are supposed to open another flash movie (.swf format). When clicked, the other movie seems to open fine, but there are some formatting issues. For example, the primary movie's background color is white and its size is 1024x768 and the other movies have a blue background and are 640x480. When go from the primary movie to another movie, the background changes properly and the document resizes, but when I go from the other movie to the primary movie the background remains blue and the size is still 640x480. I have tried many different actionscript codes to open the movies, right now I am using loadmovieNum... I should also mention that this is not going to be played through a web browser, probably as an .exe file so I can have it autorun from a CD. I hope this makes sense, any help would be greatly appreciated
Possible? Load External MP3s To Flash Movie
Okay, I'm sure someone's asked this before, and I DID do a search in the forums, but the results were endless and didn't pertain to my question:
Can a Flash movie load an external MP3 and control it in the same manner as an embedded sound file?
If so, what would be the statement(s) used to load the MP3?
Thanx
Opening External Files From Within Flash Movie.
I'm creating a media kit to be distributed on CD, which includes various multimedia elements. These include *.PDFs, *.EXEs, etc. From within the Flash Projector, which is the main interface, how can I open/activate a *.PDF for viewing in Acrobat Reader? As well, is it possible to run an *.EXE, to install a game patch from the CD for example?
Thank you for any help.
3dsteve
Open Flash Movie In External Iframe
hi
i need to open a 2nd flash movie in an iframe!
at the moment i have one flash movie equipped with buttons on
it. on press a new movie shall open outside of this one.
it's just a try to use one small movie as menue bar and another
movie for the content centered on the page.
thxs for the help!
Loading External Text Into A Flash Movie
hi all,
i am wondering which would be the best way to accomplish the following task? i am designing a tour schedule for a singer and would like to be able to retrieve the tour info (from an external text file)into flash.
i heard this task should be fairly easy to accomplish with flash mx.
thanks in advance for your help!
michael
Load Movie In External Flash Player
hi there,
i have a main movie, lets call it 'apartment'
on one frame in the 'apartment' there is a word 'cat' on it.
what do i haev to do if what i want is,
when my interacter clicks on teh word 'cat' there is another flash movie player pop-up and shows another movie.
please tell me, i dunno how to do that but i want that.
thank you,
lolli
Linking To Various Frames In An External Flash Movie
I am trying to link images in an image gallery to various frames in an external Flash movie.
If I click on image 5 in the image gallery, it should open an external Flash movie and navigate to frame 5. Or, if I click on 6, it should open the same external Flash movie then navigate to frame 6.
I found a wealth of info on the forum, but none of the code seemed to work. It either just loaded the external movie without navigating to the targeted frame, or it cycled through the movie over and over.
Here is what I have . . .
From the thumbnail page, I have one of the links with the the following code:
on(release){
_global.whereToGo = "image5";
getURL("ch_gallery.html", "_Blank");
}
Another image link has this code:
on(release){
_global.whereToGo = "image6";
getURL("ch_gallery.html", "_Blank");
}
And the external Flash file has this in the first frame:
stop();
this.onEnterFrame = function(){
if(_global.whereToGo = "image5"){
this.gotoAndStop(_global.whereToGo);
delete this.onEnterFrame;
} else {
// Play as normal, No variable specified
play();
}
};
This seems to work fine but since the line has "if(_global.whereToGo = "image5"){" I can't get it to navigate to any other frame from the thumbnail page. This external page needs to accept other "whereToGos". Possible?
Also the external Flash movie has a preloader, does this cause a problem with the script?
Thanks
Load External .JPGs Into Flash Movie
I have recently completed working on a Flash MX 2004 file that displays a panoramic photo that can manipulated using interactive controls (plays forward, reverse, zoom in/out, etc.). However, the .jpg image was imported into the Flash file. I would like to be able to load the graphic externally (using actionscript?) to be able to change it with another .jpg of the same size/dimension without opening the .fla. Does anyone have any suggestions?
Thanks
Loading External Web Page Into A Flash Movie
I'm trying to build a site using Flash MX 2004, i want to intergrate an external web page into my movie. Is this possible? I have a movie nested within a movie, kinda like a frame, and i want to load the webpage into that movie. The on (Rollover) function would almost do what I'm looking for i think but there isn't anything to rollover. Any help would be appreciated.
Loading External Files To Flash Movie
hi...
i want to make an autorun CD with Flash and inside the Flash movie, there are 3 options i want to make....and if i click the first option, an external word document file have to be showed up....the second option, an external flash movie file have to be showed up........the third option, it has to be linked into an external file folder.
does anyone know how to do that?...
thank you very much
External Movie Self-destruct Button For Flash 8
Hello my forum friends and all of you wonderful visitors !
I have one question, it may sound pretty stupid, but hey... we learn till the very last day, right ?
Ok, here I go...
Inside the timeline of the MAIN.swf movie, I have a holder to load my EXTERN.swf external movie (SWF as well). I gave it an instance name EXTERNclip. Command for that action is:
Code:
loadMovie("EXTERN.swf", EXTERNclip);
If I want to completely shut down that externally loaded SWF from within itself, I usually put a button inside my external movie, I call it self-destruct button, and give it this action:
Code:
on (press) {unloadMovie(EXTERNclip)
}
When I load MAIN.swf and then external EXTERN.swf is loaded into MAIN.swf, as soon as you press self-destruct button, movie unloads itself as it should... but only when saving my file as a Flash 6 version. As soon as I save it as a Flash 7 or 8 version, that doesn't work at all... why ?
I need to save this particular file as a Flash version 8, because I have some video files using On2 VP6 codec and it has to go through Flash 8.
Any clues or any advices, it would be greatly appreciated.
Thanks in advance !
[F8] Insert An External XML File Into A Flash Movie
Hello,
I have a flash mp3 player that I want to embed in a page and I need to insert the data of two external .xml files in an action inside the first frame (there are some server limitations that don't allow reading of external xml and js files). The action now is:
Code:
if (!_root.playlisturl) {
_root.playlisturl = "playlist.xml";
}
if (!_root.infourl) {
_root.infourl = "info.xml";
}
How can I modify it to include all the XML data that is out on those two links?
Thanks in advance
External Files And Folders In Flash Movie
Hi , I want to make a flash movie with externaly loaded music , it would like music player . But i want to make it so that i just have to put music file to a folder , and not to change any code in flash or in xml for music to apear in list within flash movie . I want the same for folders to for ex. i have a folder called Musics and all folders and files in that folder i want to appear in flash movie .
I think it can be done in php but i dont rrealy know php programming ...
If you didnt undertand me , plz tell me , i will try to explain it better
Thanks for any help
How Do I Set My Movie To Link To Another External Flash File?
I have made a flash website and it works perfect but the loading time is bad sometimes upto 30 seconds which puts people off, So i wanted to make a loading page. I made one and i want my website to play it and then i want the end action to link back to my old flash website, is there some action script for a movie to link to another flash project?
or is there an easier way of making a loading page to make your website seem faster?
Please help i'm desperate!!!!!!!
cheers, jamerz.
Opening External .exe Files From/within A Flash Movie....
hi guys...
i'm still trying to create flash backgrounds for use as simple shortcut menu's to folders...AND files..
i am able to create a working linking button to open folders..
however....
the only thing i can't seem to figure out is how to open a proper .exe file..
help plz...??
Maximized Flash Movie With External SWF-files
EDIT: For less blah blah and more focus on my actual question, check out the second post in this thread. Thanks!
------
Hello smart people,
I have a SWF-file with 2 objects in it:
1) A rectangle with a gradient colour that covers the entire movie, which is used as background for the site.
2) An empty MovieClip somewhere on top of the rectangle, used as a container to import external SWF files.
I want the rectangle with the gradient colour to cover the entire browser window, which I did by going to the Publish Settings - HTML and changing the dimensions to 100%. I also changed the setting "Scale" to "no border" to make sure my background (the rectangle with gradient colour) would be maximized as well.
The problem I'm having is that when the user makes his browser smaller, the whole main SWF and external SWF get smaller, and I want the external SWF to keep its dimensions. How do I fix this? The idea is a bit like www.monokai.nl, where the background fits every browser window from 1024x768 on, but all the components (buttons, logos, whatever) stay put.
Thanks in advance!
Flash Movie Loading External SWF Problems
Hey guys,
Here's my problem.
What I did
Use the tutorial http://www.kirupa.com/developer/mx2004/transitions.htm to make my animation sequence and to make it automatically play the first SWF. So I ended up making the main movie called 'main.swf', and the other swfs that were to load into the main movie stage1.swf, stage2.swf, stage3.swf and stage4.swf.
Put all the required SWF files into one folder called 'Media' for my website.
In Dreamweaver 8, I inserted the 'main.swf' into my webpage.
The Problem
When I previewed the webpage in a browser, the main movie showed up with the buttons there, but they weren't able to load the other swfs that i wanted it to. Does anyone have any ideas how to fix it? Or be able to make the main movie load the external swfs?
Show An External Php Page In Flash Movie
hi all,
How can I show an external php page in flash movie?
ie.I want to change the text of the movie according to database.
any help from your side will be greatly appreatiated.
with regards
mcgrath
Linking Flash Movie To External Webpage
Greetings All
Ive been working on this problem for a while now and haven't found the right solution but I was hoping someone would be able to tell how to link the flash images at www.totalrenovations.com.au/tp/ to an external webpage, using an ActionScript getURL command or even a Javascript onclick event if possible? I am using Flash MX 2004.
Is there a way to convert the entire movie (including all layers) to a button symbol to allow the ActionScript command to work without error?
Any assistance would be muchly appreciated.
Kind regards
RichardN
|