Please Help - Load Movie & Set Variable
I'm relatively new to Flash & even more so to Action Scripting - so please forgive my ignorance.
Here's a brief scenerio to my query. I have a rectangle on the main screen we'll call it Life1 which is set to green. When you click on a button it goes to play another scene. When it returns I want it to change colour. The problem I have is that when it returns it reverts back to the original green colour. Hope this makes sense & I know this is basic stuff but would appreciate anyones help. Please e-mail me on stuartpower@ntlworld.com.
Thanks
FlashKit > Flash Help > Flash General Help
Posted on: 12-11-2003, 04:07 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Load Variable From Txt File To Load Movie From Server
my webserver has a dynamic ip adres
now i have a program that writes my ip adress to a static server.
my question:
load textfile and make the link for the swf complete
i think it should look something like this but i can't find it anywere
code:
loadVariablesNum("redirectphp/currentip.txt", 0);
this.gastenboek.loadMovie("http://"+ip+"/flash/Guestbook.swf");
the txt file is like:
&ip=90.128.82.20
the swf file is in flash 7
please help me
Load Variable/load Movie Jpg Question
I'm trying to load a path and a jpg file name from an external file and then apply it to a variable. Then using the LOADMOVIE action I want to use the variable as an expression to load the JPG into a particular movie.
My action script is as follows:
onClipEvent (load) {
loadVariablesNum("sniffer.txt", 0);
}
Sniffer.txt reads
link1=home1.jpg
I then have:
loadMovie(link1, "1");
on frame 2.
The weird thing is that it works in the Debugger but not when I publish it as a SWF or HTML.
Any ideas?
Walt
Load Movie-> Variable+1.swf
Hi
I need some help.
Soppouse I have 3 swf files : "1.swf"; "2.swf" & "3.swf"
I also have a "main.swf"
"Main.swf" is in level 0 and "1.swf" is loaded to level 1.
Now here is my problem:
I want to press a button in the "main.swf" and that it'll load the next "swf" with something like "loadmovie: variabl+1" to get the next "swf" (2.swf) and so on
thak u for your time!
Ofer Hod
Using A Variable To Load A Movie
Hi
I've got a url address of a .jpg file stored as a variable in my movie. I want to be able to load this .jpg into the movie. Every time the movie runs, it will receive a different jpg file to find (out of potentially thousands), hence the solution has to make reference to the contents of variable.
I don't know if this is even possible. I've bought an entire rain-forests worth of books on flash and I've found nothing on the subject.
I'm running Flash MX on a Mac.
If anyone can help or has a solution to this, I would be most grateful.
Thanks
The Yorkshireman
Use Variable Value To Load Movie
i have four buttons , when clicked each one sets a value
for the variable image
on (release) {
image = "image1";
}
now I want to use this value to load a jpg using the variable value and using the loadMovie comand which will be trigered by a movie clip called "holder"
but I dont know hoe to structure the script can some one help me
I'm thinking is something like this
onClipEvent (load) {
loadMovie("variable goes here", "_root.holder");
}
How do I replace "variable goes here" with the variable value, I dont know how to structure it please help me
Using A Variable? To Load A New Movie
I was hoping someone could help me solve a little problem with the Flash site I'm designing.
First, here's what I'm doing - I have a navigation interface in it's own movie being loaded into a base movie. The navigation buttons are loading content movie files into a movie clip container. The content movie files load with an animated transition and then stop. Here's the problem: Now I want to click on a navigation button to load a new content movie, but first I want the current content movie to close with a transition. Right now, the only way I can figure out how to do it is to target a transition out for each other navigation button/area in the site within the current content movie and place a loadmovie action at the end of each transition... LOTS of work!
Here's what I'm thinking should be possible: When a button is clicked to load a new content movie, that button would set a variable (or whatever) that contains the content destiation information (what movie to load) - it also tells the current content movie to play and transition out, and at the end of that single transition, there is an action that grabs that variable and then loads the next content movie. I understand the logic here, I'm just not familiar enough with scripting yet to know what commands to use.
You can see my work in progress to get an idea of what I'm trying to do: http://dev.inetcity.com/masq
The "News" and "The Band" buttons currently demonstrate the loading and unloading of content movies.
Thanks!
Using A Variable? To Load A New Movie
I was hoping someone could help me solve a little problem with the Flash site I'm designing.
First, here's what I'm doing - I have a navigation interface in it's own movie being loaded into a base movie. The navigation buttons are loading content movie files into a movie clip container. The content movie files load with an animated transition and then stop. Here's the problem: Now I want to click on a navigation button to load a new content movie, but first I want the current content movie to close with a transition. Right now, the only way I can figure out how to do it is to target a transition out for each other navigation button/area in the site within the current content movie and place a loadmovie action at the end of each transition... LOTS of work!
Here's what I'm thinking should be possible: When a button is clicked to load a new content movie, that button would set a variable (or whatever) that contains the content destiation information (what movie to load) - it also tells the current content movie to play and transition out, and at the end of that single transition, there is an action that grabs that variable and then loads the next content movie. I understand the logic here, I'm just not familiar enough with scripting yet to know what commands to use.
You can see my work in progress to get an idea of what I'm trying to do: http://dev.inetcity.com/masq
The "News" and "The Band" buttons currently demonstrate the loading and unloading of content movies.
Thanks!
Using A Variable? To Load A New Movie
I was hoping someone could help me solve a little problem with the Flash site I'm designing.
First, here's what I'm doing - I have a navigation interface in it's own movie being loaded into a base movie. The navigation buttons are loading content movie files into a movie clip container. The content movie files load with an animated transition and then stop. Here's the problem: Now I want to click on a navigation button to load a new content movie, but first I want the current content movie to close with a transition. Right now, the only way I can figure out how to do it is to target a transition out for each other navigation button/area in the site within the current content movie and place a loadmovie action at the end of each transition... LOTS of work!
Here's what I'm thinking should be possible: When a button is clicked to load a new content movie, that button would set a variable (or whatever) that contains the content destiation information (what movie to load) - it also tells the current content movie to play and transition out, and at the end of that single transition, there is an action that grabs that variable and then loads the next content movie. I understand the logic here, I'm just not familiar enough with scripting yet to know what commands to use.
You can see my work in progress to get an idea of what I'm trying to do: http://dev.inetcity.com/masq
The "News" and "The Band" buttons currently demonstrate the loading and unloading of content movies.
Thanks!
Using Variable To Load A Movie
I want to load an external swf. I have a first frame that loads my default swf. It preloads and sets up a script that runs with the external movie. But if a user clicks a button, I want it to go back to the first frame and start the process over. But I want the new movie loaded and everything else to happen as normal. So if I have a variable called load. Then on click it equals test.swf. Is it possible on the first frame to load a movie by going loadMovie("load")? On each button the variable would be changed to another swf name. If this isn't possible could someone help me if they understand what I'm trying to do?
[CS3] Load Variable From Another Movie
Hello, I try to load a variable from another movie but I can't.
I have a movie with a button. This movie has a dinamic text field like a counter to know how many times the buttos has pressed. Well, I load this movie from another many times on instances to control the x-y position.
loadMovie("counter.swf", "a0");
loadMovie("counter.swf", "a1");
loadMovie("counter.swf", "a2");
well... when I try to load the variables to check a "password protected site", like
trace(_a0.dinatext.text);
a undefined appears...
Whats the problem?
Thanks.
Load Movie Name From Variable
I'm creating an list of words, each has a unique movie (e.g. "cat" becomes "cat.swf", "dog" becomes "dog.swf" etc)
I'm trying to concatenate each of the words (probably from an array) with the ".swf" extension. This will let me define the first variable for testing verification, and allow me to add the ".swf" for loading.
But I can't get the variable name to concatenate properly with the ".swf".
This is what I have:
Code:
on (press){
catfood = "catfood" + ".swf";
trace(catfood); // this works swell!
loadMovieNum(catfood, 2); // this, not so swell
}
Using A Variable With Load Movie?
I have never been good with variables. I understand the concepts, but I just haven't done it enough to be comfortable with the execution.
Here is what I've got. A main menu with five buttons. When you click each button, it makes all the buttons fade away and move off screen.
This is done by telling the movie clip containing the buttons to go to and play a certain frame.
What I want is to have it so that when the buttons fade away, it knows to load the appropriate movie.
So, when someone clicks the button, I'd like it to set a variable like, button = 1, button = 2, button = 3, etc, then, at the end of the movie clip, it would say loadmovie (button).
But I literally do not know how to do this exactly and make it work. Syntax, etc.
Could you walk me through it?
Thanks.
Variable Load Movie?
I'm trying to load a movie into Flash using variable data I have successfully accessed from the database attached.
How do I set loadmovie to use the contents of a variable as the URL??
Thanks!
Using A Variable With Load Movie.?
I have never been good with variables. I understand the concepts, but I just haven't done it enough to be comfortable with the execution.
Here is what I've got. A main menu with five buttons. When you click each button, it makes all the buttons fade away and move off screen.
This is done by telling the movie clip containing the buttons to go to and play a certain frame.
What I want is to have it so that when the buttons fade away, it knows to load the appropriate movie.
So, when someone clicks the button, I'd like it to set a variable like, button = 1, button = 2, button = 3, etc, then, at the end of the movie clip, it would say loadmovie (button).
But I literally do not know how to do this exactly and make it work. Syntax, etc.
Could you walk me through it?
Thanks.
Load Movie With Variable
Hello everybody, i have a little problem, would be very nice if anybody can help me.
I have 3 levels, from 0 to 2.
In level 1 a variable sets on "1.jpg" if you press a button
script:
on (release) {
_root.img2 = "1.jpg";
}
now i want to load this pic in a movieclip "pig" on level2.
the script is on level2.
script: loadMovie(_level1.img2, pig);
Every reply will make me happy.
Thanx and good bye
Variable With Load Movie
hey folks
i need help...
i have a swf with a variable and i want to replace it with another swf at the same level and i want to keep my variable...
i've tried this : load movie : blabla.swf?variable=1
but when the swf is loaded the variable become undefined
Thanks
Load Movie/store Movie Name In Variable
Good evening Flash men. Uhm, I'm using Flash CS4 and I'm trying setup my fla this way: I want to load different movies with several buttons, and I want to code the buttons in a way that will get the name of the movie to load from a variable. More emphatically, I want to create a variable name lastLoaded to store what was the last movie loaded into the main movie.
Here is what I got thus far:
var my_loader:Loader = new Loader();
addChild(my_loader);
var lastLoaded:String;
myVideos.addEventListener(MouseEvent.MOUSE_DOWN, loadTheBaby);
myCars.addEventListener(MouseEvent.MOUSE_DOWN, loadTheCars);
function loadTheBaby (e:MouseEvent):void{
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myVideos";
}
function loadTheCars(){
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myCars";
}
Here's the error message i'm getting:
1120: Access of undefined property myVideos.
1120: Access of undefined property myCars.
So,clearly, whenever a button is clicked, I want the the name of that button/movie TO BE stored in the variable lastLoaded and I also need the specific movie to load. I need to code it this way because I'm making my own transition animation and not the unattractive ones that Adobe provided. Any assistance will be immensely appreciated...Thank you...
Load Movie/store Movie Name In Variable
Good evening Flash men. Uhm, I'm using Flash CS4 and I'm trying setup my fla this way: I want to load different movies with several buttons, and I want to code the buttons in a way that will get the name of the movie to load from a variable. More emphatically, I want to create a variable name lastLoaded to store what was the last movie loaded into the main movie.
Here is what I got thus far:
var my_loader:Loader = new Loader();
addChild(my_loader);
var lastLoaded:String;
myVideos.addEventListener(MouseEvent.MOUSE_DOWN, loadTheBaby);
myCars.addEventListener(MouseEvent.MOUSE_DOWN, loadTheCars);
function loadTheBaby (e:MouseEvent):void{
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myVideos";
}
function loadTheCars(){
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myCars";
}
Here's the error message i'm getting:
1120: Access of undefined property myVideos.
1120: Access of undefined property myCars.
So,clearly, whenever a button is clicked, I want the the name of that button/movie TO BE stored in the variable lastLoaded and I also need the specific movie to load. I need to code it this way because I'm making my own transition animation and not the unattractive ones that Adobe provided. Any assistance will be immensely appreciated...Thank you...
LOAD MOVIE/STORE MOVIE NAME IN VARIABLE
Good evening Flash men. Uhm, I'm using Flash CS4 and I'm trying setup my fla this way: I want to load different movies with several buttons, and I want to code the buttons in a way that will get the name of the movie to load from a variable. More emphatically, I want to create a variable name lastLoaded to store what was the last movie loaded into the main movie.
Here is what I got thus far:
var my_loader:Loader = new Loader();
addChild(my_loader);
var lastLoaded:String;
myVideos.addEventListener(MouseEvent.MOUSE_DOWN, loadTheBaby);
myCars.addEventListener(MouseEvent.MOUSE_DOWN, loadTheCars);
function loadTheBaby (e:MouseEvent):void{
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myVideos";
}
function loadTheCars(){
my_loader.load(new URLRequest("lastLoaded+.swf"));
lastLoaded="myCars";
}
Here's the error message i'm getting:
1120: Access of undefined property myVideos.
1120: Access of undefined property myCars.
So,clearly, whenever a button is clicked, I want the the name of that button/movie TO BE stored in the variable lastLoaded and I also need the specific movie to load. I need to code it this way because I'm making my own transition animation and not the unattractive ones that Adobe provided. Any assistance will be immensely appreciated...Thank you...
Give A Variable To Load A Movie
Hi everyone...
i need to load a movie-clip into a target clip...
but i don't want to specify an URL...
the path to the .SWF movie is stored in a DB!
So i set a variable (imgurl) and then load the variable
from my DB (by an ASP page that give me an URL encoding).
So, now i've got (imgurl = http...)!
Since here all work fine, and if i try to print the variable it return me the correct url http://localhost...
But!!! =(
I've tryed many times to load a movie with that variable set instead of the URL path (set as expression, method POST) but my movie won't load!!! Why?
Please anyone can help me?
Where i'm wrong?
Thanx =)
A Variable Can Load A Movie-clip?
Hi everyone...
i need to load a movie-clip into a target clip...
but i don't want to specify an URL...
the path to the .SWF movie is stored in a DB!
So i set a variable (imgurl) and then load the variable
from my DB (by an ASP page that give me an URL encoding).
So, now i've got (imgurl = http...)!
Since here all work fine, and if i try to print the variable it return me the correct url http://localhost...
But!!! =(
I've tryed many times to load a movie with that variable set instead of the URL path (set as expression, method POST) but my movie won't load!!! Why?
Please anyone can help me?
Where i'm wrong?
Thanx =)
Load Movie Gotoandstop(variable)
hithere
since days i am trying to solve this problem...and nothing is really working...
i have a mc that is loaded on the _root in my mainmovie.
with in this mc i have a button object mc that checks how long the mc is.
with this number sent to every button as "link" i weant to gotoandstop within this mc.
the problem is that flash seemes to know the "link"-variable because it is moving to that frame but just never stops...flash doesnt care about stop marks also...what am i doing wrong, or am i blind?!
code:
__________________________________________________ _____________
on (release) {
_parent.gotoAndStop(Number(link));
}
on the mc that contains the button:
__________________________________________________ ______________
_parent.frames = _parent._totalFrames;
for (g=1; g<_parent.frames; g++) {
_parent.boxel.duplicateMovieClip("box"+g, g);
boxnam = "box"+g;
_parent[boxnam].link = g;
_parent[boxnam]._x = g*16;
}
}
here is an example:
http://www.cebes.de/00_test/db/modul_flash/test.html
go to portfolio fotografie and the blue typeline
http://www.cebes.de/00_test/db/modul_flash/test.html
Link A Variable To Load A Movie?
hi,
at first sorry for my terrible English! Iam a german
here take a look:
set("_root.menu1.link1.theTitle", "Home");
set("_root.menu1.link2.theTitle", "Story");
set("_root.menu1.link3.theTitle", "Friends");
set("_root.menu1.link4.theTitle", "About Me");
set("_root.menu1.link5.theTitle", "2002 - 2004");
set("_root.menu2.link1.theTitle", "News");
set("_root.menu2.link2.theTitle", "Forum");
set("_root.menu2.link3.theTitle", "Mail Face");
Everything works, but how can i link a variable to a movie or to load a swf.data in a movie ???
help please!
mfg
Load Next Movie From Variable In Txt File
At the end of my swf movie, I need it to call the next movie to be played from a text file that I will be updating from time to time. Anyone know the script I would use to make the movie call from the text file?
Next Button To Load Movie With Variable
I am working on a project with 60 some external fash animations all handled by an interface flash executable.
I just need help setting up my next and back buttons and the variables that will 'feed' them.
The idea is all my external swfs are named for where they go in order (literally 04.swf, 05.swf, 06.swf, 07.swf)
The nav bar at the top will call the intro to each section (say, 05.swf) I want the next button to check the name of the currently loaded swf and add+1 to that number, unload the current swf and load the next swf.
So i figure the next button's script will look something like this:
ActionScript Code:
btnNext.onRelease=function(){
unloadMovie(movSpace);
loadMovie(swfNum+".swf", movSpace);
};
I need a global variable which I'll call swfNum but I'm not sure how to populate that variable, i figure it's an
ActionScript Code:
eval(movSpace)+1
type thing... but i'm not 100% sure I'm on the right track...
Any ideas?
How Do You Load A PHP Variable From The Page Your Movie Is On?
I have a question about PHP variable... say I am loading my flash movie on a php page that has a variable called "myId" in the url of the page (http://www.mysite.com/mypage.php?myId=123).
How can I load that variable (myId) into my flash movie, send it to a php page (http://www.mysite.com/dynamicpage.php?myId=123), and then take the response and populate my movie?
Actually, I just need to know how to send it to a php page. I got the rest I think. Thanks!
Load Movie/variable Problems
If I am going to load a jpg into a window which is better? I am using load movie right, and the site is working fine for me, but there are some saying the photos are not loading for them. I'm trying to save movie size and load time by not making the photos part of the movie, but that's not an option if its not working for everyone
http://platinumprofit.hypermart.net/tishsha
The pics are only 9kb, so It can't be that they are taking too long to load. I wished movies loaded into windows loaded just like the parent movie. I have seen some parts of a movie come up on the screen as they load when someone doesn't use a load page, just like a webpage does. I wish pics loaded like the do on webpages when you load them into a movie so people know it's coming.
Load Movie/ Variable Passing Problems
I have a main movie which loads in a second swf over the top.
My problem is when I flick back from the second movie back to the first (by just gotoAndStop - ing the second movie clip on a blank frame) some of the colour settings that change the overall text and background colours have resorted to their default colour, rather than a colour specified by the user.
I'm guessing it has something to do with variable settings - as that is how my colour settings are changed (in an array). Ive tryed turning on the "pass variables" thingy with bohth get or post methods, and it doesnt seem to make a difference!!
HEEEEEELLP!!!
Basic Problem....using Load Movie With A Variable.
I have never been good with variables. I understand the concepts, but I just haven't done it enough to be comfortable with the execution.
Here is what I've got. A main menu with five buttons. When you click each button, it makes all the buttons fade away and move off screen.
This is done by telling the movie clip containing the buttons to go to and play a certain frame.
What I want is to have it so that when the buttons fade away, it knows to load the appropriate movie.
So, when someone clicks the button, I'd like it to set a variable like, button = 1, button = 2, button = 3, etc, then, at the end of the movie clip, it would say loadmovie (button).
But I literally do not know how to do this exactly and make it work. Syntax, etc.
Could you walk me through it?
Thanks.
Load Swf Into Current Movie And Pass It A Variable
how can use loadMovie to load external swf into current movie and pass it a variable?
all the methods ive tried end up with errors like: cannot load url "blah/blah/example.swf?varname=varcontent"
any ideas?
thanks
ben
Passing A Variable To Load External Movie...
OK,
I have a button, an empty movie clip on the stage where I want the external movie to load into.
the empty movie clip is named "emptymc"
the button has this simple script:
Code:
on (release){
section = "graphicdesign.swf";
gotoAndPlay("fadeout");
}
When the button is triggered it plays the fadeout then at the last keyframe I placed this code:
Code:
stop();
loadMovie("section",this.emptymc);
when I trace it it comes up undefined.
Can anyone help me out? By the way I really suck at coding but I'm trying my best! ^_^
Passing A Variable From HTML To Flash Movie To Have It Load Specific Swf
I think this is possible...but I'm having a hard time figuring out how I should go about it.
This is what I have at present: 4 separate flash movies for each html page on the site. One loads the title of the page (ie. "home", "links", etc), the other is a simple animation that reveals an image (this image is different for every page), the third is just a link to a map that will open in another window (I might get rid of this completely), and finally, the fourth is the menu bar. Each button is coded for a particular url. The menu bar is different for each html page to make it easier to switch from the French content page to the English content page.
What I'd like to do: Is combine the first three movies into one fla, and then have the proper swf loaded for the corresponding HTML page. I'm thinking that I could pass a variable from the HTML page (using javascript)to the main flash movie so that the correct title swf and image swf are loaded. Am I making sense? Is it possible?
LOL...my brain is mush right now and I cannot seem to wrap my head around the javascript/corresponding actionscript for this. I need sleep. :-)
Any suggestions would be greatly appreciated, thanks!
Load Movie... Movie[variable].swf
Hello,
What I want to do is:
set a variable in Scene 1. For example content=3
In Scene 2 I want to load a new SWF with the name
movie[content].swf. So in this case: movie3.swf.
How do I do that? I experimented a bit, but I didn't manage to get it working....
Thanx.
Jeroen
Load One Movie Into Another Movie By Variable Name
I have to get one video to load into another and be controlled from the parent video.
The parent video is to be a player that just plays/ff/rw/stop/pause and sound controls....
the second video can be any .swf ...but, it need to be variable so today if myMovie="video.swf" then that is what would load in the parent movie and if tommorow if myMovie="video_new.swf" then that is what would load into the other movie.
i have attached what i have...I am a novice and in a bit of a jam...
any help would greatly be appreciated.
I have at my disposal flash mx studio and wildform flixpro...
thanks again in advance for any help you might be able to give...
Matt
Problem Passing Variable Values (from XML) To Variable In Child Movie
I'm reading something from XML, and store it in a variable. I can trace the variable and it shows two items. I can display those two seperately with variable[0] and [1], meaning that it works as intended.
After that, I'm calling a movieclip, which is supposed to read that variable.. sadly, it can't do it. So I resorted to passing the content of the first variable to a variable inside the called movieclip. This works, and tracing the second variable shows both items from the first. However, I cannot access the items seperately with variable2[0] for example.
What's the problem? The second variable is currently a string. I tried to declare is as other things (like xml or array) as well, but that didn't help. Is there also a way to make this procedure unnecessary, i.e. can I somehow access the first variable?
I've attached the fla/xml/swf in case my description doesn't make sense!
Can't Update Movie Variable With Loaded Variable
i have a php file that loads an array of variables with paths that load into some text fields in duplicated movie clips. The php path is right, but it just doeasn't load them into the txt fields. How do i get and set the variables???
this gets loaded into th movie from the php file;
_level0.work.client_mc6.web_work.web_mc0.file0 = "rm1.jpg"
but it doesn't replace what is already in there??!!
_level0.work.client_mc0.web_work.web_mc0.file0 = "remove me"
how do i update the old vaiable with the one tha'ts loaded via PHP?
Load Variable From ASP (get Variable) As 2
Hi flash friends,
Im trying to make a SWF that sends some variables (query string) to ASP. Then the ASPfile is responding with "response.write". Everything works great except i dont know how to get the asp-answer back into flash again.
I got a few variables that's added in a movieclip called form, then use this command on the button.
in the flash button, (on release)
Code:
success = 0;
form.loadVariables ("http://xxxx/Code.asp", "GET")
in Code.asp
Code:
response.write "success=1"
Then when i try this command it seems that the success variable dosnt work.
Code:
if (success == 1)
{
gotoAndStop ("success")
}
I have a feeling (i hope) that the answer is quite easy so maybe someone could be nice and help me out.
Thanks for reading/helping!
Does Load Movie LOAD Entire Movie, How Can I Stream It?
i have a load movie loading my music. I have a preloader at the front of my music, but i dont think the preloader is working on load movie. Does the load movie command download the whole movie into cache, or does it just start playing the movie.
IE.. if i have a 5 meg mp3 that i wanna dled and listen to, is it just downloading the whole thing, until the movie is loaded, and then playing, or is it streaming it in?
i tried to make a preloader for it, but it looks like the preloader just instantly zooms across... how can i show status of this movie loading?
thanks
External Movie Will Not Load, But Does Load When I Use 'test Movie'?
I had my external movies loading wonderfully then all of a sudden one of the externals (that I use 'loadmovie' on) will not load? The weird thing is that when I test my movie using 'test movie' in my main movie, it works fine, but when I go to my staging (test) site: www.gbebos.com/Liz/Hit.htm the one movie in 'Earth elements' page will not load, but the other movies i.e. 'Crystal Elegance' and 'Silver Essence' work fine. I made sure that the .swf and .html were transfered to the domain and they are both there.
Any help for this newbie would be greatly appreciated!
Thanks again to ya all at Flashkit!
gbebos
How Do I Stop My Second Movie Load Clearing My First Movie Load?
Hi,
Working on a home page where a swf movie loads and plays on the timeline.
The problem is when the second swf movie loads and plays further along the timeline the first swf movie disappears...I want it to remain on my stage!
Any ideas?
Cheere Jim
Here is the code I'm using to load the swf movies:
this.createEmptyMovieClip ("emptyClip",this.getNextHighestDepth());
emptyClip.LoadMovie(...swf");
Cant Load Variable
I have this script inside my flash movie
----------------------------------------------
onClipEvent (enterFrame) {
if (ini_clip<>1) {
texto = "SOME INFO ABOUT MY SITE";
barscroll.drag = 0;
ini_clip = 1;
}
if (texto.maxscroll>1) {
barscroll.drag_ok = 1;
}
if (barscroll.drag == 0) {
setProperty ("barscroll", _y, (texto.scroll-1)*(120/(texto.maxscroll-1)));
texto.scroll = texto.scroll+dir;
} else if (barscroll.drag == 1) {
texto.scroll = barscroll._y*(texto.maxscroll)/120;
}
}
---------------------------------------
I use it to scroll the text "some info about my site"
Now i want to load the text from a .txt document also on the internet, so i tried to use this
loadVariablesNum ("news.txt", 0);
And in the news.txt i put this line
texto=some info about my site
(i also tried with brackets around it, and with ; at the end, but doesnt work either
But now it suddenly doesnt work anymore at the tutorial from http://lavertue.com/flashkit/load_txt.zip it does work, and i dont see what i've done wrong.
If someone could help me, i'd be very happy.
I hope i've given enough information.
Aiger
Help - Load Variable
Here's the situation:
I have a movie that has an action script to load an external text file into a text box. This works fine on it's own. But I am loading this movie into a target in another movie... the text will not load.
I tried to change the action script which load the text to this:
loadVariables ("reestext.txt", "/content/article");
which is the same target as where the movie is loading. But, this didn't work.
How can I get this text to load into a movie with in a movie??
Load Variable?
a question about load variable.
My current project involves a series of blank text fields that the user will enter information into. Like a fill in the blanks question.
the app then checks the entered information against a series of variables (the correct answers) and then plays a movie that displays the appropriate feedback.
What I need to do is make the correct answer variables dynamic so that the client can make changes without using Flash. What I was hoping to do was load the correct answer variables from a .txt file via loadVariable - but I've never used this action before.
If I have 6 text fields, for instance, all named input1 through input6 how would I go about doing this?
Load Variable
how to load variable from jsp?
I try long time but it can't work!
Load Variable From Swf
Hi All,
i know it is a simple question.....
I have a variable, myVar, defined in data.swf
I load the data.swf into my main.swf, using loadMovie("data.swf","data"), how can i retreive the variable, myVar, into my main.swf??
thanks in advance
Load JS Variable
I've got a script in an HTML file that reads like this
<script language="JavaScript">
var i = 10;
</script>
how do I load that variable's data from within the flash player?
thanks,
// Mike
|