Using FlashDevelop
Alright so what I'm trying to do is use FlashDevelop to create a simple Papervision that uses a Collada file. I have a file called PaperBase, which sets up the default scene, camera, etc. and then the file extends that class. My question is how do I create a .SWF that I can use on webpage. Right now it creates a swf, but when I move the swf with the collada file the swf no longer works, as if it still needs the classes, I even tried moving the classes with it and it didn't work. Also when I hit the "Build Current File" (Not the Build Project, that works, although I don't really know what it does) it comes up with errors "The definition of base class PaperBase was not found". So how do I compile this for the web?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 10-13-2008, 07:40 PM
View Complete Forum Thread with Replies
Sponsored Links:
[CS3] FlashDevelop
Okay so, I've been working with FlashDevelop for the past few days, and at first I thought it was really great, it was just like the Flash's actionscript editor... only better.
Then I found a feature where you can add in your own global classpaths. So I added in my class folder, and thought "wow this is great, it recognizes their types and methods and properties and everything!"
A little while later, I realized that the autocompletion for Flash's intrinsic classes didn't work anymore. Nothing but my classes showed any of their methods etc. anymore. So I searched around for a little while, and found that there was a new version, and maybe that had my fix. So I got it, and to my delight, everything worked again, except for my classes. I figured "well I'll just add them to the global classpaths list" and I did. And of course ONLY my classes worked...
Summed up: whenever I add my classes folder to the global classpath, the other classes don't autocomplete anymore, and when I remove it, they do again.
Could someone please tell me how I can get BOTH working? I'd really appreciate it...
Sorry if this is in the wrong forum, I wasn't exactly sure where to put it...
Mavrisa
View Replies !
View Related
Using Mx. In FlashDevelop
I can't figure this one out. I can import flash.?.? in flex builder, and I can import mx.?.? in flax builder. Flex builder is supposed to use the AS3 SDK. Yet there is no fl.?.? so I can't import fl.transitions.*. Ok, so I try to import mx.transitions.* which works in Flex Builder but NOT in FlashDevelop, even though I pointed it to the same SDK as Flex Builder is using. I even got the latest SDK out of Flex Builder 3 Beta and, as expected, I can develop ActionScript code with it using FlashDevelop. But there is still no fl.transitions availabel for import (or fl.anything for that matter). Does the AS3 SDK that comes with FlexBuilder not have fl.*.* ??? It is my understanding that this is supposed to be the whole ActionScript 3, not a Flex version. Where can I get fl.*.*. I like to code my AS by hand, not using a WYSIWIG IDE...
View Replies !
View Related
Flashdevelop For Mac
hey,
i´ve been using Flashdevelop for Actionscript 3 for a while now, but my laptop is a macbook. I was wondering if there is some kind of simular program for actionscript for mac (auto complete, imports etc) like you have for windows(flash develop). I believe that flash develop is not made for a mac yet.
any suggestions?
jim
View Replies !
View Related
Some Help With Flashdevelop
I was just trying to get started with Flashdevelop and Flex 2 SDK as the compiler and I'm running this kind of basic test code.
It compiles fine and traces what it should but when I close the .swf tab, the whole program crashes. Anyone got any ideas why that is happening?
My project just has 1 file, cool.as
ActionScript Code:
package {
import flash.display.Sprite;
public class cool extends Sprite {
public function cool() {
trace('cool as3 is working');
}
}
}
View Replies !
View Related
FlashDevelop ?
Ive been using Adobe Flash CS3 Pro Authoring tool to develop my flash applications, but I recently came across something called FlashDevelop. I know that its a free, open source editor for writing (and compiling?) flash applications, but I cant seem to find much more detail than that.
I know FlashDevelop is a text editor for actionscript, but does it include the compiler as well? Or do you need to still use Adobe's compiler? For example could I sell my copy of Adobe CS3 and still be able to develop flash using just FlashDevelop?
Being open source, Im wondering if FlashDevelop is buggy or incomplete? Or is it very usable.
If FlashDevelop DOES come with its own flash compiler, how well does the compiler work vs Adobe's ? Does it create bug-free SWFs? Are the SWFs as small as those created by Adobe? Do they run as fast?
Basically Im looking at jumping ship from Adobe CS3 Pro to FlashDevelop, but I dont want to do so unless FlashDevelop is every bit as good as Adobe's product, otherwise its not worth it.
View Replies !
View Related
Using FlashDevelop
Alright so what I'm trying to do is use FlashDevelop to create a simple Papervision that uses a Collada file. I have a file called PaperBase, which sets up the default scene, camera, etc. and then the file extends that class. My question is how do I create a .SWF that I can use on webpage. Right now it creates a swf, but when I move the swf with the collada file the swf no longer works, as if it still needs the classes, I even tried moving the classes with it and it didn't work. Also when I hit the "Build Current File" (Not the Build Project, that works, although I don't really know what it does) it comes up with errors "The definition of base class PaperBase was not found". So how do I compile this for the web?
View Replies !
View Related
AIR + FlashDevelop ?
Does anyone know how I can use FlashDevelop to create AIR applications?
I've read a lot of documentation and downloaded and installed a lot of things but I have no idea what I'm doing.
I've installed:
FlashDevelop Beta 8.0
Flex SDK 3.1
Java 1.6 JRE (tried several but the browser plugin, Web Start, never works)
Apache Ant 1.7.1
Cygwin (wont let me change directory!)
Stand Alone Flash Player 9 Debug
Flash Player 9 Debug ActiveX
Flash Player 9 Debug plugin
Thanks,
View Replies !
View Related
Flashdevelop 3.0 Alpha
FlashDevelop 2.0 has become one of the most popular alternatives to Adobes Flash IDE and last week, a new version with support for the Flex SDK, AS3 and MXML was launched.
FlashDevelop is a free Open Source actionscript editor and compiler, written in C#. It is blazingly fast and and it really speeds up your daily work. Read our march 2006 review of FlashDevelop here.
This release is still an alpha version, but it is considered to be stable for most uses. With support for AS2, AS3, MXML and HaXe, this is a tool to check out if you've outgrown the code window in the Flash IDE. The new version sports a fresh new look, a new completion engine, a small diff tool, improved standard plugins, recent projects menu and an integrated browser to name a few new features.
Unfortunately there's no CVS/SVN integration yet, but we're hoping they'll add that for the final version.
http://www.flashdevelop.org/communit...pic.php?t=1436
http://www.featdesign.ir
Published: 29 May 2007
View Replies !
View Related
Flashdevelop Install Help
hi all,
i just downloaded flashdevelop 3beta5, Flex3 and AS3_intrinsic_classes.
- i copied the flashdevelop folder and renamed it flashdevelop_as3
- now i need the flex3 path and AS3_intrinsic_classes path??
Where do i define this paths?
regards,
ps: happy christmas
View Replies !
View Related
FlashDevelop & Flash IDE Working Together?
Hi all,
I seem to spend most of my time these days stuck in the code window of the Flash IDE so I'm going to give FD a try. My concern is that I'd like to continue to use the Flash IDE for graphic creation as it's very convenient & works well for me.
Is it possible to use them together in a synchronised way - Flash IDE editing the main .fla with the all the graphics (set for export in the linkage properties) & FlashDevelop editing all the AS scripts?
PMF
View Replies !
View Related
Having Trouble With FlashDevelop - It's Not Compiling Right
Alright, to start, I have flash 8 (i know it doesn't have as3) installed on my laptop, and I thought it'd be great to get an as3 compiling program i can stick on my flash/thumb drive. so i installed it on my laptop, and i downloaded the flex 3 SDK on adobe. I put the contents in a folder in the flashdevelop folder.
I started by making a new AS3 project, and i made a class and I added the trace function i made a text box both reading as "Test."
Here comes the problem, when i compile it opens flash player 8, and i am pretty sure you need flash player 9 to view AS3 files...
Is it because I have Flash 8 installed?
View Replies !
View Related
EMBED Tag Using FlashDevelop Problem
I am trying to embed an image file in a papervison project using FlashDevelop.
I dont get any compiler error- but I cannot see the image(bitmap material) in the final project!
Part of the code is:
ActionScript Code:
[Embed(source="Earth.jpg")]/*the image is in the same directory as the class, also added to the library(blue coloured)*/ private var EarthMap: Class; public function EarthTest1() { super(640,480); var earthbmp:BitmapData = new EarthMap().bitmapData; var earthmaterial:BitmapMaterial = new BitmapMaterial(earthbmp); sphere = new Sphere(null, 150,20,12); scene.addChild(sphere); camera.fov = 30; addEventListener(Event.ENTER_FRAME, enterFrame); }
I have a feeling that this is a common error for beginners like me in FlashDevelop. Any help is appreciated...
PS. using SDK4
View Replies !
View Related
FlashDevelop As IDE Script Editor
Hey all,
Noob question --
I use FlashDevelop to create custom classes, etc. I would like to be able to use it for internal script too -- meaning, I would like to be able to type code in FD instead of in the Flash IDE's editor, and have Flash go get it when I publish or preview. Obviously this means that I would be entering code without the "package", "public class", "import", etc.
Is this possible?
View Replies !
View Related
Need Flashdevelop Tutorials..if They Even Exist.
Hi,
I make animations sometimes alongside my usual business of doing illustrations and logos. Luckily for me the computer donated to me had photoshop preinstalled so illustrations are no problem, even animated gifs can be done, but if I want something with interactivity or sound I apparently need flash (compatibility etc reasons). Problem is it isn't preinstalled on my computer and it is outside my budget. So I went open source. Open office saved me from having to buy powerpoint after all. I did a bit of research downloaded flashdevelop and got it working. It seems to be aimed at people who know what they are doing though. Does anyone know of some good (free) resources that would help me learn how to use it.
View Replies !
View Related
AS3 - FlashDevelop And Stage Dimensions
I am currently using FlashDevelop for building AS 3 projects and have one question. How can i set the stage height and width since there is no timeline and document properties in FD like those in Flash IDE. If i trace from FD current 'stage.stageHeight' and 'stage.stageWidth' i get 367 and 571 values but how can i change that dimensions?
thanks,
best regards
View Replies !
View Related
[F9, Flex, Flashdevelop] Component Not Displayed
hello,
i just started programming with actionscript. my ide is flashdevelop.
the problem:
this here works:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="init()">
<mx:Button label="This one is done by MXML" x="10" y="10" /> <mx:Script>
<![CDATA[
import mx.controls.Button;
//Init Function is executed when the application boots
private function init():void {
//Create a new button
var newButton:Button = new Button();
//Modify Properties
newButton.label = "This one is done by ActionScript";
newButton.x = 10;
newButton.y = 40;
//Add the new button to the stage (Screen)
this.addChild(newButton);
}
]]>
</mx:Script>
</mx:Application>
(it's an example codebit i copied 1:1)
this here doesn't:
Code:
package
{
import flash.display.Sprite;
import flash.events.Event;
import mx.controls.*;
public class Main extends Sprite
{
public function Main():void
{
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(e:Event = null):void
{
removeEventListener(Event.ADDED_TO_STAGE, init);
// entry point
var newButton:Button = new Button();
//Modify Properties
newButton.label = "This one is done by ActionScript";
newButton.x = 10;
newButton.y = 40;
//Add the new button to the stage (Screen)
this.addChild(newButton);
}
}
}
the first example displays two (clickable) buttons, the second absolutely nothing. what's wrong here? thanks in advance.
View Replies !
View Related
Working With Embedded Images In FlashDevelop 3
Hello, all.
I'm teaching myself Actionscript 3 using FlashDevelop. I've hit a snag. I'm trying to create a class that uses an embedded .png image ("PowerButton.png"), but am having trouble getting it to work the way I want. It works fine when I stick the following code in my Main script:
Code:
[Embed(source='/sprites/PowerButton.png')]
public var PowerButton:Class;
.
.
.
var b:Bitmap = new PowerButton();
addChild(b);
...However I don't want all of this in Main. I want to spin off the class definition into its own file ("PowerButton.as"). I've been able to do this sort of thing with vector graphics drawn using the graphics.draw commands, but it isn't working with embedded images. When I try to instance it from Main I get an error message:
Code:
Error: Constructor functions must be instance methods.
Given the following "Circle.as" file for creating a simple circle (which is working), how would I modify it to use an embedded image in the same way?
Code:
package
{
import flash.display.Sprite;
public class Circle extends Sprite
{
public function Circle()
{
init();
}
private function init():void
{
graphics.beginFill(0xff0000);
graphics.drawEllipse(100, 100, 50, 50);
graphics.endFill();
}
}
}
Any help is appreciated.
View Replies !
View Related
Creating SWC Files In FlashDevelop (Plugin And Tutorial)
For those of you familiar with FlashDevelop, here's good news: You can now export SWC files. A developer from Sydney published a SWC export plugin for FD. The plugin is available here: http://www.flashdevelop.org/communit...pic.php?t=2987
I put together a tutorial on how to create a SWC component in FlashDevelop:
http://blog.log2e.com/2008/05/07/cre...-flashdevelop/
View Replies !
View Related
Writing Code In FlashDevelop And Attaching Instances From Library
Hi guys, I'm trying to migrate to AS 3.0 and I faced some difficulties.
Code is written in FlashDevelop and compiled with help of Flex SDK Everything is working great, but now I'm in need in connecting this code with the fla file more specifically I need to attach some instances from the fla file library.
So how can I make it?
This is a very newbie question but I really need your help,
Thank you in advance
View Replies !
View Related
Import/use Symbol As Motion Guide In Flex/Flashdevelop
Hi all,
In flash ide I am able to easily move one object along a path that I have drawn by using it as a motion guide.
Now, I've imported the object to be moved, and the object that serves as the motion guide into flashdevelop for use in my script. They both appear as classes and I have placed them on the stage in the exact positions they are in flash ide. Now I want to tell the first object to move along the path of the second one, but have no idea how to do this solely in actionscript.
Specifically, I am not drawing the motion guide within AS3 - it is imported as a symbol.
Also, I do not want to use the "copy motion" command in flash.
I have exhausted all searching possibilities as I cannot seem to locate any information about this.
Thanks,.
View Replies !
View Related
Problem In Creating As2.0 Program In FlashDevelop And MTASC Complier
Hi..,
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, Can anyone help me out please..,
View Replies !
View Related
AS2 - Problem In Creating As2.0 Program In FlashDevelop And MTASC Complier
Hi..,
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, Can anyone help me out please..,
View Replies !
View Related
|