Absolute Address In Load Movie
sorry for the newbie question, using MX on mac 10.2.6
How do I do an absolute address. Say the file is "menu.swf", and the folder it is in is "source" and I am using the load movie command:
loadMovieNum("menu.swf", 5);
And the file that is loading it is "top.swf" and it resides just outside the "source" folder in the "all" folder.
all (folder) top.swf source (folder) menu.swf
I just don't know what the correct labeling/mark would be ( / , _ " ) etc...
what would be the full load movie command for this example.
thanks in advance for this simple question.
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-06-2003, 12:36 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Absolute Address For #include?
Hello,
Is it possible to specify an absolute address for referencing loaded actionscript files using the #include command, i.e. can I pull it from a folder or does it have to be in the same directory as the .swf?
I keep getting this error...
Malformed #include directive
Any ideas peeps?
Load Movie Based On Explorer Address?
Hi!
I've got a question for all of you FLASH-masters out there.
I'm currently working on a website, based on ASP and a database. It loads the content on the page from a database.
Now to the problem. I've got a flash menu/image viewer at the top of the page. ( ex. When I klick on "About" the menu/movie clip shows an "About" image). The problem is that the website is based on only ONE page (default.asp) So, whenever I klick on a link, let's say "About" the page reloads and the About page is shown, BUT! the flash menu/movie is reloaded and moves back to the start of the timeline ( In this case the "welcome" image).
My question is: Is there a way to tell what part of the movie clip to be shown based on the explorer address, or is there another way around this problem?
I don't want to use frames on my website because then the scroller is "miss placed".
I hope I have explaind my problem fairly well, so you all can understan what the h*ll I'm talking about.
Thank you!
Load Variables From Address Bar
i founded out, there is a way to load vars from addressbar like ../movie.swf?user=fphilipe .
i don't know how it works but i know it works. ultrashock uses this in the main page:
<param name=movie value="homepage-new78.swf?initData=Hey+Fphilipe%2C+welcome+back+%21%21%21%0AYour+last+visit+was+on%0A2004-01-19+18%3A32">
does somebody knows how it works???
Load Variables From Address Bar
is there a way to load variables from the address bar?
i mean like "../flash.html?name=BlaBla&email=blabla@bla.com"
it shoulds appear in the flash movie inside the html in dynamicfields.
Load Variables From Address + Username Add
i am trying to make a login for my site and i have the save text files to my server and that takes what ever you put in as your username and save a txt file that is username.txt so if you put in steven as your username it would save steven.txt
Any way i have that working and i need a login but i cannot get it to look somewhere on my server and what ever is in username it will load up that file +".txt" can you help me get it looking in say /members/username add ".txt"
[F8] AS2 Load A Variable Via IP Address Link?
Hi All
I'm currently having a problem with loadVariables.
Is it possible to load a variable in a text file into flash player via the IP address to the text file?
i.e.: loadVariables ("\172.17.62.5animation$FSCOMMANDkey.txt", this);
The above code does not work
================================================== ==============
What I'm trying to do:
I have developed Flash projects for a client Company that are run via flash exe's.
These projects sit on a network server. This company is now concerned about the security of these projects.
If someone should copy the files off the server they should not play.
I thought of a solution that has a text file on the server with a variable that is loaded into the player at runtime. The link to this txt should be absolute, so if the folder is copied off the server and taken off site the flash player will no longer be able to find the network folder with the text file.
Does this required php, asp etc?
Or is there another way to load a variable into flash player from a IP addressed folder?
================================================== ==============
PATH on server:
\172.17.62.5animation$FSCOMMAND
Txt file text is:
&Keylock=786
The code in my flash file:
loadVariables ("key.txt", this); //load the Keylock variable into flash
trace(Keylock);//trace "786"
KeyDisplay=Keylock//Dynamic textbox to show 786 on screen
LockVar = parseInt(Keylock);//Set LockVar variable to Keylock value and convert 786 string to int
trace("Lock = "+LockVar);
//
if (LockVar == 786) {//if statement checks value and sends the playhead accordingly
gotoAndStop("Menu", 1);
} else if (LockVar != 786) {
gotoAndStop(20);
}
Thanks for your time and assistance it is appreciated
-Aslam
Load A Variable Via IP Address Link?
Hi All
I'm currently having a problem with loadVariables.
Is it possible to load a variable in a text file into flash player via the IP address to the text file?
i.e.: loadVariables ("\172.17.62.5animation$FSCOMMANDkey.txt", this);
The above code does not work
================================================== ==============
What I'm trying to do:
I have developed Flash projects for a client Company that are run via flash exe's.
These projects sit on a network server. This company is now concerned about the security of these projects.
If someone should copy the files off the server they should not play.
I thought of a solution that has a text file on the server with a variable that is loaded into the player at runtime. The link to this txt should be absolute, so if the folder is copied off the server and taken off site the flash player will no longer be able to find the network folder with the text file.
Does this required php, asp etc?
Or is there another way to load a variable into flash player from a IP addressed folder?
================================================== ==============
PATH on server:
\172.17.62.5animation$FSCOMMAND
Txt file text is:
&Keylock=786
The code in my flash file:
loadVariables ("key.txt", this); //load the Keylock variable into flash
trace(Keylock);//trace "786"
KeyDisplay=Keylock//Dynamic textbox to show 786 on screen
LockVar = parseInt(Keylock);//Set LockVar variable to Keylock value and convert 786 string to int
trace("Lock = "+LockVar);
//
if (LockVar == 786) {//if statement checks value and sends the playhead accordingly
gotoAndStop("Menu", 1);
} else if (LockVar != 786) {
gotoAndStop(20);
}
Thanks for your time and assistance it is appreciated
-Aslam
Load Variables From What The User Types In Address Bar
Hi,
I was just surfing and suddenly I found this site... www.youaremyfriend.com
How this site function really surprised me and I really want to learn how I can do the same thing myself. I hope some of you help me
What the site does is that you can put your first and last name before the domain name in the address bar and the flash file will use your enterd first and last name in the playing animation! Try this... www.Jack.Smith.youaremyfriend.com
Have any idea how it works?
Hadi
Absolute FullScreen Movie?
Hi
I've seen a flash movie (.swf) that when opens ,completely covers my desktop.even there is no flash player border or taskbar.
I tried Fscommand(fullscreen,true) but it is absolutely different.I think that only an exe file can do such fullscreen mode
but really it is a .swf file.
Do you know how it works?
HOW TO : Load Email Address From A .txt File For A Mailto Button
I have been trying to do this for a while and have fallen on my face.
I can't get my head around loadvars..... can't spot similar anywhere on the board, so here goes....
i wish to have a button which on release loads an email address from a text file, then sends using on(release); "mailto:email@email.com"
So that the recipient can be altered in a text file by changing the variable there, not in the flash file.
any ideas how i do that !?!
thanks very much for any hints in advance.... C
Load Variables Email Address From Text File Anyone?
I have the code below attached to a movieclip which i am attempting to use to call in an email address from a text file. The idea being that the textfile can be altered by a luddite, and the recipient email adress changed in the flash file.... but i'm not doing too well...!
The best i have achieved is undefined email or garbage.
all help greatfully received. thanks.
___________________________________
on (rollOver) {
this.gotoAndPlay(2);
}
on (release) {
loadText = function(){
loadText = new LoadVars();
loadText.load("email.txt");
loadText.onLoad = function() {
emailAddress = this.eAddress;
}
}
submit.onRelease = function(){
getURL("mailto:"+emailAddress);
}
}
on (rollout) {
this.gotoAndPlay(1);
Placing A Movie Or Any Object On Absolute Top.
This has to be a very simple thing to do but I can't figure it out.
When summoning a movie object.... how do I force it so that it is always on top (of everything like as if it is a popupmenu)? Is there an action script I can add so that it does this?
Currently, when I attach a movie from a different timeline... only those things on that time line are below the movie. Objects from a different time line remain on top of this movie object obstructing my view.
Any ideas to remedy this problem?
Thank you for the help.
Absolute Position Of Movie To Monitor/screen
hi
i'm looking for an answer since hours now, and it might well be that this is finally going to drive me mad!
what i want to do is the following:
I'm having this site in a browser window (that's where most sites are, hehe), it's completely one single flash movie.
on(release) of a certain button inside this movie i use
getURL("javascript:window.open(blabla)");
to open a popup.
now i want this popup to be always in the same place of that flash layout, no matter where the browser window is or how big or whatever.
thing is: to open a popup you have to provide an absolute screen(i mean monitor/screen not flash mx/screen)-position like 0,0 being the left upper corner of your monitor.
so i end up needing to know what the absolute screen-position of my main flash-movie is...
would be soo glad if anybody had any (any) solution for this
thanks
d
How To Move A Movie Clip To Absolute Coordinate
Hi All,
I am making a sliding submenu.
http://www.teamhayes.net/multicom/multicom_02.html
When you go to the portfolio section and click on the buttons "Brand strategy", "Packaging" or "collateral" the submenu moves to a new y value on the screen. I am using this script to move the movie clip in the submenu
on (release){
this.tester.mc._y=90
}
It works until you use the scroll (up/down arrows)buttons on the submenu the when you click on "Brand strategy", "Packaging" or "collateral" buttons you see the y value is relative to the last position the submenu was in.
I need to know how to move the movie clip to an absolute y coordinate on the stage.
Here is the link to the test site:
http://www.teamhayes.net/multicom/multicom_02.html
I hope this makes sense.
Movie Clip To Absolute Bottom Left
Hi, I'm working on a tutorial that I saw on http://www.gotoAndLearn.com. It shows me how to put something in the absolute center
Quote:
loaderClip._x = Stage.width / 2;
loaderClip._y = Stage.height / 2;
But what If I want to put something in the absolute bottom left? I know it's not so hard but I can't get it to work or find my flash book! thanks
Help. Dynamic Movie Targeting Address.
here's my problem:
i need goTo to concatenate and becom part of a movie target address in a few different movie addresses see below.
i think it has to be somthing like this sample (unrelated to my stuff below just a sample from moock asdg)
clipcount = "B"
clipA["clipB"+clipcount].stop // invoke method on clipB
i have a function that gets a string passed to it when it is invoked on the main timeline like this:
code:
goTo = "sect2_1";
_level0.doWhat(goTo);
the function doWhat does a bunch of stuff and will do it to different movies based on goTo. i need goTo to concatenate and becom part of the movie target address in a few different ways:
code:
function doWhat(goTo) {
if (goTo == "sect2_1") {
//set repalaceWith to be a path to this sections transControl
//instead of "_level0.sect2_1.holder.transControl"
//i need "_level0.the sting of goTo.holder.transControl"
replaceWith = _level0.sect2_1.holder.transControl;
//put it on top
_level0.swapit();
//setHistory
_level0.setHistory(replaceWho);
//load or play the new section
if (_level0.sect2_1.imThere == false) {
trace("loading "+goTo); //outputs: "loading sect2_1"
//load the movie
//_level0.sect2_1.holder.loadMovie("sect2_1.swf"); <- **this works
[_level0.goTo+".holder"].loadMovie("sect2_1.swf"); //<- not working why?
//show the preloader
preloader();
}
if (_level0.sect2_1.imThere == true) {
//set transition to play through because the movie is loaded
//_level0.sect2_1.transition = "go";
//make them _visible alphafader_as makes 'em _visible false after _alpha hits zero
_level0.makeVisible(replaceWith);
replaceWith.gotoAndPlay("fadeIn");
}
}
}
thanks so much if you can help me with this!
--grish
Address The Frames In A Movie Clip.
Hi there Could someone please help me.
On the main timeline there is one frame with a movie labeled mc. Inside the movie there is 5 frames each with a keyframe and each frame holds a picture. The first frame has been labeled "test"
On the main time line I have a button.
For the button I have put the script
on (rollOver) {
gotoAndStop("test");
}
It doesn't work.
I tried this code.
on (rollOver) {
gotoAndStop("mc.test");
Doesn't work.
If I put the button in the movie it works but I need to have the button on the main time line.
How do I address the frames in a Movie clip.
I'm using script 2
Thanks for your ideas
Tiaka
Using A Variable Name To Address A Movie Clip
I'm stuck on how to refer to a movieclip's name through a variable.
If I set root variable "currentMovie = bigRed_mc;", how can I use that variable name to instruct the movie to address the movie clip name stored in said variable?
for instance "_root.currentMovie.gotoAndPlay("destroy");" wouldn't work because it would simply look for that movie clip name and come up empty.
I thought "_root[currentMovie]gotoAndPlay("destroy"); would work, with or without parenthesis, but it comes up with syntax errors either way. Can you use a variable to store and refer to a movie clip name and it's properties? If so, what is the proper syntax?
Thanks in advance for any help!
How Find The Address Of The Page A Movie Is In?
I'd like my movie to be able to find what page it is sitting in so it can change pictures depending upon the section (it's a HTML hybrid - I don't want to have a different Flash for each section)
Any way to accomplish this at all? Would cookies be the way to go?
Finding The Address Of Clips In A Loaded Movie
hey there... I am having some troubles with finding the address of some clips in a loaded movie.
Basically I am loading a number of movies into a movie clip on my main timeline, then I want to be able to access the clips at runtime, to play them at different stages of the presentation...
So,
I have my main swf, which at runtime loads a number of secondary swfs (referenced by an xml doc) and in each of those secondary swfs are 3-5 movie clips which I want to be able to manipulate...
How do I do this?
anyone?
How To Address The Main Timeline From The Loaded Movie?
Hi,
i got a movie loaded in my main timeline(_root) in the frame 20.
and i got a stop() action as well in the same frame. Am loading the movie at a level8. now, i want once the loaded movie is finished playing, i want the main timeline's playHead move to frame21.
so, what i did was, i written the code in last frame of the loading movie like this:
_root.gotoAndStop(21);
\this doesn't work.
__root.nextFrame();
\this too doesn't work.
can i use some sort of function, to sort my problem?
How To Address Main Timeline From The Loaded Movie?
Hi,
i got a movie loaded in my main timeline(_root) in the frame 20.
and i got a stop() action as well in the same frame. Am loading the movie at a level8. now, i want once the loaded movie is finished playing, i want the main timeline's playHead move to frame21.
so, what i did was, i written the code in last frame of the loading movie like this:
_root.gotoAndStop(21);
\this doesn't work.
__root.nextFrame();
\this too doesn't work.
can i use some sort of function, to sort my problem?
How Do You Dynamically Address A Movie Clip Via A Variable?
I am having great difficulty trying to figure out how to dynamically address a movie clip by using a variable name that contains the name of the movie clip.
Below is a portion of my code, it works ONLY if I HARDCODE the movie clip instance name into the "gotoAndPlay" line which will not work for my application:
var i:Number = 0;
var lotNum:Number;
var lotNumFlag:Number;
var propStatus:Number;
var currentLot:Number;
var clipPosition:String;
function getTheStatus_Result (re : ResultEvent)
{
lotNumFlag = re.result.items[0].Lot;
propStatus = re.result.items[0].Status;
currentLot = lotNumFlag;
if (propStatus == "active") {
clipPosition = "upGreen";
["Lot_mc"+currentLot].gotoAndPlay(clipPosition);
}
}
In the case above currentLot = 1
if i substitute the last line of the IF statement with:
Lot_mc1.gotoAndPlay(clipPosition);
it will work, but the "Lot_mc*" name must come from a variable, as it needs to be dynamically generated as there will be MANY different movie clips such at Lot_mc1 thru Lot_mc50. And this code is part of a loop that progresses through all of the movie clip names so they cannot be hardcoded..
Any help would be appreciated, I would think what I want to do here should be possible, somehow...?
Steve
Inconsistencies In Flash Movie When WWW Not Present In Address Bar
This is causing me a problem with dynamic text, which does not appear in the
movie (Flash 8 Pro in Firefox/IE/Opera) when www is not used in the address
bar (simondavies.info - Projects page).
Anybody?
Cheers
Tezza
See also a post on 23/04/07 with Subject: What happens differently when
using and not using www in the address bar
Sending Email Problems Address Movie Clip
Hi
Hope someone can help, am new to flash, and trying to setup a contact page which is working, however this contact page is loaded as level1 movieclip, (i.e. Modular) I have used the example from http://www.kirupa.com/developer/actionscript/flash_php_email.htm which when running the contact page by itself works fine, however as soon as i use within a loaded level it never goes to the Thank you page, but does send the email, the part which is causeing problems i believe is
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
I have change the _root to level1 but still no success, any ideas?
J
How To Address A Button On The 5th Frame Of A Movie Clip With Action Script Located On The First Frame Of The Main Time
I'm trying to make a button appear on frame 10 of a movie clip and write actionscript on the main time line that addresses that frame 10 button. I'm not sure of the method I need to do to get that frame 10 button to get a url. I tested the same button when put on frame 1 and it worked, but I'm not sure how to address buttons and other symbols that appear as a result of the playhead moving to different places on movie clip time lines.
Can anyone help, or give me a link?
Thanks
Dennis
Attach Code
//works
_root.buttons_mc.go_btn.onRelease = function(){
_root.mall_mc.gotoAndPlay(1);
//a stop action is placed on frame 10 of the mall_mc movie clip
};
//this button is inside the mall_mc movie clip on frame 10
//doesn't work
_root.mall_mc.url_btn.onRelease = function(){
getURL("http://yahoo.com");
};
//An instance of the same url_btn is dragged on to frame 1 of the mall_mc
//movie clip and given an instance name url_frame1_btn
//works
_root.mall_mc.url_frame1_btn.onRelease = function(){
getURL("http://yahoo.com");
};
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");
Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,
I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.
There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.
Regards,
designable
Chromeless Windows That Open On Movie Load Or Load Of Html Page (Flash Ad Kit)
Hi guys,
I was wondering if someone could help me out in creating these flash ads that appear out of nowhere. I see them mostly on rediffmail, yahoo and about.com.
I know how to create a popup window on button click, but how you do that without a button.
There's another dimension of ads nowadays. They are the transparent ads. They really look cool. Could someone with this knowledge pleeeeeeeeese help me out. I urgently need to create these ads.
Regards,
designable
Scrollpane - Load Swf - Load Movie Symbol Controled By Buttons And Variables?
Ok i have searched the board, and racked my brain and read hundreads of bit and pieces. So far 'not happy jan'. Anyhow I thought well I shall start a thread where first I ask a question of 'can it be done' then go away try and do it and if fail 'ask how to do it' or if suceed then say 'how i did it'. Of course all questions are going to relate back to this original post so no new threads need to be started. Anyhow onto my question!!
I have a website I want to make. so I started... called it 'site.swf'. now site.swf has a scrollpane in it called 'content'.
Now I have also created 'home.swf' which has 2 movie symbols in it. one called 'homein' the other 'homeout'.
'Homein' is located in frame1 of home.swf and 'homeout' is located in frame2.
When site.swf loads I want to load home.swf into 'content' and home.swf plays 'homein'.
When the user clicks on the first button (in site.swf) 'content' plays 'homeout' before loading 'button1.swf' into 'content' and playing 'button1in'
see the pattern forming. Now I am sure this has been asked thousands of times, but I haven't found it once. At least in a form that is easy to understand.
Now can this method be done, or do i need to go away and rethink it. (my main reason for loading external.swf's is because i wish to preload where needed).
If all this can be done tell me now... I am sure I need to use 2 variables.... 'loadedmovie' and 'tobeloaded' to communiticate with 'content' and to follow the users clicks of buttons.
Thanks for any help.
Trent
Movie Taking Long Time To Load, Needs To Load Faster
I am a loading several movies into level 2 of the main movie. The movie is taking up to 1.35secs to load. The issue is that the images are too big. Can I do something about the movie itself or do I need to compress the images more?
(mx) Transfering Actions Which Load With Movie To Load When Button Is Pressed
hi,
I have some code which draws a line when the mouse is pressed (to when it is released)
This code is within an object, loads when the movie starts and works fine:
Code:
// ***** Set some opening parameters
onClipEvent (load) {
// Make original line invisible
_root.line._visible = 0;
// Initiate some variables
number_lines = 0;
line_active = 0;
}
// ***** Every time the mouse button is released...
onClipEvent (mouseDown) {
// Get the position of the mouse
origin_x = _xmouse;
origin_y = _ymouse;
// Increase the number of lines by one
number_lines++;
// Generate a new line name
name = "line"+number_lines;
// Duplicate a new line
_root.line.duplicateMovieClip(name,number_lines);
// Position the line's end point at mouse position
_root[name]._x = origin_x;
_root[name]._y = origin_y;
// Update line length / orientation
_root[name]._xscale = _root._xmouse - origin_x;
_root[name]._yscale = _root._ymouse - origin_y;
// If this is the start of a new shape
if (!line_active) {
// Set the line tracking variable
line_active = 1;
// Set the start point of the new shape
start_x = origin_x;
start_y = origin_y;
}
}
onClipEvent (mouseUp) {
line_active = 0;
}
// ***** Every time the mouse is moved
onClipEvent (mouseMove) {
// If there's a line currently being drawn...
if (line_active) {
// Update line length / orientation
_root[name]._xscale = _root._xmouse - origin_x;
_root[name]._yscale = _root._ymouse - origin_y;
updateAfterEvent();
}
}
I want the user to press a button before this code is usable - just as with any drawing program.
How do i go about telling the code only to start when the button has been pressed?
thanks,
jeff
Load A Xml File That Contains Urls - Want 2 Load A Movie Instead Of Open URL Links
i'm just wondering how does one go about to load an xml / text file into a text box.. this text file - has url links.. or a href tags.. how do i change it such that the url links can call actionscripts instead of opening the window to a url..
does that make sense?? if it still doens't - go to www.praystation.com
if you click on the "news" section - his urls open/load movie clips how do i make something similar to that
thanks
Load Movie...Park/Play...Load A Button Into Level
Okay, I tried the Park/Play tutorial in order to load a movieclip and have a button on the stage that controls the main movie. Problem is that I have a background that covers up my button which is in level0. My movie clip is in level1. How do I bring that button out in front of the background? Do I load it into level2? If so, how do I do this?
Thanks alot,
Roger
Absolute _x, _y
I have a need to find the absolute _x, _y position of a movie that is several movieclips deep within a dynamic flashpage. Each of the movieclips prior have been rotated dynamically and I need to find out where my target movie clip is based on the _root context.
I have contemplated creating a function that can handle this but it would probably take a bit of time and there are, I am sure other people who have run across this who have figured out what to do here. Can anyone point me to a script that might save me a small headache? I would much appreciate it!
~Orion
Absolute _x And _y
i need to make a movieclips _x and _y absolute to the stage so that i can duplicate a movie clip to the _x and _y of the mc without it just duplicating to the top of the stage (did anyone get that or was my english too bad?)
Absolute?)
I have a flash movie in an ASP.NET web application (I am software dev not a flash person). The SWF looks at an XML file that passes in an image url that is then in turn displayed on in that movie:
http://wisetopic.com/profile/index02.aspx?userid=66
In the XML the image path I pass I have tried several options. Here is the image:
http://wisetopic.com/_mediaStore/image/1.jpg
I tried the actual url (above). I tried relative (../../_mediaStore/image/1.jpg) I tried root relative (/_mediaStore/image/1.jpg)
The SWF lives in
root - /profile/userPlayer/UserPlayer.swf
the XML is in the same directory. The HTML page is
root - /profile/
None of them work!! What the heck?! Please heeelp me!
-- jenni
URGENT Load Movie Doesnt Load Textfields
i mad a form in flash that send the variables to a php email script. The problem i am having is that the form loads into my main movie but when it loads it doesnt load the text fields. I have border.BG checked and everything seems to be in order. Please get back to me a.s.a.p. ANYONE I HAVE ONE DAY TO COMPLETE THIS!!!! blinero@email.com
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 Movie Into Empty Clip On Page Load
I have a series buttons and two empty clips on the main page (one to hold the text and the other to hold the pictures / slide show) I have all the buttons working and loading the text etc correctly.
My problem is that when my page firsts loads all I have is the buttons. I want to have the empty clip that holds my text have my "welcome" load when the page loads (without clicking on any buttons).
I have tried using
onClipEvent(enterFrame) {
loadMovie("welcome.swf",this.mtTextClip);
}
but I get an error message that clip events are only allowed on movie clip instances and as I want this to happen when the page loads there isn't an instance name...
Clear as Mud??
Load A Flash Movie To A Random Frame Each Load
I have created a flash file that fades from one picture to the next. However, I would like to find an actionscipt that will allow the flash movie to load to different each time the page is visited/refreshed. That way visitors don't have to see the same image each time the visit the my page, but can still sit and watch all of them if they want. Also I would want to be able to specify which frames are available for load. That way the page will always load at the begining of each image animation... not right in the middle of it switching to the next image.
Any help is greatly appreciated!
Load A Flash Movie To Specified Random Frames Each Load
Group:
I am trying to find a Actionscript where I can specify random frames and have the movie randomly load to the specified frames each time the page is viewed. The below scrip was given last time I posted this question, but it doesn't seem to load at the specified frames. Sometimes it does, sometimes it load right in the middle of an animation. You can see in the code below I would like the movie to load at frames 1, 116, 231, 346. Any suggestions?
_____________________________________________________
Array.prototype.shuffle = function() {
for (var ivar = this.length-1; ivar>=0; ivar--) {
var p = random(ivar+1);
var t = this[ivar];
this[ivar] = this[p];
this[p] = t;
}
};
ASSetPropFlags(Array.prototype, ["shuffle"], 1, 1);
var Array_ar:Array = new Array(1, 116, 231, 346);
Array_ar.shuffle();
index = 0;
function load_random() {
gotoAndPlay(Array_ar[index++]);
if (index == Array_ar.length) {
(index=0);
}
}
load_random();
|