ActionScript 2.0 :: Where Does A Sane Person Put Their Extensions
Feb 7, 2007
I am using Flash 8, AS2. I have a nice code library called the Fisix Engine. Within the unzipped folder is the subfolder 'Bin' and within is an empty folder named 'generated' and FisixEngine, a seemingly non-editable 'Flash Component File'. At the moment, this Flash Component File rests in C:Program FilesMacromediaFlash 8FisixEngine_Alpha_0.5Bin ... but where is it supposed to go? I have heard that it doesn't matter where. In that case, what is the best practice?
EDIT: For that matter, I cannot even seem to get this component file to be listed in my components browser no matter what I do with it. Furthermore, the examples included #include files which appear to be HTML files instead of .as files. This confuses me very much... What's the fastest way to organize this so that I can make instances of the custom classes included in the component?
View 4 Replies
Similar Posts:
Feb 7, 2009
I was wondering if anyone had heard of a way that you could access the file that was used to open an AIR application. That is, you know how you can double click a .fla and it will open Flash? I want to be able to do that with a AIR application. I've already tried it and I know I can select a specific application to open the file with when a user opens that file, I just need to know how to access it.Also, is there a way to register a AIR application for a specific file type?
View 2 Replies
Dec 4, 2011
For a download.php I need to set allowed file extensions. What do I need to insert for an Adobe Air file (.air) file?
$allowed_ext = array (
'zip' => 'application/zip'
View 2 Replies
Oct 10, 2010
i dont know why i cant figure this out. android market now has adobe Air, and developer beta testing sign up is closed. I assumed at this point you would be able to upgrade or buy the extentions or plugins for flash cs5 for air for android?I didnt sign up for the beta testing pre release. Is it still in beta or something? how would i get the plug ins for flash cs5?
View 4 Replies
Nov 24, 2011
Has anyone found a way to get a Native Extension running for Admob yet? Or for iAd for that matter?
There seem to be a number of issues with the ANE, with compiling and with the manifest. Has anyone found a way to have it all sorted?
View 1 Replies
Oct 6, 2009
I have three very old flash movies that have lost their extensions and can not open them any more. how can I open them in the newer Flash 9.0 that I have they were originally done on a PC Flash 3.0.
View 1 Replies
Feb 13, 2009
I'm using Filereference.save() to save a jpg file. It'sbasically working fine, but is there anyway to force a fileextension on the saved file? I'm using "untitled.jpg" as thedefault filename, but if the user changes it to say "myfile", itgets saved as "myfile", rather than "myfile.jpg".
View 11 Replies
Mar 28, 2012
When I try to publish an Air app out of CS5.5 I've started to get this message:It happens with a blank document. I'm using Air 2.5 & 2.6 on SnowLeopard
View 2 Replies
Sep 11, 2010
I'm working on an Adobe Air Desktop App ATM. My question is how to get the icon for a given file extension, but without actually loading up a file of such type.
I had the idea to just create a blank file for the extension and then delete it once i have the bitmap for its icon, but that seemed like too much trouble and kinda inefficient.
So for example i want to get the icon associated with a .txt file, or .html file. Is their any way of doing such without having to directly reference and existing file , or create a temporary one as mentioned above?
View 1 Replies
Oct 28, 2011
I have a DatagridColumn in flex with two names, TYPE and NAME. Now, when I am sorting a datagridcolumn, TYPE, it sorts the type using sortcomparefunction and gives the result which contains grouped and sorted order of elements. Ex. if I sort for type I get elements in pdf, doc, ppt in grouped order, but they are internally not sorted, ex: for the pdf part, I have elements such as:
TYPE NAME
pdf A1.pdf
pdf X2.pdf
pdf B1.pdf
Here the filetypes are sorted, but for a particular filetype, the elements are not, please notice that B1 occurs after X2, which should be sorted. Is there a way I can sort the second datagridcolumn after sorting the first one according to filetype extensions? I am using sortcomparefunction for sorting the elements according to type , which works fine. The signature is:
private function sortTheTypeColumn(itemA:Object, itemB:Object):int
View 1 Replies
Mar 19, 2007
I need to allow a user to download images from my app, but everytime a user attempts to download, the extension is stripped from the filename I provide.This is only happening in Firefox & IE on Windows. It's working just fine on OSX.
I'm using FileReference.download(), and specifying the filename as "imageX.jpg". However, when the file dialog opens on Windows to save the document, only "imageX" is shown as the filename, and the extension is never saved. In the "Save As type..." field, there is only the "*.*" option available.
The majority of our users aren't technically savvy, so a lot of them don't realize that if they put a .jpg extension on the file they just downloaded, they'll be able to view the image.
View 3 Replies
Dec 12, 2011
currently I am coding a android mobile app in Flex with the Flash Builder. I am tring to get the Voice Recognition of the Android Platform working but it seems to be complicated. I managed to write a Native Extension that at least displays the Android style voice recognition that asks for speech input. I found out that for the android system the speech input dialog represents an activity where you can wait for the activity's response and overwrite the onActivityResult function. And there is the problem. Since I have to call the Activity "Voice Recognition" in the FREContext the response of the Voice Recognition Activity gets lost.
[Code]...
View 1 Replies
Jan 27, 2010
i'm trying to find something that can boost Flash display performance. I nicely ended up with WebGL, promoted by the guys behind OpenGL. I wonder if the WebGL can in any way be ported or used with actionscript 3.0. I saw someone have created plugin to use flash with Unity 3D, but it's a little complicated to manage and too little "tricky" for me. How hard could be create WebGL extensions or classes for actionscript? Any guru here that want to start doing something?
View 0 Replies
Jun 18, 2010
I'm using FileReference.save() method for Flash10 to save a file. It looks like this:
Code:
fr.save(BytesArray, "default.xml");
When I use default name - everything is ok. But when I change file's name in "Save Dialog
[code].....
View 2 Replies
Jun 8, 2010
I'm using Filereference.save() to save a XML file. It's working fine with default filename.But is there a way to force a file extension on the saved file? I'm using "untitled.xml" as the default filename, but if the user changes it to say "myfile", it gets saved as "myfile", rather than "myfile.xml".
View 1 Replies
Sep 14, 2009
if you go to [URL] they've got this animation on the home page where some guy in tie walks into frame surrounded by nothing by empty white.. how do you do that? Film against a white background?
View 1 Replies
Nov 9, 2011
I am trying to develop an android extension for air, but I have a problem with resources.According to this : Official adobe doc - FREContext and this Extending AIR by Oliver Goldman We simply have to add the resources we need in the res file of the Native part, then they are added inside the .ane file and passed to the final apk. In order to access them though we have to use getResourceId( "drawable.background_image" ) instead of R.drawable.background_image
But when I generate my extension, the res file is actually not even included anywhere inside the .ane file and also not inside the final apk. And I have found not a single extension on the net using resources (not even in the adobe samples)For this test I simply use the basic Hello world Vibrate test, but I added a new png in the drawable folder.As you can see while unziping the .ane file, then going to META-INF/ANE/Android-ARM the res file is absent.As a result, the program crashes when I try to access my resource FREContext.getResourceId("drawable.ppy_accessory_manage.png")
PS, here is my batch to compile the ANE :
set adt_directory=C:Program FilesAdobeAdobe Flash Builder 4.6sdks4.6.0in
set root_directory=C:UsershugoAdobe Flash Builder 4.6
set library_directory=%root_directory%HelloANELibrary
[code]....
View 1 Replies
Jul 20, 2011
If I have a xml document as such
<people><person>
<name>person</name>
</person><person>
<name>person1</name>
</person><people>
and so on...
How would I go through this?
Currently I am doing something like:
set.name = info.person.name[0];
set.name = info.person.name[1];
How would I use a for loop to go through and do the same thing for any amount of person tags?
View 7 Replies
Jul 8, 2009
I'm rather unfamiliar with Actionscript (up untill now, I've only made simple Flash animatons).I would really like to make a visual novel type of game (it's a game much like the Phoenix Wright games, minus the court scene parts of the game).
View 2 Replies
Apr 23, 2010
I am trying to create this program that allows a person to select a way to display grades, either through level or alphabetically and for some reason i am getting an error with my percentageToLevel method. here is the code:
[Code]...
View 4 Replies
Jan 25, 2009
I'm trying to make a 3rd person chase game. An issue I'm coming across that I would like to get some advice on is the AS I'm using for the walls.First off, here's the code for the character:
PHP Code:
onClipEvent(enterFrame){
if(Key.isDown(Key.LEFT)){
_root.blue_xaccel=_root.blue_xaccel-1;
[code]....
The whole idea behind this is to create a sort of acceleration. Now, when the player hits a wall, it's supposed to stop him.
Wall code:
PHP Code:
onClipEvent(enterFrame)
{
if(this.hitTest(_root.blueguy))
[code]....
Now, the code does what it's supposed to. This is a left wall. It stops the guy, and even pushes him back to the right. However, if the guy has some acceleration going toward to wall, he can go through it a bit.Example: The character is traveling at 8 pixels, but only three pixels away from the wall. In the next frame, he will move 8 pixels, and be 5 frames into the wall.
View 2 Replies
Jun 3, 2010
So far i have done:
[Code]....
Which is currently very glitchy it will not look at the mouse directly instead it will just continuosly rotate trying to find it, is there any way to fix this? The game... I have tried several different methods... Is it because it does not know how to face the mouse and what part of him to use to face it, if so how can i fix it?
View 3 Replies
Mar 4, 2012
I need to edit the url link to one of the .fla that was created by another person.I know normally you would just go to action, and then there would be action script like getURL (" "). However, in this case, I looked through the everything in the action script panel, still couldn't find the url actionscript. i know it's there because when i exported the flash to swf, the url is working.
View 2 Replies
Aug 4, 2010
Based on user input height, weight, measurements and other data, dynamically generate a person (can produce 3D graphics)?
View 1 Replies
Jul 8, 2011
I have a company's organisational chart in flash where it loads in each person's name dynamically for their department and when you click on it it brings up their CV information such as name, qualifications etc. This is loaded into a dynamic text box. I can test it locally with an xml file and then switch back to the online version.[code]...
View 1 Replies
Apr 30, 2003
I have figured out how to duck out of enemy site. I need to know if i can have two layers running the same thing at the same time, but only one is viewed and you use the spacebar to switch between the ones being viewed. For example one layer is a person ducked behind a box and getting shot at and the other is a person standing in the open getting shot at, to switch from the ducked to the standing you have to use the spacebar. Is this possible?
View 3 Replies
Sep 18, 2009
just wondering if anyone can help me with this I'm making a platform game and wanted to make my game character run when user press the keyboard left or right. But I want my character to run like an actual person instead of just sliding across the screen. I have no idea where to start and I can only find tutorial that teach how to make a character move by just using - or + number of pixels but that's not what I'm actually looking for. I prefer that my game character to be more lively. Does anyone know how??
View 2 Replies
Nov 25, 2010
[URL]
I have a small problem I want to mute the music when a person clicks on the video page so they dont have to manually click the speaker to shut the sound off to hear the video. As well when they leave the page I want the music to continue playing. The music does not have to start over again, I just want it to mute while on the video page.
I tried using this: SoundMixer.soundTransform = new SoundTransform(0);
But it even mutes the video sound.
And I tried this: SoundMixer.stopAll();
It does kill off the background music, but I dont know how to turn on the music again when you leave the video page.
I prefer to use: SoundMixer.soundTransform = new SoundTransform(0); as it is easier to work with and you can adjust the volume as you like.
The music script and the video script
This is my action script for the music:
// Assign The URL to the mp3 to play
var req:URLRequest = new URLRequest("101-jakatta-
[Code].....
View 14 Replies
Mar 16, 2005
I havent used flash in years and I wanted to make a game. Ive made a few before but i didnt ever finish them and now i dont have them anymore. I wanna make this game where you are this man that can move around. (i can remember how to do that) and you shoot these huge exploding cats. How do i make the person shoot when you press the spacebar?How do i make the barrel of the gun follow the mouse and the bullets shoot that way?
View 10 Replies
Apr 21, 2010
I have a problem involving a comboBox and a textBox. I need to import htmltext in the textBox when selecting the name of the person from the comboBox.
View 4 Replies