Professional :: Uses Multiple Swfs To Make Up The Game And Its Elements For Optimisation?
Mar 21, 2010
wonered if someone could help me wih this one. Currently making a facebook game all in flash, it uses multiple swfs to make up the game and its elements for optimisation.
My question really is down to flash cache issue so we can make updates to various swfs that are going to be, site wide for users so the game doesnt break. Currently some users get older versions which breaks things if other swfs have chnaged how they communicate as an example.
I am aware of adding a query string onto the end to force to get the latest version.....however doesnt this make the use of a cache redudant as its being simply overriden? Would jsut like it to work as it should:) If theres a new version of a swf use it..if not use current one.
View 5 Replies
Similar Posts:
Feb 27, 2011
I'm kinda stuck on a project I'm working on and need some guidance. I've been making educational Flash Videos and all the lessons. Each lesson is it's own SWF. I know how to make each SWF into it's own AIR application, but don't know how to get all of them into one AIR application.
Basically I'd like to create an Interface like this:http://bit.ly/h9OKPH Where I have a menu screen where you have all the lessons. When you click on a lesson it will take you to another frame and load the SWF for that lesson. I know I can import all the SWFs into a new Flash File, and then publish an Air Application, but I was hoping for a less time consuming and more resource efficient way to do so (I want the app to be optimized for speed).
View 2 Replies
Aug 25, 2011
I have to create an app for iOS from an existing Flash project. On the stage of the main flash multiple swfs are loaded dynamically . Is it possible to compile, in addition to the main file, all the other swfs too? If I load the swf in the "Included files on Setting AIR for IOS menu, they are copied as swf, making impossible to use the app on iPad.
View 3 Replies
Sep 22, 2010
I have a fla file that has a hardcoded variable which is used to validate that a user has permission to run the swf.The variable hold the number of days from the start of the year. If the current date is later - the swf will not play.I need to generate mutliple swfs each with a different day-code (possibly 100s). Apart from editing the .fla and publishing each time,is there any other method of doing this. For example, the code being read form a file and built into to the swf when publishing.
View 1 Replies
May 12, 2011
I am trying to make multiple levels for my game, I have made 1 level and want to make more, with more challenging aspects. Anyway, I get this error:
[Code]...
View 1 Replies
Oct 7, 2010
I'm building out a Flash / Flex viewer and I'm looking for a tool / software that will recompile several to many SWFs into one SWF file. I have an XML file and would like to load that into a compiler that would compile the SWFs into a single file.
View 7 Replies
Feb 3, 2011
I'm trying to post multiple .swf objects into one html page. The first .swf object plays fine, but the second one does not load. My page is [URL]
Dreamweaver tells me that swfobject.registerObject does not exist, or something like that, but I see this code being used elsewhere. I have swfobject.js in my main folder, too.
View 18 Replies
Aug 28, 2011
In actions for Frame 1:
var myrequest:URLRequest=new URLRequest("A.swf"); var myloader:Loader=new Loader();myloader.load(myrequest);img1.addEventListener(MouseEvent.CLICK,
[code].....
View 7 Replies
Jan 9, 2010
Didn't know if I should be here or in the Dreamweaver forum. Just trying to figure out how to make a Flash swf. start only after all the other elements of the page have been downloaded. Is this something you would do in Flash through Publish Settings or would this be accomplished in Dreamweaver?
View 4 Replies
Mar 27, 2010
trying to make a platform game using a tutorial on emanueleferonato.com, but I dont know how to create multiple levels. How could I create a door that when touched by the hero is sent to the next level? The tutorial is here:
http:[url]......
View 1 Replies
Jul 26, 2010
I have tried this and it doesn't seem to work. In the example below the movie on the right (boy in the hat) is embedded using this procedure but the two on the left (paws moving on order button and dog animation) had to be installed using Dreamweaver's swf installation methodology. and, consequently the dog animation does not show up in Explorer 8 and some other browsers.
[URL]
View 3 Replies
Aug 27, 2011
I am using the following codeIn actions for Frame 1:
var myrequest:URLRequest=new URLRequest("A.swf"); var myloader:Loader=new Loader();myloader.load(myrequest);img1.addEventListener(MouseEvent.CLICK, clickButton);function clickButton(event:MouseEvent):void{
[code].....
View 7 Replies
Aug 13, 2010
I am loading multiple .swfs into multiple .swfs, but the .swf are never being properly unloaded. I thought they were unloading until I started monitoring my Page File Usage and seeing it increase everytime I loaded another external swf.
In using this function to load my content, what would be the proper way/function to unload the content?
[Code]...
View 2 Replies
Jan 26, 2010
Is it generally to position elements relative to other elements or in absolute values?
View 2 Replies
Jul 14, 2011
I want to make a 3D Racing game, becuase i only see crappy overhead one's that are tooo simple to make. so I was wondering the best approach on how to do this. i was thinking of make the race track, as a animation then adding events so when arrow key is moved play event act but then how would the bike react at the same time?
View 15 Replies
Dec 15, 2011
so how would I go about making a DVD game like player 1 vs. player 2 or just player 1 solo in action script 3.0? i know 2.0 well enough and i know a little 3.0 but i am not an expert i am not looking for a complicated game just something simplistic with one question after another I just don't know how to make the options like a right answer a wrong answer and how that would effect scores. or how would i go about if player one got the question right it would go to the next question and if they got it wrong replay the question for player 2 and the points would reflect appropriately also how would i make a time limit for each question? I know you probably wont be able to answer all question I just wanted to convey what I am trying to do.
View 1 Replies
Nov 29, 2010
I'm using Flash CS5 to make an iPod app/game. The provided layout makes the default setup 320x480, which is the standard way to hold your iPod VERTICALLY. I want to flip these dimensions to hold the iPod on it's side during gameplay.
So here's my question: If I just flip the document...to (480x320) will the iPod know how to manage the game from that point on? Or do I need to draw everything horizontally and animate that way too? I tried to do just that, but when I test the scene, it only wants to flip that first frame, so everything flops off screen and it ruins the animation. So how do I develop a HORIZONTAL iPod app/game?
View 1 Replies
Jul 29, 2010
I need to make or buy a template for a simple flash game for a clients website. It has to be legit to buy. It is about 5 pages long. You are asked a question, you select a radio button for the answer to the question, it compiles all your answers and gives you a result.I know flash pretty well but ccording to budget and time.it is best not to have to experiment.
View 2 Replies
Mar 12, 2012
I made a game as the same site URL..Anyone knows how to prevent user open and play game on multiple browser windows at a time?I used flash control to embed flash into aspx page and connect to sql server
View 4 Replies
Mar 6, 2010
how to make a fighting game in flash and i love it.but i was thinking about making my fighting game a game where you can select a character to play as. so i wanted to know if anyone knew a tutorial on how to make a character selection screen for a fighting game.
View 3 Replies
Jul 31, 2011
if I wanted to stop my game so that no input and all ai action seized what the best way to do it is, is there a way besides stop every listener and every timer and ai event?Also I want to kind of make a big 3,2,1 countdown appear in the middle of the screen, what is the best way to do that?? make the symbols and then going visible->invisible for each?
View 2 Replies
Apr 25, 2010
I'm working on a grid based game where a user selects a tile and all the tiles with the same colour that are beside it disappear. Up until now I've been using this very rudimentary method to find the neighbouring tiles with the same colour (see below) but now that the game has gotten more complex and larger grids are involved performance is starting to lag so I optimizing the code. have a Tile class like this:
Code:
package {
public class Tile {
[code]....
View 6 Replies
Oct 5, 2010
Main features I am looking for are carausels and alert boxes.I have already seen Yahoo Astra. Are there any better or comparable libraries ?
View 1 Replies
Mar 7, 2011
Lets say I am working on some basic shooting game that involves lots of moving enemies. The enemies all come from one class that extends movieclip.
I want the enemies to move 10px downwards every frame. At the moment I know of two ways of doing this:
The first is to run a single onEnterFrame function on the main timeline, this function loops through all of the enemies on the screen calling a function in the enemy class that contains "x+=10".
The second is to put the onEnterFrame function inside the constructor function of the enemy class that would then contain the "x+=10".
Both give the same result but is one less work for the computer than the other? The first has a big loop that accesses all of the enemies, the second has an "onEnterFrame" running for each of the enemies.
View 6 Replies
Jun 13, 2009
I was trying to make a game, and the character inside the game could swim. However, I only wanted him to swim in short bursts that refueled every time he hit the ground.
View 9 Replies
Aug 19, 2010
can you make a button have multiple functions? as in if i click a button one and imahe will pop up and then click that same button and another different image will pop up??
View 1 Replies
Dec 8, 2011
I created an animation in Flash that is 14 frames, I need it to be 1 frame long, but still have to have the animation. Is there any way to make it 1 frame and keep the animation?
View 2 Replies
Apr 1, 2011
how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3
View 1 Replies
Nov 8, 2010
I have multiple angle images of an object and I want the result to be the same as the link here. [URL] I don't know flash at all but it seems like there would be a simple program (even if I have to pay) that allows me to import the images, set the rotation speed and other settings and then hit export to .flv file or something. Does anyone know of a program to do this, or a simple method?
View 3 Replies
Jun 21, 2009
I'm trying to detect multiple elements in an array. My countTicks:Array contains mostly numbers and below you can see I'm using "logical AND" to try and find them.
The problem is, once I have more than 2 "logical ANDs" (&&) the trace gets called. Which it shouldn't because the array wouldn't yet hold those numbers.
PHP Code:
countTicks = function(){
for (var i = 0; i < tickCount.length; i++){
if (tickCount[i] == 1&&2&&4&&5){
[Code].....
View 5 Replies