ActionScript 3.0 :: Position External Swf Movie?

Mar 24, 2011

i have a peice of code to load two external swf files, the problem is that both the files load in to different positions i have a position x,y snippet but the probelm is for that to work i need for both external movies to load in to the same place, is there a way that i can define which movie i want to position.?

ActionScript Code:
var fl_Loader:Loader = new Loader();
addChild(fl_Loader);

[code]...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: How To Position External Movie

Feb 27, 2010

I have downloaded a flash movie from flashkit tutorial and now I want that movie to load in another movie but either its not loading properly or its not positioning properly.

[Code]...

View 1 Replies

ActionScript 2.0 :: Start External SWF When Movie Clip Gets To Y Position?

Mar 3, 2008

I have one movie clip that when clicked on moves to the left of the screen, after it gets there I want another and exteral swf to load. But I dont know how to get the external clip to load after the movie clip gets to the left side of the screen....Here is what I got so far..

square_mc.onRelease = function()
{ square_mc._x = 30;
square_mc._y = 180;

[code]....

when square_mc get to the Y position of 180, run the external clip.

View 5 Replies

ActionScript 2.0 :: Mouse X Position To Control Movie Position?

Feb 1, 2006

Basically the x position of the mouse should control the play position of a movie. Do I need something like an event handler (I'm not sure exactly what these do, but I've seen similar scripts that seem to use them).

View 2 Replies

ActionScript 3.0 :: Position Of External Sound In External Swf?

Jul 23, 2010

In trying to activate the remainder of the pause button, I find that using MovieClip(loader.content).channel.position always returns 0. I've tried numerous other combinations to access the position of the sound for the play function to resume correctly. The visual part of extswf.swf stops and starts exactly as it should.

In CntlClass:
public var loader:Loader;
public var movie_mc:MovieClip;
public var soundResume:int = 0;[code].........

View 2 Replies

ActionScript 2.0 :: Loading An External Movie Through An External Movie To The Main Movie?

Apr 30, 2003

I am creating a full site in flash. The main movie has an empty movie clip in the middle of the movie to load external movies as the user clicks on the links. Everything has worked good so far as the linking has only gone 1 level deep. However, when I created a new external movie, and had buttons on it for another external page, but yet to open in the main movie, I can't get anything to work. Example.... In the main movie, the user clicks on the archive link, and the external archive movie is loaded into the main movie. Now, on this archive movie, there is a button on it that links to a another movie (say text effects.swf). However, when they click this button for text effects, I can't get it to load into the main movie clip and replace the archive movie that was currenlty there.

View 14 Replies

ActionScript 3.0 :: Set Position For External Flv?

Nov 19, 2010

I have been having major trouble using embedded FLV's as anyone who has read [url]...

I have tried using externalk FLV files instead. They are only small, basically they are a persons animated face with some talking.

I do not require a player so have selected none, which is fine. I have had to move them and use the freetransform tool to get some of them to fit in the right palces perfectly.

However, when I publish the movie the FLV's are in different places to where they appear in the fla?

View 2 Replies

ActionScript 3.0 :: External Swf Not Loading In Right Position?

Jul 19, 2010

I have an external swf that im loading onto my main.fla but it loads into the bottom right corner of the stage and i would prefer it on the stage.

This is the code i am using in the subMenu movieclip which contains all the buttons to call external movieclips:

[Code]...

View 4 Replies

ActionScript 3.0 :: Position An External Swf Being Loaded?

Apr 9, 2009

I have an external swf loading on a button and it appears at the bottom right corner of my main, this is a problem cuz its about the same size as my main and so its cut off the screen. Is there a way to position the X and Y coords when it loads?

View 1 Replies

ActionScript 2.0 :: Cannot Correctly Position External Swf

May 18, 2010

I'm using a Loader component to load and external swf which dynamically loads external jpegs (it's a photo gallery). When I test the movie locally all looks well with the external swf positioned exactly where I put it on the main stage. However, once loaded to my web host the external swf is bumped downward about 150 px.

View 1 Replies

ActionScript 1/2 :: Load An External Swf At A Specific X & Y Position?

Sep 26, 2009

I am trying to load an external swf at a specific x& y pos. from a button. This is the code I am using :

on (release) {gotoAndPlay(4);loadMovie("gallery.swf",1); xpos="7", ypos="119"; 
}

The movie loads fine if I remove xpos="7", ypos="119";How do I get it to load at that specific position?

View 3 Replies

ActionScript 3.0 :: Load External SWF File Position?

May 18, 2010

