ASdoc With FlashDevelop
Anybody out there using ASDoc with flashdevelop?
I can't get it to work except as a command-line, and I want to use a button in FD.
ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 07-01-2008, 11:28 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
AsDoc On The Mac?
I've been messing around trying to get the AsDoc command line util to work on my mac. I can get it running, but it constantly complains with this error;
Error: A file found in a source-path must have the same package structure '', as the definition's package, 'noponies.video'.
Anyone know what that means and or how to fix it?
My class, has the correct package structure.
EDIT - I got it to go, so thanks if you were thinking about it.
Can't Run Asdoc From Flash SDK 3.0
I have tried to create a .BAT file on a windows machine:
Code:
cd "c:Flex SDK 3.0in"
asdoc -source-path "c:projectsmyProjectsrc" -doc-sources "c:projectsmyProjectsrc"
pause
It results in a couple of errors. One is in the CLI window:
Error loading: D:Program FilesJavajre1.6.0_05inclientjvm.dll
The other is an alert dialog:
This application has failed to start because MSVC471.dll was not found. Re-installing the application may fix this problem.
Can anyone tell me what the problem is? I really want to use asdoc but the documentation is not helpful.
AsDoc On The Mac - Getting It Work
I've been messing around trying to get the AsDoc command line util to work on my mac. I can get it running, but it constantly complains with this error;
Error: A file found in a source-path must have the same package structure '', as the definition's package, 'noponies.video'.
Anyone know what that means and or how to fix it?
My class, has the correct package structure.
ASDoc GUI For Windows
Don't know how many folks here use asdoc, but if you do, and like me, hate running apps from command lines, this may help out. ASDoc purists probably won't like it because it doesn't support every feature (such as namespaces), but for schmoes like me, who just want to point and click to a package of classes to document and hit a button, it's a lot better than command line crap..
Windows only at the moment, but if I get enough feedback, I may add features, a better design, and make it multi platform..
If anyone uses it and runs across bugs, etc.. let me know..
http://www.onebyonedesign.com/downloads/ASDoc_GUI.zip
Quirky AsDoc Issue
I have a very large project that I'm trying to document with AsDoc, and it's giving me an error. The problem is there are instances on the stage of items in the library that Flash is exporting at compile time. When the project is compiled, Flash creates the classes dynamically so I can reference them in my AS code. However, when I run AsDoc, those classes don't exist, and I get errors. Has anyone else come across this? And is there a solution that doesn't involve reworking my entire project? (that is not an option on this project).
ASDoc GUI && Command Proxy
I was playing around with Mike Chambers' CommandProxy idea today and came up with a GUI for asdoc.exe built in AIR.. Not the most user friendly app in the world, but it works and just the concept that it actually works is pretty cool..
More details and download here.
ASDoc And Package Function
How to use ASDoc with a package function without switching StrictMode off?
I have such error:
Error: definition not found net.imonair.core.utils:convertSpaces.
ActionScript Code:
package net.imonair.core.utils { public function convertSpaces(value:String, toWebFormat:Boolean = false):String { return toWebFormat ? value.replace(" ", "%20") : value.replace("%20", " "); }}
[AS3] ASDoc And Flash Classes
Hi guys,
Does anyone know if it is possible to get ASDoc to "see" classes in the flash.* package and create documentation accordingly?
If I had a custom class that extended Sprite I would ideally like the documentation ASDoc produces to include the properties and methods (etc) from the Sprite class and all other parent classes in the hierarchy.
[ASDoc] How To Document Events
Hi, there!
I'm facing a little problem and maybe you can help me.
I have two doubts:
1) How do I document an event using ASDoc tool? I tried the documentation @eventType and used the Event meta tag, but it just doesn't include the Event on the Documentation.
2) When I type "addEventListener(" the Flex Content Assistent popup with all the avaiable events of that classe. What do I need to do to include my own custom events on this content assistent? E.g.: I have a class called MyClass that dispatches MyEvent. I'd like that when I type "addEventListener" on a MyClass instance, the Flex show "MyEvent.CHANGE" on the content assistent.
Thank you!
CaioToOn!
ASDoc With Stage Instances Not Declared...
I was wondering if there is a way to get ASDoc to work even though stage instances aren't explicitly declared in classes (i.e. "Automatically declare stage instances" is checked off in the Actionscript 3.0 settings); currently ASDoc won't render any documentation due to compiling errors (can't find property, etc)...Anyone have any work around?
Thanx in advance
Generating Doc For Flash As3 Project Using Asdoc
I wrote one simple component using as3 in flash (not in Flex). I would like to generate documentation for this component using asdoc tool from flex3 SDK. In this project is not used any flash or flex components, just standard flash classes like DisplayObject, Sprite, TextField, MouseEvent etc.
When I start asdoc tool with needed parameters, it seems that flex compiler make everything ok, but at the end show this FATAL ERROR:
ERROR: 'file:///X:/!!!_work/_install/flex/flex_sdk_3.2.0.3794/frameworks/../asdoc/templates/class-files.xsl: line 75: Required attribute 'file' is missing.'
FATAL ERROR: 'Could not compile stylesheet'
(Location of error unknown)XSLT Error (javax.xml.transform.TransformerConfigurationException): Could not compile stylesheet
i have no idea where can be the problem. I don't know which file is missing for asdoc :-(
please help
thankx
[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
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...
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
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?
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');
}
}
}
What Is FlashDevelop 3.0?
Hi,
What is FlashDevelop 3.0 and how it works?
Is someone from here using FlashDevelop? If yes, can you please share your experience and tell us a little bit about it?
Thanks,
fs_tigre
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.
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?
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,
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
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
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
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?
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
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?
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.
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
AS3 Development - Flex IDE Or FlashDevelop
What are you guys using for AS 3 development and what would you suggest? I am sure FDT would be ideal tool but is way too expensive so i was wondering: FlashDevelop, Flex Builder IDE or something else? What's your opinion on this?
best regards
[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.
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.
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/
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
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,.
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..,
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..,
|