Flash CS3 AS2&3 - LoadMovie Issue
We have a series of three movies that need to load one after the other (button triggered) The first is AS3, the second AS2 (learning interactions) and the last is AS3.
I can get all three to load properly in the flash player but when I publish and use the html page the button on the middle movie doesn't load the third.
Here's the script I have on the button on the AS2/middle movie:
on (release) { loadMovieNum("checktest.swf", 0); }
FlashKit > Flash Help > Flash General Help
Posted on: 12-20-2007, 09:41 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash LoadMovie Issue
Hey,
I'm interested in finding out how I can make a .swf file that contains a header, a menu, and in the rest of the screen i want to position the rest of the 'canvas'. The thing is this: i want the links to be loaded in the same .swf file. (I heard that you can do this with loadMovie). As a concept, I'm talking about something like http://reflexive.uv.ro . Anybody got a clue?
P.s.: I'm quite a noob, so, if you wish, please explain in detail (with all the steps).
Thanks in advance guys.
FLASH MX 2004 Pro LoadMovie Issue
Im having a problem with my .swf file not loading my pictures with the loadMovie command in IE. It works just fine in flash player 7, just not in IE. I knows its not the coding thats messed up, unless i cant use loadMovie when i publish my project as a HTML document. If you need to see the program source or try it out on your own email me. - Thx, Rohin
PC Versus MAC Loadmovie Flash Projector Built-in Cache Issue
I made a swf with a loadmovie action
it loads a jpg, unloads it, and later on reloads it... but it is not the same file. it has been updated on the server side...
it works fine on my mac, and the projector works fine...
it doesn't work on my PC.... GRRRR
the .exe reloads the same jpg, even though it has been updated on the server side....
It doesn't work on my PC in a Explorer... double GRRRR
And this is before using a web browser... and for the projector use
(i'm aware of the browser cache issue and i m actualy using loadMovie ("http://mywebite.com/image.jpg?1")
i actually like this methode, for browser issues... even though i do not really understand it ...
this is the first time i encounter a difference of behavior between MAC and PC using flash... (i divorced with Java because of this)
What should I do ??? i tryed to use removeMovieClip but it doesn't seems to help...
My MAC and my PC use the same network, same router, no proxi,
I came up with a feeling that... but i might be completly wrong...
As it is hard to think that there is such a thing as a cache in the swf projector...
I wonder if it doesn't happen because the swf behaves like it is inside M$ explorer browser while you open it on a PC... the Operative Systeme interface of the PC seems to be run by explorer ... ???
I tryed to take it of the PC, and windows doesn't run anymore...
LoadMovie Issue
I have a 1000+ framed animation called flyby.swf, which I am loading into my main flash file. I need for it to play, and then have my main flash file detect when it is finished so that I can move to another frame. I can't figure out how to do this though... Can anyone help?
Loadmovie Issue
hi
see if you can help me.
i have a swf that i want to load into a movie clip called MC1 that is on the 10th frame of my timeline. the thing is the file is quite big so i have put a pre loader in the swf. Now i know how to load the swf in using loadmovie but is there a way for me to get the file to load into cache before i evan get to the frame where it plays.
so i guess in a sence it is a preloader for a particular swf file.
also what is the difference between loadmovienum and loadmovie?
Loadmovie Issue....
Please help.....
My site requires that i use the loadMovie command to load an .swf file in the centre of my main movie.
I have tried both using the level and target commands but both have their downfalls. The target command loads the .swf file into my clip but unfortunately my cursor picks up all the information behind it.
The level also works but it positions my .swf file on the top left of my main movie.
Is there any way i can get round either of these problems, preferably using the level command to position in the centre of the stage but i'm not fussy..
Any help much appreciated....
Bill
LoadMovie Issue...
Hi,
I made this file called rat.swf which is just a simple maze in which you can actually move a rat using arrow keypress. I used action script with getProperty() in that action script as well. I made it in Flash MX. It works fine if I play it.
But this is the problem :
1. Suppose I am in main.swf and I make a button and from that button I am using this action script.
on (release) {
loadMovie("rat.swf",movies) ;
}
Now it loads the movie but the rat doesn't move.
Please help me ASAP...
Cheers
LoadMovie Issue
I am working on an e-learning presentation that is now over 16000 frames, the threshold for flash.
It is set up so that the user sees a chapter selection button, a next scene button and a previous scene button.
Currently, the button do just that - next scene or previous scene.
I have to split into two swf's because it is too long to publish using loadMovie -- but when I do, I am unable to make the "previous scene" button on the second swf go to the last scene of the first swf. Instead it just goes to the beginning of the first swf...?
I know the file is probably set up wrong to begin with, but there has got to be a way to use loadMovie and in that script indicate where in that movie you want it to go, not just the beginning of the swf?
Any help would be greatly appreciated... I'm going insane.
The attached file is a dummy I've been using to try to figure this out. It is 2 fla's with 2 scenes each (scene 1 & 2, scene 3 & 4). I'm trying to get the navigation to work so that when you click on the back button on scene 3, it takes you to scene 2, and the forward button on scene 2 will take you to scene 3.
The first reply made sense (from ProMasher - thanks) but I still can't get it to work.
I know there is an easier way -- and that I probably should have built my original file much differently -- but now here I am
Loadmovie Issue
I'm using .loadMovie to replace a blank movie into the current movie.. I've got the thing to load in but its in the wrong place..
the clips are the same size and coordinate systems are set up so that the origin is in the top right but the movie loads out of the screen to the botoom left... how can I centre it?
Cheers..
Nik
Loadmovie() Issue
I have my video player in a external swf, and it plays great when testing locally, I uploaded index and swf file to see and I get nothing from the external swf. What am I doing wrong, I even went to server and opened the swf and it plays. The html shows the player but no movie, the main index shows the same as the html.This is my script
loadMovieNum ("video_player.swf", 1);
Now it plays local and if I go directly to it on server but when I view it on line the external swf is not there at all. Can I get some help on this difficult issue.
Woody
LoadMovie Issue
I'm using loadMovie to load in a .jpg from a URL , that works fine, until I try to set the clip._width to a value, then for some reason the image doesn't appear, any ideas why?
boombanguk
LoadMovie Issue [f8]
Hey all,
I am having trouble loading external swf's in my main swf using actionscript. My entire project is set up in 7 different swf's, one of which is the driver for the project. I have 7 buttons in each swf that loads it's respective movie. This work just fine and everything displays but I noticed that if I was to load a swf, say swf1, that had links to other places (other than the 7 swf's) then loaded one that did not, say swf2, that you could click where the link had been previously on swf1 on swf2 and it would open the link from the previous swf (swf1). Does this make sense to anyone? Maybe it has something to do with levels or not unloading the movies? I did not use loadmovieNum(), so they should all be in level 0. Unsure what the process is on loading and unloading movies externally, could someone give me some more insight on the basic process one would use to load external swf's? (prolly my problem, not understanding what the command actually does) I am using a blank mc to load all of these and it exists in each swf. Example of the code I have:
on (press){
target_mc.loadMovie("Web.swf");
}
Seems simple. I played around with putting each swf on its on level, but I am unsure if I set it up right or how to unload properly so that one could go back in levels, etc. Unsure whether this is a scope issue, haha I am just confused really.
Any help would be appreciated.
- Harper
Issue With Loadmovie.
Hi there
Please refer to www.vrtrailwoods.com/dev2 and click on the "models" button on the navigation bar at the top.
As you can see, that page has a loader movie clip that loads in each model home as you click on the buttons on the left hand side. Even when they are fully loaded, as you click from model to model you see a "flash" of the model index page it flashes for like a millisecond and then loads or pulls up the next model...
Is there anyway to have it go straight to the model page without flashing that page? or could I put something on the models.fla (the page that contains the loader clip) so that it shows a background or a blank page??
Thanks
LoadMovie Issue HELP
Hey All,
I have a .exe flash file [800x600] I am using as a "holder" to fill a users screen [fscommand("fullscreen", true);] with a background fade. The loadMovie I'm calling [749x584] is the bulk of the program and I curious as to if anyone knows a way for it to retain it's original scale????
There are a few bitmaps in the piece that distort/dither a bit when the fullscreen is used at say, 1024x768. I'm thinking there is no way around it as trace statements return as follows regardless of monitor res settings.....
trace(Stage.width);
"returns 800"
So while it's fullscreen it's not as if the Stage "expands" using fsCommand.
Is there another way?
Help!!!
jub
Issue With Loadmovie Swf...
I am doing a simple loadmovie, bringing an external swf into a holder clip that is empty.
here is my code. I have it placed on frame one INSIDE the holder clip:
PHP Code:
_root.pages.weddingholder.loadMovie("wedding_section.swf",this);
The external movie loads, but the issue is HOW it loads. The swf is 643x394 and looks fantastic by itself. When it is loaded into the holder clip though, it scales it and makes it much taller and wider than the actual external SWf is, and is messing the way it looks up.
What is going on?
LoadMovie Issue
Alright, I run a forum involving flash animations, and I have problems with people posting autoplaying movies, most of the time malicious to the point where we have trouble removing the posts.
I had an idea to put a little inbetween flash movie, one that loads, stops and has a play button, and then loads the movie they posted. My code for this was:
Code:
stop();
loadMovie(url, _root.gg);
_root.gg._xscale = (550/_root.wl)*100;
_root.gg._yscale = (400/_root.hl)*100;
_root.gg._x = 0;
_root.gg._y = 0;
The problem is, the clips they post don't tend to be 550x400, so there tends to be resizing problems. Thank you for helping.
LoadMovie() Issue
I've got a small problem that I just can't get my head around. I'm using loadMovie() to place an external SWF into an empty movie clip. The movie name is being pulled from an Array
drawings = [
[1, "drawing01.swf"],
[2, "drawing02.swf"]
];
...and placed into the movie clip using the following function:
function thumbClick(id){
trace(id);
for(i=0; i<drawings.length; ++i){
this.movie = drawings[i][1];
if(id==drawings [i][0]){
if(!_root.Drawings.movieHolder[this.movie]){
trace(this.movie);
_root.Drawings.movieHolder.loadMovie(this.movie);
}
}
}
}
The movie loads just fine, the problem is that it reloads everytime the function is called. I need to adjust the condition so the movie will only load if the correct file is selected (this happens already) and if the file hasn't already been loaded.
Thanks in advance for any suggestions.
Yes...Another FF/Loadmovie Issue
I'm at my wits' end on this issue. I want to do something very simple w/ Actionscript: load an external .swf into the main .swf movie (currently using the empty movie clip method). This is key to my site design, as I want to keep my flash site design modular, allowing users to load the "main" swf for each of the major site sections + only download those other "subsection" swfs as necessary.
I have used nearly every single tutorial I could find on the subject, including several posted script suggestions in forums such as this one. Fortunately, I've been able to accomplish what I wanted quite simply. In Internet Explorer (Opera + Netscape, too).
My problem is this: Firefox/Mozilla will not load the external swf movie. It will load all of my other flash content, though, which is odd to me. Is there any way to script in such a way that the loadmovie action (or even an alternative that accomplishes the same task) will work in the Firefox browser? I've tested it on other computers + friends/tech support @ my hosting company have had the same issue w/ it not loading in Firefox/Mozilla.
Below is my code, as placed on the "go" button on my page (http://www.swank7.com/prime ):
on (release) {
_root.emptymc.loadMovie("prime_feb07_john.swf");
}
Help. I've tried loading it in levels, movie clip instances, using "createEmptyMovieClip", w/ and w/o "_root" + every other way I could think of. The first person to solve this problem for me w/ a viable solution to load external swfs in Firefox gets my undying gratitude (and a lifetime discount at my to-debut-this-spring online boutique). Srsly.
Gracias,
- Fredo.
Issue With LoadMovie
Hi guys, i have a real annoying problem with the loadMovie function.
Currently I'm making a flashsite and the structure is made so that I have a main swf. And when you push a button, like 'news', it loads the news-swf into the main swf. A typical site structure I would guess.
Anyway, i use loadMovie to load the movieclips into the mainfile and it works great except for one thing. When I load the news-swf, I'm not getting the 'text' that goes with the news. This really bugs me because when I'm playing the news-swf without loading it to the site, it works perfectly..So I know it's nothing wrong with the php or MYSQL.
What I'm saying is that I'm not seeing the dynamic text that loads from my MySQL-database when I'm loading the news-swf to the main-swf.
Btw I'm using php and MySQL to for the news system.
The code for the loadMoviefunction I'm using looks like this:
Code:
on (release) {
_root.contents.loadMovie("news.swf");
}
Thanks in advance.
Loadmovie Issue
right i have made a website in three seperate parts and named them index1, index 2 and index 3. they are joined using buttons with the loadmovie script. i have tested them they work fine. i now want to upload them to the internet would i have to make a main swf file or something so cpanel knows which one to play first. i am absolutly lost.
LoadMovie Issue
I am having a terrible time getting my head around "loadMovieNum".
I know I am doing it right for loading a movie. But when it comes to having the loaded movie affect the movie it was loaded into, i run into a wall.
I have attached a basic example of how I am trying to get it to work. In these files I have the parent.fla loading child.swf, and then the button in child.swis supposed to point to a frame in parent. But it does not go back for some reason. I would love it if someone could take a quick look and show me the error of my ways.
Many Thanks
- newbie
LoadMovie Issue
Hey all,
I am having trouble loading external swf's in my main swf using actionscript. My entire project is set up in 7 different swf's, one of which is the driver for the project. I have 7 buttons in each swf that loads it's respective movie. This work just fine and everything displays but I noticed that if I was to load a swf, say swf1, that had links to other places (other than the 7 swf's) then loaded one that did not, say swf2, that you could click where the link had been previously on swf1 on swf2 and it would open the link from the previous swf (swf1). Does this make sense to anyone? Maybe it has something to do with levels or not unloading the movies? I did not use loadmovieNum(), so they should all be in level 0. Unsure what the process is on loading and unloading movies externally, could someone give me some more insight on the basic process one would use to load external swf's? I am using a blank mc to load all of these and it exists in each swf. Example of the code I have:
on (press){
target_mc.loadMovie("Web.swf");
}
Seems simple. I played around with putting each swf on its on level, but I am unsure if I set it up right or how to unload properly so that one could go back in levels, etc.
Any help would be appreciated.
- Harper
LoadMovie Issue
I'm trying to do something that is simple but for some reason it is a headache for me. I have two classes imported into their own fla files. The first class Hello.as has some code in the class files that says once the button on the stage is clicked trace 'hello'.
The second class just loads in the hello.as published swf file. Now, for the life of me I can't figure out why the bloody file will not load.
Code for both class files are below:
Attach Code
Hello.as Class
import mx.controls.Button;
import mx.utils.Delegate;
class com.Hello extends MovieClip
{
private var _helloBtn:Button;
public function Hello(_helloBtn:Button)
{
this._helloBtn = _helloBtn;
helloBtn_onRelease_Delegate();
}
private function helloBtn_onRelease_Delegate():Void
{
_helloBtn.onRelease = Delegate.create(this, helloBtn_onRelease);
}
private function helloBtn_onRelease():Void
{
trace('hello');
}
}
Main.as Class
class com.Main extends MovieClip
{
private var container:MovieClip;
public function Main()
{
init();
}
private function init():Void
{
container = this.createEmptyMovieClip('container', this.getNextHighestDepth());
container.loadMovie('hello.swf');
}
}
Mac LoadMovie() Issue (again)
I posted like a week ago and got some good help from the Mac users, so hopefully I can wrap this thing up.
Ok, so here's my code:
ActionScript Code:
//initialize number links in our sitenumLinks=12;//loop to attach name to and create action for each buttonfor(i=1; i<=numLinks; i++) { eval("b"+i).name = "b"+i; eval("b"+i).onRelease = function(){ _root.movietoplay = this.name; gotoAndStop(10); loadMovie("the_book/book_movie.swf", _root.book_clip); }}
On PC this code has no problem. I am dynamically coding each button on the page with this code. Would the 'loadMovie()' part be violating the Mac "don't put loadMovie() within an onEnterFrame() handle" rule? Or is this completely legit and the problem just lies elsewhere?
LoadMovie Issue
Hello,
I have a main swf file that has 10 buttons on it each uses the LoadMovie script as in :
but14.onPress = function () {
_root.createEmptyMovieClip("container",1);
loadMovie("password_early.swf","container");
container._x = 263 ;
container._y = 175 ;
So this works correctly but I want to have buttons in the loaded "password_early.swf" that replaces itself with/ loads up another swf. (another satisfactory scenario would be to cover it up entirely thereby rendering "password_early.swf" invisible.)
I have got this script in the "password_early.swf" movie:
but20.onPress = function () {
_root.createEmptyMovieClip("container",1);
loadMovie("zoo.swf", "container");
container._x = 0 ;
container._y = 0 ;
}
stop();
When I test the password movie, zoo.swf loads up on top of password_early.swf., but when I run the main movie zoo.swf does not appear at all when password_early.swf's button are pushed.
I realize that it's a hierarchical situation and I can't seem to get the third movie to load in level 1?
Any help would be appreciated.
Kelley
LoadMovie Issue
Hello.
I am trying to load an image into an empty movie and have it centered within a frame... however the loadMovie function will load my image using the dot (register point) of my empty movie as the upper left corner ... this is fine so far.. however i cannot obtain the size of the image loaded ... so how can i center it within my frame ?
_width on my empty movie with the loaded image into it returns 0 ?
So what is the solution ... once I load the image into my empty movie, how can i center it within my frame ... or any other object ?
thank you
A LoadMovie Issue
I have a main swf that loads another external swf to a blank MC. The main swf is loading great. The external, on the other hand, isn't.
If I check the swf files on the server, they are both working fine.
Main SWF - It is loading the external swf.
If I check the Testing Site , it isn't loading the external swf.
I don't understand what the issue is. Can someone guide me in the right direction? Thanks.
ASJ
Issue With Loadmovie Swf...
I am doing a simple loadmovie, bringing an external swf into a holder clip that is empty.
here is my code. I have it placed on frame one INSIDE the holder clip:
PHP Code:
_root.pages.weddingholder.loadMovie("wedding_section.swf",this);
The external movie loads, but the issue is HOW it loads. The swf is 643x394 and looks fantastic by itself. When it is loaded into the holder clip though, it scales it and makes it much taller and wider than the actual external SWf is, and is messing the way it looks up.
What is going on?
please help
Mac LoadMovie() Issue (again)
I posted like a week ago and got some good help from the Mac users, so hopefully I can wrap this thing up.
Ok, so here's my code:
ActionScript Code:
//initialize number links in our sitenumLinks=12;//loop to attach name to and create action for each buttonfor(i=1; i<=numLinks; i++) { eval("b"+i).name = "b"+i; eval("b"+i).onRelease = function(){ _root.movietoplay = this.name; gotoAndStop(10); loadMovie("the_book/book_movie.swf", _root.book_clip); }}
On PC this code has no problem. I am dynamically coding each button on the page with this code. Would the 'loadMovie()' part be violating the Mac "don't put loadMovie() within an onEnterFrame() handle" rule? Or is this completely legit and the problem just lies elsewhere?
LoadMovie Issue
Hello,
I have a main swf file that has 10 buttons on it each uses the LoadMovie script as in :
but14.onPress = function () {
_root.createEmptyMovieClip("container",1);
loadMovie("password_early.swf","container");
container._x = 263 ;
container._y = 175 ;
So this works correctly but I want to have buttons in the loaded "password_early.swf" that replaces itself with/ loads up another swf. (another satisfactory scenario would be to cover it up entirely thereby rendering "password_early.swf" invisible.)
I have got this script in the "password_early.swf" movie:
but20.onPress = function () {
_root.createEmptyMovieClip("container",1);
loadMovie("zoo.swf", "container");
container._x = 0 ;
container._y = 0 ;
}
stop();
When I test the password movie, zoo.swf loads up on top of password_early.swf., but when I run the main movie zoo.swf does not appear at all when password_early.swf's button are pushed.
I realize that it's a hierarchical situation and I can't seem to get the third movie to load in level 1?
Any help would be appreciated.
Kelley
Loadmovie Jpg Issue
i know this is a normal question but for some reason i'm not beign able to load a hjpg into my swf.
what are the possible reason why mc_instance.loadMovie('th1.swf'); works but mc_instance.loadMovie('th1.jpg'); doesnt?
YES: 1.jpg is the same place that the swf, is not progressive, nor optimized nor icc profile....
thanks in advance
LoadMovie Issue?
I have this on the script on the main timeline of my movie.
ActionScript Code:
function setImage(pic) {
loadMovie(pic, this.picture);
}
When this movie that contains this script is loaded into a movieclip in the _level0 swf it will not work. I have tried to code it this way and couldn't seem to get it to work.
ActionScript Code:
function setImage(pic) {
loadMovie(pic, _level0.loader.picture);
}
So, what exactly am I doing wrong here?
LoadMovie Issue
Hello,
Here is what I'm trying to do:
on (release) {
loadMovie("blah.swf"", "_level0.blahblah");
// wait for external .swf to load
gotoAndPlay(2);
}
Basically I'm loading an external .swf into a movie clip on the main timeline. After the movie has loaded completely, I want the main timeline to perform an action, in this particular case gotoAndPlay(2). I'm unsure how to determine whether the external .swf has been loaded yet. Thoughts? Thanks!
Yet Another LoadMovie Issue
here's what I want:
You click a button and it loads an external file's sound to play with in a movie clip. Then after the sound completes playing it automatically moves on to the next sound.
I'm using Flash MX 2004. Here is what I have.
I click on a button that tells "sound" movie clip to go to frame label "track01".
on (release) {
tellTarget ("_level0.sound") {
gotoAndPlay ("track01");
}
}
In the "sound" movie clip, the frame labeled "track01" contains an action. This action is:
loadMovie("http://www.mysite.com/audio/track01.swf", "audio");
it loads into an empty movie clip called "audio" (which is on layer 2 in the "sound" mc).
track01.swf plays and. in frame 100 of the track01.swf file. I have an action that tells the "sound" movie clip to go to frame labeled "track02".
tellTarget ("_level0.sound") {
gotoAndPlay ("track02");
}
of course in the "track02" frame it has similar actions as track01 but this time loading track02. This way it loads the movie clips one after the other like a CD would.
everything works until the track01.swf movie clip tells the "sound" movieclip to go to "track02".
I get this error:
Target not found:
Target="_level0.sound" Base="_level0.sound.audio"
here is where everything is located.. just in case you got lost.
button = _level0
sound (mc) = _level0
audio (mc) = _level0.sound
I've tried everything.
Even loading it into level1. But I'd rather it load it in an MC. But which ever way works the best is essentially the key.
Any insight is greatly appreciated.
Quick LoadMovie Issue...Thanks
Lets say I have a movie, call it "movieFrame.swf". I put a movie clip into that movie, and give it an instance name of "hldMovie". Then I use an action to replace the movie clip with a new movie.
(something like: loadMovie ("Movie3.swf", "hldMovie"); )
So the new movie replaces the old movie clip. Shouldn't I be able to access the new movie using the "hldMovie" handle?
(something like: _root.hldMovie.stop; )
It's not working, and if someone knows why, I'd like to know. I looked through the documentation on loadMovie and targets and couldn't find the answer.
Thanks...
Loadmovie & Frame Issue
Here's my situation:
I have a Flash movie on the home page of a site. The movie contains both an intro and the navigation for the site. The navigation has a simple animation that causes it to slide up to expose the buttons at about 6 seconds in to the movie. If the visitor doesn't want to view the movie or wait for it to load they can click a "view menu" button that activates the animation to reveal the buttons.
I am using 2 swfs, one for the intro(intro.swf) & a second at level 1 for the navigation(nav.swf). The intro calls the nav with loadmovie before the intro preloader begins(the nav is only 12k). The nav has a stop on frame 1. When the button to view menu is clicked it goes to frame 2 which exposes the other buttons to navigate the site.
Ideally I would like the nav animation (from frame 2) to begin after the intro has loaded about 6 seconds in to the movie IF the "view menu" button has not been pressed. If the "view menu" button has been pressed then the buttons are already exposed and there is no need for further action.
I have no idea how to do this. Any advice would be greatly appreciated.
Thanks!
Interesting Loadmovie Issue (bad)
ok, so i was successful in loading a swf into another swf. the issue is, the swf file which shows within the other is now showing EVERYTHING within and outside its own stage area. when this swf is viewed independently, the flash player is smart enough to crop off the edges to show a nice clean movie. is there any solution to this when the movie is loaded into another?
right now my solution is to recreate the ENTIRE movie into one movie clip, then place a surrounding mask on top of it. this would be a quick and cheap solution only if i own the source file for it, but i can imagine this being a problem when the swf is outsourced and i don't have direct access.
any help is appreciated. thanks.
Urgent LoadMovie Issue
I have a movie that's loading another movie. Inside the loaded movie is a simple movie clip form that sends an email. The email is sent without problems but the variables (input) aren't sent along with it.
I'll give any other details required.
Thanks.
LoadMovie Preloader Issue
I have 8 buttons in my movie and each button when clicked loads a different movie into the same level, i.e.
button 1 - loadMovieNum("gallery.swf", 16);
button 2 - loadMovieNum("contact.swf", 16);
etc...
See it at http://www.gorilladesign.co.uk/clien...onscreens.html
Each of these movies has it's own preloader and these work fine. The problem is over the dial-up connection I am testing on if a user clicks a button the preloader starts (as it should), but if the user changes and decides to click another button part way through preloading then the new preloader does not start until, I assume, the previous movie has finished loading.
The same happens if a movie is already cached. If part way through preloading and the user clicks on a link (that has already been loaded) this cached movie will not appear until the previous movie has finished loading. Once all movies have been cached there is no problem and the user can click any buttons at any time.
So my question, is there a way to avoid the gap in time when clicking on a different movie or does the user have to put up with it. Or is there a more user friendly approach different to mine? I did try putting unloadMovieNum(16); before each loadMovieNum command thinking it may help, but I suppose if it has not loaded there is nothing to unload.
The fla (onscreens.fla) is at http://www.gorilladesign.co.uk/clients/onscreens
Any ideas much appreciated.
Adrian
Loadmovie Issue (root?)
Hi there,
I have the following problem.
- Main movie
- Seperate gallery movie
- Seperate Picture movies (swf's)
Methode:
For the gallery I have MC buttons which load the swf's into a content clip (instance name: gallery).
on (press) {
loadMovie("images/001.swf", _root.gallery);
}
If I run the gallery swf it shows all the swf's I load externally!
Now I want to load the gallery into my main movie (content MC: content) with:
on (press) {
loadMovie("pics.swf", content);
}
Result: The gallery (loaded into the main movie) is showing nicely but the externally loaded swf's for the gallery movie aren't showing!
Can someone please direct me in the right direction? Please!
Eric
LoadMovie And Loading Issue
I'm freaking out, so please, please help me!!!
I have a main movie, with an empty container, some buttons that load a swf in the container. This is a code:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "home";
container.loadMovie("home.swf");
} else if (_root.currMovie != "home") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "home";
container.play();
}
}
}
And now what I want to do, is use a preloader to preload the swf's before they are played..
I tried to add a preloader to every single external swf, but for some reason that doesn't work.
Any help, links would appreciated! Tnx in advance!
LoadMovie Preloader Issue
Hello everybody i have a little situation i have this preloader running with this code:
Quote:
onClipEvent (load) {
loadMovie("http://www.ziondigital.com/images/flash/logo.swf");
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
unloadMovie(1);
_root.gotoAndStop(2);
}
}
When looking at the code you can see im trying to load an external swf and then im trying to unload that swf file when scene has loaded. This isnt working well it loads the swf but im having problems in unloading the swf.
Any thoughts
Thanx
Oz
[F8] Simple LoadMovie Issue
Hey, I made a separate swf to be the background for another movie. So I use the fallowing code to load it in:
code:
loadBg = function() {
this.createEmptyMovieClip("bg", this.getNextHighestDepth())
bg.loadMovie("images/cubes.swf", this)
bg.cacheAsBitmap = true
//tried w/ & w/o this, not sure if it works in the case?
}
It loads the movie and runs it fine with "this.onLoad = loadBg" also put at the bottom of course. Then as soon as I add another function to run, it works for about 20 seconds before grinding to a very very slow refresh rate, almost nothing. So i'm assuming it runs out of memory to work or something? Hence why I tried the cacheAsBitmap, but has a very tiny effect, if any. Any ideas how to fix this? The other movie is a graphic which has it's hue set to -180, then 359 frames later another is set w/ its hue to +180 w/ a motion tween in the middle. So I guess it is a very memory consuming process? Any ideas? Thanks, - Peter.
LoadMovie Scope Issue (maybe?)
OK lets see If i can accurately describe my issue...
I am doing a mockup of a rich media banner for a client to look at.
In my main timeline I have 2 empty movieclips, "bannerHolder" and "panelHolder"
on the first frame of main timeline
this.bannerHolder.loadMovie("728x90_001.swf");
on the first frame of "728x90_oo1.swf"
stop();
btn1.onRollOver = function() {
_root.panelHolder.loadMovie("728x90_panel_1_animat ion_001.swf");
trace("play animation");
};
all swf's are in the same folder on my local machine.
My problem--- This works just fine in the autoring environment when I test the movie. but DOES NOT when put into the browser.
Any idea?
Thanks in advance
Chris
[F8] LoadMovie + Scope Issue
Hi there I'm loading MCs to my main movie and have no problems controlling the main movie from the loaded MCs however for some reason I can't control the loaded mcs from the main movie. I've tried loading into an empty mc and into _level1 but it doesn't work for me. Here is an example for one of the things I'm trying to achieve. on the main time line i've got addcomment _bt the path to it is:
_root.lineup_display.title_info.addcomment
i'm loading my guestbook into an empty mc the path is:
_root.lineup_display.title_info.comments_load.load Movie("Comments.swf");
when the guestbook mc loads the write comment form is hidden:
this.write._visible=false;
what I want to do is being able to click the addcomment mc so it will reveal the write comment form inside the guestbook loaded mc.
i'm using this function:
addcomment.onRelease = function():Void {
_root.lineup_display.title_info.comments_load.writ e._visible=true;}
or like that:
addcomment.onRelease = function():Void {
this.comments_load.write._visible=true;}
but no success
what am I doing wrong?
cheers
(f8) Issue With Fonts Using Loadmovie
Hi,
I have a main movie, that is used to load other movies into a holder clip. The holder clip is on an even x,y numbers.
I have a seperate movie that has embedded fonts. Not even pixel fonts, just verdana and a few others people may not have. Anyway, when i preview the external movie, the fonts are embedded and look clean an nice. When i load it into the main movie, the fonts look blurry and not clean.
What is causing this if I embedded them in the external movie?
thanks
LoadMovie Issue -- Something Simple
My brain is just GONE over this one, and I know it must be simple.
I have a movie inside of a button. I am trying to load an external .jpg into the movie.
The button is on the root and the instance name is "photo1"
The movie inside the button's instance name is "thumb"
And here's the code I'm using:
Code:
photo1.thumb.loadMovie ("photo01.jpg");
What I doing wrong? Please help. Thanks.
Path Issue With LoadMovie
buenas noches amigos y amigas,
i've ran into a problem and unfortunatly my brain has taken a kit-kat brake. i've been asked to put together a menu for our games that already run on their own but the catch is to keep everything within the same flash movie; avoiding html popup window(s) but this leads me to my problem.
here's a look at the directory:root/
root/index.swf
root/menu.swf
root/interface.swf
root/games/game/game.swf
root/games/game/game.xml
root/games/game/swf/*.swfwith this menu in place (index.swf) when i load root/games/game/game.swf flash doesn't look for its .xml file in the same directory and looks for it in the root.
how do i get around this?
|