I want to load that SWF file in the center of the screen.

I got "loader(the variable that loads external SWF file)" and I don't know how to assign the X and Y position of that loader in the center of the screen.

here is my code.....

ActionScript Code:
var myStage:Stage = this.stage;
myStage.scaleMode = StageScaleMode.NO_SCALE;
myStage.align = StageAlign.TOP_LEFT;

[Code]....

View 0 Replies

ActionScript 3.0 :: External SWF Position In Liquid Layout?

Jan 6, 2011

I am making a liquid flash site with a video player which loads within the central movieclip. When the site loads everything sits in place perfectly, however if the browser is rescaled in anyway the external swf pushes up to the top of the screen and stays there permanently. This is the link to the site:http:[url]...... It's not the liquid layout code for the mc as this rescales fine, just the external swf doesn't. This is the code I am using to load the external swf also:

var Xpos:Number = 0.5;
var Ypos:Number = 0.5;
var swf:MovieClip;[code].....

View 2 Replies

ActionScript 2.0 :: [CS5] External Swf Into Movieclip Scale And Position?

Feb 2, 2011

[URL]while in "portfolio" section, if you resize, the content go to the left.I know WHY it does it : while in a MC, an external movieclip lose his stagesize to compress into the movieclip, if resize, it use the size of ALL the content in the SWF to resize. the external fla stage is 1600 x 680, but the content goes out of the stage to the right to make an 1760 x 680 size.to make it LOAD at the right place and right size, i've got a layer with a MC (externalStageSize) in the external SWF that is the size of the Stage, while on frame 1, only this MC(externalStageSize) is active, so when loaded, the _level0 flash can position and scale the external SWF.

BUT, while active content is on, any live resize does not go well..I tried to "connect" the scaling with (externalStageSize) BUT once loaded the size does not change.I wanted to use the math : "new width" = ("allcontent".width / externalStageSize._width)/Stage.width but _level0.ContentMC.externalStageSize._width return the value it have in the flash... like, even if rescale, it will say "1600" is there a way to counter this ? before you ask : AS3 was out of the question because the person who will maintain the site is not that advanced.

some script used when resize :
ContenuMC : the movieclip in witch external swf is loaded

