I'm made a simple preloader that works fine for my main movie. Now I need it to work when loading external movies.Below is the code I'm using (AS 2.0) for the preloader.
I want to create a website having one main stage file(main.fla) with different swfs(movie1.swf, movie2.swf,movie3.swf) for various sections. Am not sure what I am doing wrong here but somehow when I click the button it does not load the respective flash file
I have obtained the Free Video to Flash Converter v 4.7.25 build 602 from www.dvdvideosoft.com, and find it creates flash movies from my .wmv files fine.
I selected the 'New Maxi' player and after converting a file, sample HTML script is provided to put onto a web page. Also, it directs copying the contents of the folder in which the movie is created into the folder that contains the web page.
I've done this OK, as can be seen on [URL] where there are four movies selectable amongst the 'still' pictures (e.g. 9th row, first column).
Each uses a hyperlink to a separate page for each movie containing the script provided above in its own folder with the copied contents mentioned above. This all works OK, and enables a full-screen view of the movies if required.
My query concerns the fact that I duplicate most of the files and folders for each movie page, when only the actual .flv and preview .jpg are different.
I've tried putting the 'common' files into a separate folder ( fl ) and only keeping the html page and settings.xml in each movie page folder. I put all four flv files in the fl.videos folder.
I amend the references to swfobject and videoPlayer in the individual four movie html pages by putting ../fl/ in front, and similarly with the videos location in settings.xml
When I do this, I get a black rectangle, but no controls, no start picture and no video.
Is it necessary to unload Movies in Flash, or can I keep multiple movies loaded simultaneously? Are there memory requirements that make it necessary to limit the number of Flash movies loaded at one time?
I bought a template from flashmo which comes one main flash file and photoalbum fl. file. The main flash file plays swf. file from photoalbum. I like to create many photoalbums and play them on the main file.I have no idea how to do that. I spend hours and hours searching online but I cannot find information.The actionscript that is related to playing movie is below.
import mx.transitions.*; import mx.transitions.easing.*; // var numMenuX = 605;
In short I am trying to have a looping movie clip (already an flv) on the 1st frame with a button that goes to the next frame where the movie only plays once (transition) and goes to frame 3,loads up a menu with a movie clip thats looping and from then a menu that links to other looping movies on different frames with text etc.
how to do a search function accross multimple swf movies in a cd rom. The situation is like this: i m making an elearning project where i have around 17 to 18 chapters. Now, all the chapters are in flash and they are seperate movies. Now, if someone wants to search for something inside the cd, like say, they are searching for "entertica" then all the pages that is related to that word should show up.. like google search.
I am having problems with attaching multiple instances of the same mc, and tring to get an onMouseDown event for each of them.
The problem is that if I mousedown on one of the attached mc's, then all the attached mc's will trigger the onMouseDown event instead of only the one I clicked on.
the trace returns "onMouseDown called on 1" ...."n" instead of a single trace statement.
code:
function createSlideIcons(num){ var targetMC:MovieClip = this.form1.slideNav.slider; var spacer = 5;
I'm trying to load multiple .swf's into a horizontally expandable flash page (it's for a portfolio). The problem is, being a bit of novice when it comes to actionscript, I can't work out how to create the correct spacing for my images. I've got the code below but obviously the x position is simply a fixed amount (210px) which is no good as some images are much wider than others. I've tried to use _width to make the spacing dependent on the swf width but nothing seems to work.
I have a movie with a blank mc on the stage. I have it set up so that when you press the RIGHT keyboard key it loads another movie in that mc. Here's the code for that:
If I have more than one movie, how do I code it so that when I press the RIGHT key again it loads another movie as well as goes back when I press the LEFT?
the flash movies I am working on contain many dynamic text boxes. I need to embed the fonts in each movies (about 15) in order to have characters, caps, punctuation and accents.
Right now, the flash files are only 5-10kb, but when I embed the font, they become 50-60kb. I know this is normal. However, I would like to be able export the font only once, and have it attached to all movies.
I'm using flash CL4, and here is the thing:I got a few minigames that I made in flash, each is a separate file, and now I've made a new file which is gonna be the menu to navigate between them. What I want is that a user can press "game1" button, in my menu flash file and he get to my game1 flash game. Likewise with game2, game3 etc.
How do I do this? is it possible to import my flash games into this menu file, and still get it clean? I tried doing it, but it gets very messy with all the timelines and such.Or would it be easier to just do a URL link and redirect the user to the different files when he press one of the game buttons?
Most of my flash movies have been reasonable sizes, but the one I'm working on now is kind of a beast. It's up against the 16000 frame limit, so I'm looking into ways to chop it up. The problem is that I need a way to keep my background music playing across multiple scenes or movies. Is there a way to start a sound file in one movie, and have it continue when another scene is loaded or when a second movie file is loaded with ActionScript?
I'm making a binary socket server for Flash and I'm trying to figure out a way to run Multiple clients in a local environment for testing purposes. Tried to run the exported flash movie in my browser (to open multiple tabs of flash swf) but I just could not figure out how to solve the cross-domain problem. I'm running my server right from my PC (localhost) and just simply want to test my darn Flash document multiple times so I can simulate multiple clients.
i am loading some thumbnails from an xml file into a movieclip using attachMovie() - each thumbnail loaded is in it's own MC inside the 'container' MC. everything works great but i need to be able to scroll the thumbnails b/c the number of thumbnails can change but the space they have to fit into cannot. make sense? if attach them to a scrollpane or a textarea instead of a MC it only shows the last thumnail loaded or iterated in the for loop.
Code: articleNos = seasArts.firstChild.firstChild.childNodes.length; var item_spacing = 55; var item_count = 0;
The random motion tutorial works just perfectly with one movieclip, but when I try to make a new movie clip and assign the same code to it, it really doesn't duplicate at all. The original movieclip has an instance name of dot so I created a new movieclip with instance name of dottwo.But for some reasob the following code doesn't duplicate the dottwo at all
i = 0; while (i<25) { dot.duplicateMovieClip("dot"+i, i);
What i want to do is assign actions to each individual movieclip using a for loop.. let me explain Say i have 5 MovieClips on the stage... With instance names clip1, clip2, clip3.... Now what i want to do is assign a OnRollOver and OnRelease to each 1 So individual code for each would be something like this.
Im making a game in which you controll some gattling AA guns..you start of with one and can later buy more...the gattling gun itself consist of 3 different movie clips and 1 text box (dynamic)WHen you buy more gattling guns later on , i just want to duplicate the original gattlinggun and let you place it anywere on the ground you want...
Firing is all good and dandy, each gun aims at mouse cursor and spews out bullets.. but for added realism ive made it so that each gun Can Jam (short delay befre can fire again)this does not work however because (as far as i can tell) what happens in 1 movie also happens in the others, so if 1 jams(the dynamic text box changes to JAM) all turrets get JAM in them(sticky i know)... now i want to know how do i make each movie completly separate , so they do not inherit properties from eachother...
I have a question in Flash play/pause button. I have created a flash slideshow which was exceeding 16000 frames, so I've split the movie into two. I'm loading the second movie at the end of the main movie using loadMovieNum. I have placed the play/pause button in the main movie which works fine until the second movie loads. This used to work for me in the older version of Flash (flash 8).I'm using CS4 now.
I'm having a really strange problem with movieclips that use a mask for reflection. On my main timeline I'm creating two instances of a movieclip named 'item'. In item.as I'm setting buttonmode and cacheAsBitmap to true, then setting a gradient movieclip as a mask. When I run the movie I am only getting the clickable hand icon when I hover over the first clip. However, if I comment out 'this.mask = mask_mc' then both clips are selectable.
Main Timeline Code: Select allvar item_mc = new item(); item_mc.x = 0; item_mc.y = 100; addChild(item_mc); var item_mc2 = new item(); [Code] .....
We have a flash website built using flex and CS3. Majority of the site has been done using flex. We have multiple flash movies on a page and we obviously have the page loading very slow. Now that we are looking into options for making the page fast, we are trying to understand whether we can run these flash movies in parallel ? Is there some provision in CS3 to make the flash understand that this object will be loaded and ran first and then the second object.
... I've had my preloader successes already, but something still doesn't work for the external movies... I'm loading the main movie - which contains several chapters, loaded as external swf's - with the following preloader on the first frame, rest content from second frame on:
I posted a tread about this yesterday but I think I wasn't clear enough so here's the details of my project. Lets say I have 5 page to load and I want them to load all at the same time. [code]...
And my last concern is that I want to be sure that once the loading (for all the pages) have been executed, when the user enters the other pages they won't see the preloader or it will take less than 1 sec to go trough it.
I have 5 page to load and I want them to load all at the same time. The address (not real) of the pages could be: [URL]s. In each folder, there's a index.html that have a swf called main.swf in it. So for example, if someone writes [URL] I want a preloader to start and load the 5 main.swf in the 5 folders and when it's done, it should play the main.swf of the address written (in this example contact).
So in this example I imagine I would have a preloader.swf in every folder, since I want to be sure that the user will preload the entire website whatever the way he uses to enter it (from index-from sitemap-from direct address or bookmark). And my last concern is that I want to be sure that once the loading (for all the pages) have been executed, when the user enters the other pages they won't see the preloader or it will take less than 1 sec to go trough it.