ActionScript 2.0 :: Load External Swf In The Exact Place?
Oct 7, 2005
I bought a template website and I understand pretty much all of the AS by now that they use. But I would like to decrease the file size so I wanted to load things externally. Here's a layout:Main Timeline:page1movieclips of all kinds plus a thumbnail scrollbar to load some other movieclips inside page1.page2page3page4code on the buttons inside the thumbnail scrollbar:
on (rollOver) {
gotoAndPlay(2);
}
[code].....
View 1 Replies
Similar Posts:
Jun 26, 2009
im creating a portfolio website that primarily uses flv videos for graphics. For example, if you click to go to another section of the website a video plays that actually walks you to that area. What I want to do is be able to load a different video when a button is clicked in the exact same place as the old one. I currently have a working class that plays a video
[Code]...
I want to some how be able to change the variable flvName on the click of a button on my stage and recall the class to change the video. If you can think of an alternate way of doing what i need to do id love to hear it.
View 0 Replies
Jun 8, 2009
on my stage are 5 buttons, each with the name of a product. i want to be able to hover over each product and see a Description of the product with a "learn more" link at the bottom of the description. the problem is that i want the Descriptions for each product to appear in the exact same place.
if the hit area of each button covers only the button itself, you can't click the "learn more" link because it disappears when you move off the buttonif the hit area of each button covers the Description area, the hit areas overlap each other. this causes the Description to always show the same thing (i think it is the Description of the last button i added) if you are hovering over anything besides an actual button.
View 6 Replies
Jul 31, 2010
I have made many small swf files for each section of my website. The problem is now I want to club them all together to avoid breaks and showing of the loader at inappropriate moments, I know that was poor planning on my part. I want to know I can place an external swf onto the stage, so that it gets loaded with the main swf. As in, I don't want to call a loadMovie or loadClip
View 1 Replies
Aug 12, 2009
I have a problem loading in external swf's. I have one MovieClip in main.swf that is called pageHolders, and I assigned a class: Main.as. My problem is that I am trying to load external swf's from XML and place them into pageHolders, but I cant understand how.
ActionScript Code:
package {
import flash.display.*;
import flash.net.*;
import flash.events.*;
import pageHolders;
[Code] .....
View 4 Replies
Apr 2, 2009
How to write a simple script to load 3 external swf into one place and make it play one by one continuously?
View 6 Replies
Sep 13, 2010
Is it best to load the preloader from external file or place it directly into an already existing movie?
View 3 Replies
Jan 13, 2010
I have a script that calls for an external swf file. It can import the file no problem but it is always the same size. The problem is that I made the swf file with smaller dimensions and it is still to larger in my window.[code]...
View 1 Replies
Aug 20, 2009
I am building a flash site, and I wanted to know if I can load a web page (my blog to be exact) into a Flash page under my logo and menu. Is this even possible?
View 2 Replies
Sep 7, 2010
I'm making a mockup for a client and I need to Load the .swf with the exact stage size so the graphic elements do not float outside the loaded movies stage area. [URL]Basic load code I'm using...
Actionscript Code:
import flash.display.*;var adLoader1:Loader = new Loader();adLoader1.load(new URLRequest("100828_budlight_texas_fight_728x90_jn.swf"));adLoader1.x = 313;adLoader1.y = 162;addChild(adLoader1);var adLoader3:Loader = new Loader();adLoader3.load(new URLRequest("100828_budlight_texas_fight_300x615_jn.swf"));adLoader3.x = 738;adLoader3.y = 0;addChild(adLoader3);
View 3 Replies
Jun 4, 2011
I have a main.swf in which i load a xml flash slideshow (.swf). I want to place a menu which will be shown in front of the slideshow gallery. I place the menu at an upper layer but the menu appears behind the slideshow. generally(i.e. in case i want to place something else on top or behind something else)
View 7 Replies
Sep 1, 2010
How to load the images from the url field into the swf.I sort of get that there's a 'for each' routine involved to place images on x and y .. but how to actually load the image into the swf? [code]...
View 9 Replies
Sep 15, 2007
I am trying to place an external .swf into my main movie.
I created a container movie for the .swf in the main .fla:
Code:
this.createEmptyMovieClip("mapcontainer",this.getNextHighestDepth );
mapcontainer._x = 163;
mapcontainer._y = 101;
[Code]....
I imagine that the solution lies in readjusting _root for the fact that the external .swf is now placed inside a parent, but I don't know how to do that.
n.b. my final movie is meant to run offline.
View 2 Replies
Apr 27, 2006
I wanted this focus off, a class mate gave me a good javascript file to fix this. as you can see it is fixed at [url]...html you can see my problem now, the page doesn't load at the right place anymore.
View 6 Replies
Feb 22, 2011
I'm trying to load an image with the following code but sometimes the image wont end up in the right place.
[Code]...
View 1 Replies
Aug 1, 2010
I have a menu that when you click on a button, an external swf is called up. However I would like for the buttons in the Over and Down state to show an image on top of the external swf with a description of what the video is about (Basically when they rollover the button).
The problem is that the image shows behind the external swf. I cannot get it to appear on top of the external swf. I have tried putting the buttons layer on top of the actions layer but that doesn't work.
View 1 Replies
Oct 9, 2009
I have tried everything i know to get this to work but nothing has. I am trying to place external file by calling the url into my movie. It works but I cannot position it. I have tried using mc but when i do that the file will not load. my script is below whith the url.
//load Movie Behavior
if(this == Number(this)){
loadMovieNum("http://void.snocap.com/s/T3-31324-KUSPN325KQ-S/",this);
[Code].....
View 0 Replies
Aug 1, 2010
I have a menu that when you click on a button, an external swf is called up. However I would like for the buttons in the Over and Down state to show an image on top of the external swf with a description of what the video is about (Basically when they rollover the button).The problem is that the image shows behind the external swf. I cannot get it to appear on top of the external swf. I have tried putting the buttons layer on top of the actions layer but that doesn't work.
View 1 Replies
Jan 19, 2008
I'm trying to unload a movieclip when it's pressed and load another one in its place. For some reason the loaded movieclip is always being loaded at row 7 column 10.
Code:
var columns:Number = 10;
var rows:Number = 7;
for (i=0; i<rows; i++) {
for (j=0; j<columns; j++) {
[code]....
View 1 Replies
Mar 23, 2004
i have an intro_mc that is a bit to long.i thought of spliting up the _mc into several and having them load and play 1 by 1. i need help with the scripting on this and where to place the script so that the _mc can reconize to load the next_mc while the present 1 is playing
View 5 Replies
Feb 22, 2011
i try to implement a preloader for my site but i have the following problems:once the preloader is finished it opens my external swf but this one appears below the preloader and very little in the window (almost smaller than my preloader size)
package classes
{
import flash.display.MovieClip;
[code].....
View 0 Replies
May 4, 2010
Neste caso não quero criar um movie clipe apartir de código. o movie clip , já existe no palco.o traço que aparece no canto inferiro da tela indica o arquivo externo, mas como referência o traço está no centro do arquivo. a referência é o quadro cinza.
Código:
stop();alvo1.loadMovie("conforto.swf");
o movie clipe esta instaciado como " alvo1" .
estou ultilizando o action script 2.0.
In this in case that I do not want to create one movie clip to apartir of code. movie clip, already exists in palco. the trace that appears in it I sing inferiro of the screen indicates the external archive, but as reference the trace is in the center of the archive. the reference is the gray picture.
stop (); alvo1.loadMovie ("conforto.swf"); movie clip this instaciado as " alvo1" .
I am ultilizando action script 2.0 the reference is the gray picture.
View 5 Replies
Feb 1, 2011
How to make this smoke effect work without mouse input. I am trying to have it spill from the end of a cannon, & my attempts to modify the position have resulted in all my bitmaps shifting. I changed this
doTrail(_root, _xmouse, _ymouse, currentBitmap);
To this
doTrail(_root, _x=80, _y=100, currentBitmap);
[Code] .....
View 0 Replies
Apr 8, 2005
how can i duplicate a movie clip and then place it on a certain place on the stage
View 5 Replies
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
Aug 21, 2010
I've used .x = and .y = with the position I want and the pane continues to show up in the top left corner instead. What am I doing wrong?
View 2 Replies
Mar 7, 2008
how can we place hundreds of instances of one movieclip on different place?
for exemple, pacman:
how should i code the placement of all the money?
i would go:
_root.attachMovie(
_root.attachMovie(
_root.attachMovie(
but that's not the good solution is it?
there must be a code to do that without hundreds of lines of code.
View 3 Replies
Oct 17, 2004
I am pulling external images, I have my main image, and five small images, I have that to make the small images when click to appear in the place of the main image, but I am not obtaining to make they to click, I am placing my archive who to want to make download
View 2 Replies
May 28, 2007
Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.
View 4 Replies
May 6, 2011
I have a Flex application that just load an external SWF, but the application load and unload infinitely my swf.
[Code]...
View 2 Replies