Professional :: Include Extra Files With An AIR For IOS Publish?
Sep 13, 2011
I've seen people mention they can include .html, .js, etc files with their iOS for AIR publish when making an iOS application from flash.
What I haven't seen is how these people include extra files (html, css, images, videos, etc) to be packaged into the IPA during publish.
I want to extend DropDownList control to include an option for creating or editing the options. For example; for a list of projects in the dropdown list, there will be another option that says "Create new project..." or "Edit projects..." and this will be the last option in the list. When user selects this option, the selectedIndex or selectedItem will not change and corresponding action will be taken (for example a popup window shows up).This will be a convenient way for the end user. Now I want this to work independent of the context and the class must be reusable. User will only specify the optionText and optionFunction to work this out. The basic structure of the class looks like this:
public class OptiveDropDownList extends DropDownList { private var _enableOption:Boolean;
As far as I can understand you need three things to be able to publish Android APK files from CS5:
1. Air 2.5 or greater (I've downloaded and installed 2.7 beta)
2. Android SDK (I've downloaded and installed)
3. Flash CS5 Android Extension (NOT AVAILABLE ANYMORE)
That's right, the last thing you need is no longer available because Adobe is rolling it into the next Flash version. So because I didn't get in on the prerelease with the extension...I'm just out of luck? That can't be right. How do you create APK files from CS5 when you can't get the extension? All of the tutorials out there for creating Android content from CS5 use this simple extension that seems to make everything so easy. What is Adobe's answer for creating APKs out of CS5 if you weren't part of the prerelease? They don't have the extension available anymore so there must be a way.
In Flash CS5.5 when selecting, Publish Settings: html and swf, the html file does not display the swf from the URL after ftp. The swf file, however, does display from the URL without the html file. My work around has been to hand code the html. Is this a known issue or is there something else that might be causing this to occur?
Deleting my preferencesUn-installin and installing a fresh fersion of fashPutting all fonts in the trash except for arialPulling out my hairI'm running OS 10.4.11 intel core duoSeems like new files publish fine but older files crash, also modified older files crash. If I create new files and paste in elements from older files it also crashes
I have Mac Pro OSX 10.58 - CS 4 Creative Suite.I have been using Flash to produce projector files totally fine for months. However, today when I publish a Mac projector file I have come across a problem. Flash publishes a .app projector file OK, but, when I open it, it appears in the dock as if it were open but I don't see anything.
Any projector files I produced prior to today still play fine. But any projector files I have created today have the previously mentioned problem. I have tried creating a totally new FLA and publishing from that incase it was the FLA I was publishing from was to blame - same problem.
I have reinstalled Flash, but the error persists.Today I also installed new software. I installed the Developer tools because I wanted to use PackageMaker. I also installed Xray. I have removed Xray incase that was at fault - but the problem still persists.
Recently I found out that event experienced flash developers do not know that it is possible to get "trace" content of flash movies outside of Flash IDE. This was kind of a surprise for me because I was using flash tracer for years already and I know what a pain it is when your flash application works fine in IDE and then fails fo load in browser.Are you still reading trace statements of your flash movies and applications from Flash IDE? Then this tool is for you.http:[url]....
It allows you to read all the "trace" statements of SWF files without adding any extra code! It works in Firefox, IE, Chrome, Safari, Flash IDE, Adobe AIR. Vizzy runs out-of-the-box and configures your environment for you to start debugging your flash applications immediately (automatic mm.cfg file creation, determining location, debug flash player detection, etc.)More features
* Allows you to watch trace outside of Flash IDE
* Allows you to see trace in all browsers like Internet Explorer,Firefox, Safari, Chrome, Opera and others * Allows you to see trace in AIR applications
* Cross-platform (Windows, Mac, Linux) * Customize font and font size * Automatically creates mm.cfg file * Automatically detects flashlog.txt file location * Comma separated filtering * Allows to set max limit of bytes loaded from the end of flashlog.txt * and much more...
I have an FLA file that is one frame. ActionScript 3 code runs a few functions and when you click on things, other functions run. Pretty basic...I have some buttons and sprites that I would like to use with the external.AS file found here for tool tips: [URL] for my buttons and sprites.If I save the Tool Tip code at the thread above as 'tooltip.as', how do I use that in my FLA? Since I am using an FLA with Actions in Frame 1, I'm not using 'package' keyword... it just starts with import flash.display.Sprite; and goes on to set variables and functions. I'm not using a document class.
i have developed an actionscript 3 app and deployed it on air, now when i compile it, it fails to add to the bundle the import classes i have used... How can i add all imports to the compiled .air bundle ?
is there any way to include files in air application by as3 like #include in as2 ?
My problem is when i add files in included files its take the full path and when i change the application directory to another partition for example its still keep the old one, i need it to be relative like ( appName-app.xml and appName.swf )
Is it possible to include PDF files within a Flash site that can then subsequently be downloaded by users of the site? Or does this have to be done through dreamweaver or a combination of both?
is it possible to include text files to be used as code. I would like to have different files to hold some important codes like player stats but didnt know if i could include that file then get the stat from it.
When I run the .fla file with Flash Professional, the file/movie executes beautifully. However, when I publish the file and run .swf in Flash Player rather than through Flash Professional, the file/movie loads but does not do anything once I click on the buttons. It appears as the imported classes as not being included in the published file. What am I missing here?
I'm having a problem with the flash publish method and swfaddres.I've included the javascript of the flash pubblication in a new javascript file with the swfaddress in the same page.If i use swfobject for including my flash file in the swf, swfaddress works ok...if i include the swf with the flash method swfaddress doesn't work.Here the link: http:[url]......
I keep finding tutorials on the web that explain how to do this but here is the problem I am having.1. The tutorials keep telling me to upload my swf files to google pages but apparently google pages doesn't exist anymore or in not letting people do this anymore. I can't believe this was the only site that let people publish there swf files for free. doesn't anybody know of a current site that lets you upload swf files and flash video games for free?
I am creating a website in flash CS4 and I made a contact form and when I test the site out, I can type and click the submit button, so everything is fine there but it doesn't go to anything. Now I know I need a code to tell the contact form where to go, but I can't find one that works, or I may be doing something wrong. I also have been reading about PHP but I am not sure what that is. I found a site that said to put this code in the actions panel.
I wish to save my flash outpout (SWF) as an SWC file in which I also include all media files (mp3s) that are part of my Flash application. Currently these files reside in folders under my main library where all flash entities (AS3 code, buttons graphics etc reside)What software do I need to use to accomplish that?I now work in CS4 under winXP
I have a small doubt. (it might not even be a good idea to paste it here, but�) I noticed that I can publish .exe files of my flash application. Can I run them on a linux environment (ubuntu) or even like just swfs?
I'm trying to make a flashlight effect that automatically (not mouse controlled) goes over the text and image (all on the image) and then have the flashlight beam fade then open completely to the 900x400 image and stay visible...
I wanted to create a basic 'Countdown Timer' set for this years Christmas date using Flash CS3. I've seen online video tutorials of how to create one which I followed to the later to see if I could get the basic function working. Well it does work however there is a glitch in the countdown text field display itself when it's running.
Basically it should like the following: 36 : 14 : 30 : 52 (days, hrs, mins, secs). However, I seem to be getting an extra character (hyphens) before each set of digits making it look like this: -36 : -14 : -30 : -52
On top of that the code is supposed to include an extra "0" digit for when the countdown goes below 10 to maintain the position alignment. This doesn't seem to be working and as a result the timer continually shifts position. I've seen another example of how to create a Countdown Timer and the code is very similar (especially regarding the extra 0 digit). Why it's not displaying properly.
Here is the code for the Timer this.onEnterFrame = function() { var today:Date = new Date(); var currentYear = today.getFullYear(); var currentTime = today.getTime(); var targetDate:Date = new Date(currentYear, 11, 25); [Code] .....
Scene 1, Layer 'PreLoader', Frame 1, Line 11087: Syntax Error: extra characters found after end of program onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); if (percent == undefined) percent = 0; percent -= (percent-
after doing:"- Make a new button on the first keyframe and name it my_button - Select the keyframe not the button and open the actions panel (F9) - Attach the following code and test my_button.addEventListener(MouseEvent.CLICK,clickHandler);
function clickHandler(event:MouseEvent):void{ navigateToURL(new URLRequest("http://www.YOUR_PAGE.com")); } "In Flash File Actionscript 3.0I get:1087: Syntax error: extra characters found after end of program. What i need to do now to make it work?
I put together an .html page using a photoshop jpg that I sliced into sections. I was asked to replace two graphics from the original .jpg file with animated content of the same size. Using my slices as a guide for size, I created the two animated graphics in flash and saved them out as .swf files. They are both the exact same size(px) as the static images. I opened my newly sliced html file in dreamweaver, deleted the static images and placed the .swf files.
For some reason the .swf files cause gaps in my html page. Tere are no borders on the .swf files and I can't figure what I've done wrong.
One note: It seems to only ad space when viewing from Mozilla. Havent' tested it on a pc yet either.[URL]
Below is code for the left hand speaker:
<td colspan="3" rowspan="4"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="246" height="378"> <param name="movie" value="index_images/speaker_left.swf"> <param name="quality" value="high"> <param name="wmode" value="opaque"> <param name="swfversion" value="7.0.70.0"> <!-- Next object tag is for non-IE
We have created a very simple swf file which has TLF text within it. Once uploaded to our client's intranet the file will not play when using IE6 and Flash Player 10. Our client's secure intranet may not be able to download the required framework files from Adobe's website so we simply placed the textLayout_2.0.0.232.swz file in the same directory as the swf files. Unfortunately this still did not work.
To be sure that it was the TLF text causing the problem we packaged the framework in the swf wile (from Publish Settings). This did then work, however we do not want to do this for all of our files as this adds quite a significant size per file. We also changed the text to classic text and this too fixed it so we know we have to solve the TLF Framework problem.
I want to include external code without importing a custom class in as3. My code is getting too long and I need to find a way to segment it into logical groups of functions located in separate action script files.
have only a little question .. :I'm actualy working on Adobe Flash CS5 but i don't really know how it works. Then i donwloaded a flash website on internet and i can modify the main part of it but i have a problem when i'm trying to add a Cbox in my homepage. It's a basic Cbox from Cbox.ws so it's totaly in HTML. I don't know how include it in a part of my pageIt means that i would like display my Cbox on my flash homepage from HTML code
is this possible? i want publish my air application made in flash but when it's install, i don't want the swf in folder application. there is a way to do this? or embed the swf in the executable.