Code:
function setContent() {
// content dimensions
ContenuMC._width = Stage.width;

[code]....

View 1 Replies

ActionScript 2.0 :: CS4 : Get An External Swf To Load And POSITION In Main File?

Apr 14, 2010

I'm trying to get a swf file to play in a main swf file. I can get it to play, but it always appears in the top left corner. I've tried several different methods to position it but every one of them either doesn't work or won't play the file.Here's what I'm using right now.

Actionscript Code:
stop();loadMovieNum("circles.swf", 1);var xset = 381;var yset = 179;

The swf plays just fine, but it won't take the coordinates.I also need to get it to stop when I go back and the command

Actionscript Code:
unloadMovieNum(circles.swf);

doesn't work.A tutor in my class showed me a method to place the swf into a box on the main stage without doing a lot of scripting, just putting in some file-name and size/position references, but he's not available right now to ask how he got that started.

View 5 Replies

ActionScript 3.0 :: Sending Position Of Objects To External Script

Oct 7, 2009

I have a flash script which creates instances of movie clips and stores them in an array. What I want the script to perform next, is when clicking a "save" button the position and the movieclip class name of each created instance will be sent to an external script to store.

View 6 Replies

ActionScript 3.0 :: Position External Swfs On Main Stage?

Jan 3, 2011

figure this out I am using this code inside my nav movieclip to load external movie clips on the main stage

Code:
var Xpos:Number = 110;
var Ypos:Number = 180;

[code].......

View 3 Replies

Load Movie In X And Y Position?

Apr 28, 2009

I have a Flash movie with a movieclip inside called main (main has been dragged into the stage).In main at certain frame I have[code]...

Which loads teletipo.swf but in a x=0 and y=0 position. As I need it in a x=320 and y=165 position I've done[code]...

View 2 Replies

ActionScript 2.0 :: Set The Movie Position?

Dec 29, 2004

I just like to know how to set the movie position with actionscript?

View 1 Replies

ActionScript 2.0 :: Fix The Position Of The Movie?

Dec 18, 2006

_root.caption.image_mc.loadMovie("essaicomplex.swf "); On each thumbnail gallery, by passing the mouse over a thumb It loads a SWF ( larger picture of the thumbnail) till now it is great. BUT 1 : I can not fix the position of the movie and 2 : the so called "swf-movie" moves together with my mouse. I want it locked. I turn around but do not find.
What do I have to modify ??

View 11 Replies

ActionScript 2.0 :: How To Set Movie Position

Dec 29, 2004

I just like to know how to set the movie position with actionscript?

View 1 Replies

ActionScript 3.0 :: Duplicate A Movie Clip In Original Movie Clip Position?

Aug 30, 2011

I have several movie clips on the stage. They are draggable. I want to be able to drag the movie clip, then when it is dropped, a copy of that movie clip will appear where the first one had been, and the first one will just stay where it is on the screen.

However, I'm running into problems with the syntax.

Here is my current code:

[Code].....

View 14 Replies

Interchange Position Of Movie Clips?

Jul 16, 2009

I have 3 movie clips A, B, C on stage. I wish to shuffle the positions of movie clips, that is B take over the position of A, B take over the position of C and C take over the position of A and so on, each time their locations are interchanged.

View 15 Replies

ActionScript 3.0 :: Timeline Position Of Movie?

Sep 2, 2010

How to find Timeline Position of my Movie.

View 16 Replies

Css :: Position Movie Over Flash Website?

Nov 9, 2009

I need to make myself walk in front of my Flash website. All I have is a movie with a white background. Does anyone know the process? Using Flash 8.

View 2 Replies

IDE :: Add A Movie Clip To A Button Position?

Dec 2, 2009

how do i add a movie clip to a button position? i want a button that, when clicked, slides out to a certain position and stop. kinda like a drawer in a desk.

View 1 Replies

ActionScript 2.0 :: Load Movie Into Position?

Nov 22, 2004

i created an empty movie clip called 'iranmc' and i want to load a swf file into 'iranmc'. So, on 'iranmc', i applied this script

onClipEvent (load) {
loadMovieNum("iran.swf", "iranmc");
}

However, problem is..when previewed,it doesn't play in iranmc, but it pops up an Internet Explorer browser and plays the video in there.

[URL]

View 2 Replies

ActionScript 2.0 :: Condition For Movie Position?

Jun 26, 2004

I have a menu that is in frame one extended through frame 5. Frame 1-4 is used for the main page content of the movie, while frame 5 has a movieclip that uses the loadmovie command from the menu objects to go to. Frame 5 is also using the label "gallery". Now, when i am in the movie on the main page and click a menu selection (Little People button) the script reads as follows:

on (release) {
_root.gotoAndPlay("gallery");
loadMovie("galleries/littlePeople/set1.swf", _root.thumbs);
}

So this takes you from frame 1 (the main page of the movie) to frame 5 (where the loadmovie is for the gallery images).The problem arises when i click on another gallery selection (Big People button) and it goes to the "gallery" marker again because the script reads the following, and it does not load the movie until you hit the button again.

on (release) {
_root.gotoAndPlay("gallery");
loadMovie("galleries/bigPeople/set1.swf", _root.thumbs);
}

Now, i think i can solve the problem by writing an if then statement where if the playback head (or movie position, whatever you want to call it) on the root timeline is at the label "gallery" then it does not need to run the first command in the on (release) and just loads the movie, but if the playback head is anywhere OTHER than the label "gallery", like say on the label "contact" then run the script to go to the gallery marker and then load the movie i want to load.

View 6 Replies

ActionScript 2.0 :: [Flash8] Place An External Swf File On It In A Desired Position When The Corresponding Page Is Being Loaded + Scaling

Aug 18, 2006

I have a flash file (a flash navigation bar actually, which gets loaded in all the webpages inside the website). What I am trying to do is place an external swf file on it in a desired position when the corresponding page is being loaded. I am using FlashVars (variable name -> 'movieName') to pass the name of the movie clips. These variables are read by the navigation swf file and the corresponding swf file should be loaded in the area specified. Now, to create a container, I am using createEmptyMovieClip() method which will host all the external swf files.

The swf files are all being loaded but with a lot of problems. First, no matter what I try, the swf file comes at a fixed place (which is way off from where it is supposed to be). I have tried checking if the container loaded the movie before fixing its position but it changed nothing. Although it did change the position of a weird background colour box I am getting when the movie starts loading - which brings me to the second problem.

A rectangular box flashes once when the external swf is loaded, and its position is being affected by whatever I am setting the _x & _y values of the container movies to. I have no idea why it is happening as it doesn't happen when I test that swf seperately.

[Code]...

View 1 Replies

ActionScript 2.0 :: Loading External XML On An External Server Into Flash Movie When It Is Uploaded

Jun 4, 2004

[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved