AS3 :: Packaging External Files Into One Stand-alone.swf ?
Jun 13, 2011
I've created a very large scale Flash game and have apparently had a massive oversight - the flash portal websites wishing to host my game need it in one stand alone .swf. However, the problem is I load everything externally. I load the level data from .plist files, the images from .png and the sound from .wav, all located in folders in the .swf directory. They're loaded through Loader's and URLRequest.
Is there any way I can embed these so it will run as a stand alone? Preferably an easier way than individually writing embed lines, as there are 1000s of files.
View 1 Replies
Similar Posts:
Feb 17, 2011
I'd like my application to be pretty light so it loads quickly. So i'd like to place all my assets (XML files, graphics, etc) outside from the main Air file and when the main Air file is loaded into memory, I'd like it to load in the asset files at runtimeSo how do I go about telling Flash builder to save my asset files locally when it packages my Air Application and also ensure I can access these files while debudding my application?
View 2 Replies
Oct 7, 2009
Is it possible to generate an executable file from a flash executable file? A client has requested a quote from that will allow them to do the following: This whole thing needs to reside on a CD/DVD.
There is a bank of 10 images. The user selects any 5 images they want. The user saves those 5 images as a slideshow / powerpoint / executable file?
Are there other utilities that can do this kind of thing? Is flash the wrong development tool? Are there other tools out there that perform this type of function?
Google has provided no results for me. I've often lurked through the forums here and I thought that maybe the community here may have some answers as I can't seem to find them anywhere.
View 1 Replies
Jan 27, 2009
i am currently working on a project that would be greatly advanced if i can find out how to package a number of assets into a SWC file so i can use it as a theme pack.I have looked everywhere on the web and in a large number of books i have sitting in front of me and cant find out how to do it.
I want to put a bunch of images and movieclips into a SWC file and then retreive the swc dynamically at run time, however i do not know how to access indiviual assets within how to load an SWC and then gain acces to its assets?
View 4 Replies
Nov 5, 2009
I'm trying to create a motion comic using elements of 3d flash. I am trying to animate symbols on multiple layers, and then package all that into a movieclip so that movieclip in turn can be moved to display the 3d elements.
Whenever I create this containing movieclip, the layers (and thus the animation) are left behind, with the images being put into the movieclip.
View 1 Replies
Dec 13, 2010
Is there a way to package/store XML files in a compiled SWF and parse through them at runtime?
View 2 Replies
Jul 19, 2011
I'm working on making a pretty chunky game engine for games I plan on making, but I was wondering if you make external AS files unopenable such as .lib files, so that if I give it to a friend that wants to use it, he/she cannot change my code. Is there anyway to make external AS files unopenable? Also, obfuscation isn't an option for this problem as it only stops the people who hack the finished product, not stopping people who have access to the actual files.
View 2 Replies
Feb 22, 2010
I have tried the options given on Adobe Livedocs : adt -package -target native myApp.exe myApp.air, but I keep getting the message "-storetype required". I then try with adt -package -target native -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp.air and get the same message. I have already created the .air file and the .p12 cert file in flexbuilder, and am just pointing to these in the command prompt in the specified places, but the same problem occurs. Any ideas?
View 1 Replies
Jan 23, 2010
what is the easiest way to do this?
View 9 Replies
Jul 15, 2009
put the macromedia logo on your cd packaging.I have done a multimedia cd that has significant flash content.Do i need to put an adobe logo on the packaging.
View 1 Replies
Jun 28, 2011
I have developed a very simple app in flash cs5 and am ready to upload it to android market. However, users need adobe air to run it. Does anyone know if there is some way to package the app with air? I want to make it as easy as possible for people to run the app. Users will be prompted to download air and I can put this information on the apps page on android market but if there is some way to iclude this in the apk I'd love to know. Can't seem to find information on it on the web.
View 2 Replies
Mar 26, 2011
how should i run a timer in a class(.as file) to my timeline? im getting cofused by stage then timer? or direct code for timer?i got error and it says implicit coercion of a value of type Class to an unrelated type flash.utils:Timer.
Code:
package {
import flash.display.Stage;
import flash.events.Event
[code]...
View 1 Replies
Feb 23, 2012
I have this application that is basically the ubiqutous page turning component you can find online, but modified for mobile. It's for kid's storybooks. It's a mobile flex application in FlashBuilder 4.6. When I export release build for my mobile project, I see an option for desktop .air packaging rather than mobile. Works and looks great....but you can't sell a .air file on Mac App Store. I want to bundle the air runtime to create a .app, which hopefully I can get on the app store. However, this option is not available in a mobile project. I've tried figuring it out via commandline...
[Code]...
View 1 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
Feb 23, 2011
I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:
[Code]....
View 1 Replies
May 17, 2011
I'm packiging AIR app both on Mac and on Windows. On Mac everything goes well, but on Windows I get an error.
Myapp-app.xml: error 102: Invalid namespace [URL]
I have latest SDK's installed on both machines, although Flash Builder is newer on Mac. Does the Flash Builder version even matter?
View 1 Replies
Apr 24, 2010
Lets say I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any limitation or setting preventing external swfs loading other content?
View 2 Replies
May 3, 2009
I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.I can' find these ASO files anywhere on mycomputer.Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie.There are no loops of any kind in the code, which is below.
//This is the Person.as file:
class Person { public var HomName:String = "unknown"; public var HomEmail:String = "unknown"; public var HomPhone:String = "unknown"; public var HomSaveFreq:Number = 0;
[code]......
View 27 Replies
Apr 24, 2010
I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any security limitation or setting preventing external swfs loading other content?
View 3 Replies
Jul 20, 2011
I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4GB. No single piece of code seems to be causing the problem, as it compiles successfully if I cut out large chunks of code, and I can change which chunks I'm omitting. It might be related to the size of the code itself.I've logged a very detailed bug report with adobe here: ou can package to reproduce the issue, a ruby script that generates actionscript codeto generate that AIRI file, and a summary of all of the things I tried before logging the bug.
View 2 Replies
Jul 7, 2010
i've got Flash installed and i use it to create a fancy thing. a .swf. A regular swf.When i open the swf straight from a folder, it opens in "Flash Player".not in any browser.When I send the swf to my boss, or anyone that does not have the Flash Application installed, it doesn't quite work right.They DO have the latest browser flash player plugins installed and it works if they drag the swf into the browser.BUT how can we get it to play stand alone, the same as I can do. It seems you could download the Flash Player for the desktop.
View 1 Replies
Sep 3, 2010
I have recently been having problems with my swf file. When i export it by hitting "command enter" it seems to export fine. But then I realized that when i exit flash and click to view the swf it opens up in flash instead of the flash player as it normally does. The other implications of this is that when I send the swf file to someone who doesn't have flash (but is able to play swf files) they are not able to open the files because it wants to open up in flash.The file is a simple web banner that is limited to 40kb.
PREVIOUS POST WITH SIMILAR PROBLEM
"Postby Haungo on Wed Jul 07, 2010 3:28 pm
OK.. so, i've got Flash installed and i use it to create a fancy thing. a .swf A regular swf. When i open the swf straight from a folder, it opens in "Flash Player".. .. not in any browser.When I send the swf to my boss, or anyone that does not have the Flash Application installed, it doesn't quite work right. They DO have the latest browser flash player plugins installed.. . and it works if they drag the swf into the browser. BUT how can we get it to play stand alone, the same as I can do.
It seems you could download the Flash Player for the desktop.. but where? how ?
REPLY
"Postby Eye for Video on Sun Jul 11, 2010 12:23 pm
Look into creating a Flash "Projector" file. It's an exe, executable file and can self-contain the player you need to play the Flash without opening the browser.In the "Publish" setings, check the projector box. Here's a link to one tutorial but their are lots more, Google "Flash Projector files"[URL]
View 1 Replies
Jan 28, 2003
I have a stick figure fighting game I'm currently working on. I've animated the moves and the walking, ect. But now I wanna make it so the players can only stand on one mc, GameArea.I tried the script that came with part of the tutorial, but nothing happen:[code]If this way isn't a possible, then I'd just like to limit the players on how high/low they can move.
View 4 Replies
May 18, 2010
I'm a bit frustrated as I've created a Flash movie with an embedded video.The SWF file works fine when I play it as a stand alone file but when I use the file inside my website, the video portion does not play.I have placed the video file and the Flash file in the correct folder on my site.
View 1 Replies
Feb 18, 2011
I have in a previous project published a game as a standalone app and run it full screen. It would allow users to put their info in for high scores.
Now i am working on another game that will be published as a standalone app. It will need to be full screen and have an entry form at the end for high scores. It does not seem to allow the keyboard to enter text in an input box. Is this true?
Note, this is not an swf played through a browser, but an actual .exe generated from Flash CS5. If this is true, is there a workaround. I need if full screen with keyboard input.
View 2 Replies
Jan 13, 2008
Does Adobe offer a flash stand-alone player that does not require a browser to play swf files ?
View 1 Replies
Dec 6, 2010
I've looked online at different quiz-building tutorials, but almost all of them are for stand-alone quizzes. I am adding the quiz as part of a whole interface design. When you click on one of the sign buttons I have on it, a mask will appear and the first four quiz questions will appear. Once those are answered, the next four will appear (probably when they click "next" or something). When I get to the end, I want the results of their quiz to appear.I want to try to use the code my teacher wrote for me so I don't have to build anything extra.if that doesn't work, can I embed a .swf into the file I'm working on? I need this quiz; everything else in my project is done (aside from some tweaking) and I need this finished AND working by Dec. 17.[code]
View 2 Replies
Feb 20, 2011
I'm trying to load this captcha image inside Flash:It loads OK when I run the swf inside Flash CS5 Editor, but when I open the swf with stand-alone Flash player, I get this error:IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2035: URL Not Found. URL:Challenge.aspx?cid=385809c9-d89b-4f01-9e8c-b9e5f9c4dc71&w=200"]
View 0 Replies
Apr 15, 2002
i posted up lookin for flash tutes to make my game in flash 4 but i guess it's virtually impossible to do so..... well, now i decided to do it in flash 5. here's my concept >
it's basically a game controllling a character to move in grid filled with objects like so >
1 0 1 0 1 0 1 0 1
0 0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0 1
where 0 (path) is passable n 1 (objects)not....
n i want d character to stand still when not moving and get to an animated frame of it moving when moved in whichever direction. i guess dat's all i need for now. please help me with this as like i've said, i kinda new to actionscripting.
View 14 Replies
May 12, 2011
Title explains teh problem - anyone ever encountered this issue or have a solution. have tried everything - tearing my brains out
View 7 Replies