ActionScript 2.0 :: External Loaded Movie Vars
Mar 1, 2004I've loaded a movie into a movie.the loaded movie is loading dynamicly some pics and text. when a movie is loaded, does everey movie got it's own _root?
View 2 RepliesI've loaded a movie into a movie.the loaded movie is loading dynamicly some pics and text. when a movie is loaded, does everey movie got it's own _root?
View 2 RepliesI've loaded a movie into a movie.the loaded movie is loading dynamically some pics and text. when a movie is loaded, does everey movie got it's own _root?
View 2 Repliesso i've got a swf that opens a new window with a swf . (AS3) i want to send these 4 :
[Code]...
how can i send these 4 to the clients.swf and how do i check on the other side if they exist or not ? i searched and got all sort of details about flash -> php , as2 to as3 , swf loaded in the same swf as child etc. But i couldn t not find something spefici to my problem . Also i want to use something like POST so the url looks clean as it is .
I'm trying to access a variable from my main movie in a loaded movie. I can't get it to work however. The movie loads into the main movie but I can't access anything from that main movie. I see that there a few write ups out there about this, but I just can't get it. I attached a zip as well as the source below.
here is the main movie script
function mainTimeline() {
trace ("Just friggin work already");
}
var myNumber:Number = 5;
[Code].....
assigning a level for the external movie(reseller_locations.swf) loaded to a moivie clip(clipHolder)
code
loadMovie("reseller_locations.swf", this._parent.clipHolder);
my problem is that i need to make a reisze, cause the screen resolution for other users. My main and news movie works perfect, but the others movies re-scale everything bigger. The problem of the external loaded movie is: this movie needs the funktion:
Stage.scaleMode = "noScale";
Stage.align = "TL";
If i dont have this code inside the movie is not going to resize fullscreen into the main movie. Inside this movie im scalling photos and some mc's You can take a look what i mean under: [URL]
If you take a look to the bar where the Number of pictures (30) are you will see that the lower bar and the pictures is not going to scale to fill the full screen if i delete the this code;
Stage.scaleMode = "noScale";
Stage.align = "TL";
i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below
[Code]....
and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing.
I'm having trouble dragging a window that I loaded an external movie into.The movie loaded is stuck in one spot.
View 4 RepliesI have a flash movie that has an internal movie clip, when the various buttons are pressed I want to load a movie in place of this original so I have put this script one of the buttons:
[Code]...
However, the new movie is not positioned in the correct place ie - instead of it being in the same position as the original MC the top left corner is positioned in the middle of the stage.
I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.
The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.
My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...
i have a movieclip on timeline, and then i addchild ( a container ) to load an external swf movie on it. Then i want to have a button so i can pause the loaded swf movie.
And my problem is, i can access to it, i can change the properties like the alpha, but i can just stop or pause it.
i've been search and testing many script, but i still can make it work it just a simple task right? i can do it quickly with AS2
My company uses a Flash driven activity engine to deliver various types of quizzes and media and such to students. The engine itself is kind of old; originally developed in 2004 or 2005; we inherited it from another company we bought. It reads XML workflows to deliver the different types of content in different configurations to the user. Basically it is a chain of swfs that load each other, and in turn load various xml and media. ANYWAY, it uses SWFObject and Flashvars to allow loading at different "layers." Meaning one can bypass the splash screen and directly access an individual workflow or question directly. We don't currently have access to the FLA from which this was created, and now, due to hardcoded branding stuff, we have to load the primary swf through another swf to block it out.
My problem is this: the loader swf (start.swf) is absorbing the flashvars and they aren't being passed to the primary swf (shell.swf). I can't edit shell.swf, so I have to figure out a way to get start.swf to pass the flashvars to shell.swf as if shell.swf was getting them directly from the javascript. I'm not so worried about this, found lots of various solutions, but I can't for the life of me figure out how shell.swf is getting the flashvars. So I can't figure out what to pass to shell.swf until I know how shell.swf is coded to access the variables.
I used SWFDecompiler to break down shell.swf and can't seem to find any reference to _root.myVar or _level0.myVar or Application. application. parameters.myVar or root.loaderInfo.parameters.myVar. I've also tried using Cheat Engine and some Flash Trainers to sniff out where the variables are being assigned, but I've run out of things to look for. The only place in the AS where I see the flashvars referenced can be seen here: URL...(flashvars are: subsecid, src, layer, folder_path, and loc). However, I only have a limited understanding what is happening here.[code]
I have a combobox component, when I selecet one lable its loads an external swf file, the movie loads fine after loading movie combobox menu went behind the loaded movie.[code]
View 2 RepliesScenario:
child.swf is loaded in parent.swf
I do not have .fla for child.swf (done by somebody else)
Problem:
The child.swf contains custom context menu. I need to suppress this menu and provide the menu of parent.swf even when child.swf is loaded.
after loading an external movie clip called "mv_frame" into the main flash file , i need to access a movie clip inside the loaded movie called "hit" in as2 we do that using the point (.) to navigate into movie levels , but my question is how to do that in AS3?
View 2 Repliesi loaded an external movie and its buttons dont work but when i test the movie by itself the butts work fine
View 3 RepliesOn some sites i have seen usually portfolio or gallery type sites there are thumbnails, text or some shape that you click on to view a particular image. What I'm getting at is some of the sties show visually that the clip has been loaded with change of alpha (images that are not loaded greyed out and ones that have already been loaded are in colour etc..). An example of what i'm talking about is on [URL] When you click on the menu (selection uno), it loads a particular clip, and throughout the session on the site, u can tell which ones have been loaded and have not. I know there are probably many down and dirty ways of achieving this, but i know there is usually 1 or 2 'proper' methods for doing a particular thing.
View 1 RepliesHow can I find the width of an external jpg BEFORE it's been loaded into my movie? I can easily find the width of it AFTER loading by loading it into an empty movie clip and returning the width of this AFTER the jpg has loaded using the _width command. But what I want is to find the width BEFORE loading.I have tried "trace(1.jpg._width);" but this returns undefined, obviously as 1.jpg is not an object from my library, it's an external file. Any other ideas anyone?!
View 1 RepliesIs there a way i can tell if cerain amount of frames have been loaded? what i have is actionscripted movement. i have these 2 blocks that cover the area where th emovie should be loaded. i tried
_root.container.loadMovie(section + ".swf");
_root.container.ifFrameLoaded (22)<<<<<<<i think this may be wrong
_root.b1.easeY(560,4,false);
_root.b2.easeY(560,4,false);
cuz i wanna knwo once certian frames on the external movie are loaded, to move the blocks back to a spot you cant seem them
On some sites i have seen usually portfolio or gallery type sites there are thumbnails, text or some shape that you click on to view a particular image. What I'm getting at is some of the sties show visually that the clip has been loaded with change of alpha (images that are not loaded greyed out and ones that have already been loaded are in colour etc..).
An example of what i'm talking about is onWhen you click on the menu (selection uno), it loads a particular clip, and throughout the session on the site, u can tell which ones have been loaded and have not.I know there are probably many down and dirty ways of achieving this, but i know there is usually 1 or 2 'proper' methods for doing a particular thing
[URL]
Click on one of the menu options - "corporatecommunications" or "events&entertainment"
I fixed the earlier progressBar problem, but when you click on an image thumbnail to load it, it pops up regular size for maybe 1/30th of a second before being scaled to the proper size.
Here's my code:
Code:
// set a variable to hold image name
var imageNow:String;
// scale empty movie clip that will hold the image
function iHoldSize() {
[Code].....
I have a movie clip in which I loaded an external JPG to. Well, this movie clip works as a thumbnail and, as I click in it, I want the thumb's image to be loaded ("again") in another movie clip. duplicateMovieCLip does not seem to work.I don't want to load the image twice (as it strikes me as bandwidth waste..). Does this make sense? Or must I be load the image twice? (of course..I could use smaller images for thumbnails..)
View 1 RepliesI'm creating an image gallery and looking for a simple way to preload external jpegs (with % loaded) into an empty movie clip.I'm using thumbnails- there are no "next" or previous "buttons".[code]I've been googling/ searching all day.
View 1 RepliesI want to load an external swf and dynamically attach the mc's in the loaded swf to the main movie. Is it possible to reference the linkage properties of the externally loaded swf in this way?
View 1 RepliesIn first frame of my movie I've got this:
PHP Code:
loadVariablesNum("produkter.txt", 0);
import TextField.StyleSheet;
var myCSS:StyleSheet = new StyleSheet();
[Code]....
and a dynamic textbox called "myHTML". If I name 'var' on this textbox everything works fine, but I want to write it in actionsscript instead. Where do I write that? (I have 3 different vars in the text-file)
I am developing an air application where I have to drop an image and save the Image path, width, height to variables and pass those variables to external swf. I load the swf like this:
var myLoader:SWFLoader = new SWFLoader();
var url:URLRequest = new URLRequest("myExternalMovie.swf");
myLoader.load(url);
I am getting this error: the way I am passing the URL of the swf is incorrect and not supported in AIR.
I'd like to set two seperate variables from two external .txt files, while I'm not new to AS 2 this is something I've never had to do and after searching for examples I've found that most apply to dynamic text fields. I simply want to populate some variables
View 0 RepliesI have a main.swf that load a external.swf. How can I get values of vars from the external swf calling from the main??
View 1 RepliesI'm importing a SWF by URLRequest, and I need to read from a var that is in there (actually, is a textfield).
Code:
//loading my local swf file (wich is a keyboard) and placing it where it goes
var request:URLRequest = new URLRequest("keyboard.swf");
var loader:Loader = new Loader();
[Code]....
as I'm trying to cast my displayobjet to a movieclip I though I would be able, but im not
i just recently started programming in flash and so far I have learned a lot, but new questions keep coming up
My problem is that I want to load an external swf in an empty movieclip and then manipulate this loaded swf from my main movie. For example tell it to go to a certain frame. Is such a thing possible?