ActionScript 2.0 :: Creating Program In FlashDevelop And MTASC Complier
Jan 29, 2008
I am creating as2 programs in Flash Develop Editor and compling that .as2 file in MTASC compiler, I am not using the FLASH IDE , I want to write a pure AS2 program that should contain any of form elements link Input Box,Label ( we import controls mx.controls.* in Flash IDE) . I struggling a lot in importing graphice controls in AS2 program without the .fla file library, Is it possible to write graphics program and compile in MTASC Complier
I'm completely new to ActionScript (as well as brand new to this forum). I'm using FlashDevelop and Flixel to attempt to make games.
The error code I'm getting is: "Call to a possibly undefined method addEventListener through a reference with static type QuitButton." I have an image, quit.png, that I want to use as a Quit button. When clicked on, I'd like the game to go back to the MenuState. I have the image embedded in QuitButton.as, and MenuState is MenuState.as. The actual button appears in PlayState.as. Here is QuitButton.as, as this is where the problem lies:
[Code]...
I have done some intense googling to try to find a solution, which I'd assume is obvious since I've only just started with flash and I'm not programming anything too difficult yet.
I am creating a video program in Flash CS4 with AS3. I have a main video FLVPlayer and small FLVPlayers at the bottom(click on the small video to view in main video)... simple What I would like to do is, instead of loading the whole movie in each small FLVPlayer, I would like to load the first frame and stop loading (kinda like a first frame screen shot). Is there any way that I can start the loading process and then stop after the first frame is loaded?
Creating a paint like program in Flash. I have it so the mouse is replaced with a brush and when the brush is over the toolbar, the brush goes back to the mouse. It works until you start to paint.
Code: var currentDepth:Number = 0; var startDrawing:Boolean = false; var brushSelect:Boolean = true;
Anyways, I started playing with flash applications a while back, and had a folder on my desktop to keep all the finished ones in, and eventually windows deemed it a default flash folder. I used to run the apps in SWF max, until I finally got flash to load them up in the player again, so I uninstalled that. I also went ahead last night to tidy up my files, and among that, I moved the folder with my flash games from my desktop to a sub folder in my documents. Now however, when I log back into the computer after a reboot, a folder called "Flash Games" (the name of the folder I kept them in) keeps creating itself. The only contents is its Desktop.ini file, the contents of which are:
[.ShellClassInfo] IconFile=C:Program FilesSWF.maxSWF.max.exe IconIndex=4 InfoTip=My Flash Folder: Your default folder with flash movies
So ultimately, I figured well it wasn't windows deeming it the default flash, but that silly program I'd already removed. (There are no traces of it in my program files anymore either) I have not as yet went through both registry and the rest of the computer to remove those traces yet, but I doubt there will be many, it was a portable program.
Are there any tutorials available that will show me how to create a multiple class program from scratch? I have 2 classes working with a fla and when I add a 3rd class every object I create comes up as an error.1120: Access of undefined property.I'm very frustrated cause I can't figure what the problem is. I have just migrated to OOP so I'm relatively new at this.
I'm having trouble using the following tutorial and flashdevelop template to build a flash project for iOS. [URL] Whenever I compile my project (using FlashDevelop 3.3.4) I get an error from adl.exe saying "Error loading initial content". Using the iOS applicationpackager.bat, I get an error saying: application.xml: error 305: Intial window content SWF version 11 exceeds namespace version [URL]I'm using air 2.7 and Flex 4.5.1 on Windows XP.
i would like to produce a online windows 2003 emulator so anyone can use windows 2003 through a browser instead of installing the software - something similar to temulator [url]......- and zen internet emulator[url]...... - i have basic html & css skills can it be done using html/css or is it better to use java/flash etc ,i am thinking of just using screenshots and then linking them together , but its very time conusming to do. what is the best programming language and BEST approach?
Im trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..
// CLICK to Exit exit_Btn.addEventListener("mouseUp", goExit); function goExit(evt:MouseEvent) { fscommand("quit"); };
I have problem with creating e-mail link in my Flash CS4 program. The problem is that when i create button i cant attach any actions to him. It was not a problem for me in flash 4 i was working before. The movie is in Action script 3.0.
I need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.
I have been programming with as3 for the past 4 months and Ive been getting rather good at it. I just recently decided to work with flashdevelop. I notice that there is alot of code that is availible in the flex sdk that isn't available in as3 with flash cs4. Like embedding of assets and such. I've been trying to find some up to date tutorials on how to embed things like xml and so far the tutorials are inaccurate or unclear about how to go about doing so. Ive been trying to find some good books that cover that and havnt been able to.
The books either cover as3 with flash or as and flex builder. Which is more towards working with the mxml. I havnt been able to find any books on how to work with as3 and flex sdk. Which show examples like embedding of xml and so on. I was just curious does anyone know of any good books that cover EVERYTHING there is to know about as3 and the flex sdk. Not so much on flex builder and mxml.
In a sense, I just want to get better with working with as3 projects with flashdevelop. And it would be great if there was books that covered that. Cause lets just face it, We developers sometimes just get sick of searching the web for bits of pieces of things. and its just great to have that one good book that references everything.
Im testing a program in FlashDevelop, which uses Flash player 10. Need externalInterface to work, but on running this simple test program, it displays "ExternalInterface is not available". How do I get ExternalInterface working? [URL]
<mx:Script> <![CDATA[ import mx.controls.Alert; private function init():void { if (ExternalInterface.available) { [Code] .....
By the way, this script shows "External Interface is available" when I run it in my browser. Its only when I run it in Flash Player 10, that it is not available.
I am trying to embed some xml into my application but I get the following error Fault] exception, information=TypeError: Error #1090: XML parser failure: element is malformed.Here is my code.
Trying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything
var vid:FLVPlayback = new FLVPlayback(); var ui:UIComponent = new UIComponent(); this.addChild( ui );
I've tried a few ways of import an swc I made in flash but i keep getting a transcoding error. The symbol is set to export for actionscript and its baseclass is Movieclip. What is the simplest way to do this
I'm using FlashDevelop (cos it's free!) with Flash CS4. Is FlashDevelop basically the opensource version of Flex or is it something completely different again? Or is that what AIR is?
I have inherited a Flash project that (I THINK) was started in FlexBuilder, but I dont have FlexBuilder. I have CS3 and FlashDevelop, is it possible for me to continue this project using the tools that I have?
There are a bunch of wierd files like ".project" and ".actionScriptProperties", and obviously no .FLA file.How can I get up and running using either CS3 or FlashDevelop?
So I got this AS3 game thats completely written in Flex without the .fla file and I want to put a clickable button that links back to a webpage to the mainmenu screen.
In the IDE and AS2(which is what I usually work in), it was just simply:
Drag button onto the screen Convert it into a button symbol and then do this:
I am trying to embed a movieClip with flashDevelop but apparently its not working because its not recognizing the movieclips that are within it.[code]...
When I try to compile my application in flash develop. it wont compile. even if I put a simple trace in the Main class. Nothing happen. the sdk is in the correct place.
I am working on a flash game based on an AS3 project using FlashDevelop. I need a textbox with scroll bar. I was able to create an editable TextField, but I can't find a way to add a vertical scroll bar.
I'm just started doing 'hands-on' learning of Actionscript 3 using FlashDevelop. I've now managed to subclass a sprite, load a graphic from the library, and manipulate it around the stage. Next step is doing the same with a MovieClip, but it doesn't seem to be as simple. Basically, I want a simple subclass of MovieClip, that uses a SWF that I created & exported in Flash CS5 (anything else that can create them?), and then added it into my library in FlashDevelop.
In my 'Main' class, I want something like this: package { import flash.display.MovieClip; import flash.events.Event; public class Main extends Sprite { private var myClip:MovieClip;
But that says the child is null, and I'm not sure I should be creating a 'new' MovieClip inside my sub-classed MovieClip anyways.