ActionScript 3.0 :: ASDoc Only Documents 1 Package Function Per Package?
Jan 27, 2010
I'm running into this weird thing with ASDoc. It will only document one package function per package.For example.I have these two functions:
gs.util.printf
gs.util.ftrace
In these files:
gs/util/printf.as
gs/util/ftrace.as
The only function that get's documented in ASDocs is "printf". But I know it can do more than one. As an example, in the livedocs [URL] There are more than one functions documented.
View 2 Replies
Similar Posts:
Feb 3, 2009
I've started using ASDoc to document my latest project. But for some reason, it will only document one package function per package. This means that it documents one function in my utils package and then skips all the others.
Has anybody here successfully documented a utils-like package, with a ton of package functions?
View 1 Replies
Dec 18, 2009
I am having troubles passing an x and y argument into a package function that creates a projectile on stage at the tank.gun's x and y.I have attached a zip of the code I am working on.[code]
View 6 Replies
Dec 19, 2011
I have an actionscript file,it has a package name,it locate C:demo directory,like follows:
package demo{
import flash.display.*;
public class ABC extends Sprite{[code]............
Then I compile above code like following command,but it raise following error:
C:>mxmlc demoABC.as
Loading configuration file C:sdkframeworksflex-config.xml
C:demoABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.Where is wrong above command?
View 1 Replies
Oct 13, 2009
This is with Flexbuilder 3.2, Eclipse 3.3.2.I am moving my development environment to a new machine. Actionscript classes that compiled in the old environment now get a compile error:
A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be externally visible, please put the definition in a package.I do declare the package in these classes - I think failure to declare the package is the usual reason for this error.To add to the mystery, many classes in this project compile without errors.
View 1 Replies
Oct 8, 2011
Below is a MXML code built from Flash Builder 4.5 with AIR SDK 3.0. Using Starling framework to create 2D animation and wonder how do I call a addText function without create a new instance of Game?
main.mxml is a main application:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" [code].....
View 1 Replies
Apr 15, 2011
I downloaded a statistics package with files like basicStatistics.as. Inside the file it looks something like:
Code:
package statistics{
import statistics.utils.MathUtil;
public class BasicStatistics {
public static function getAverage(_numberArray:Array, _decimals:int = -1):Number{
etc...
How do I call the function getAverage from my main .as file. I have a project called statistics.fla. In the same directory are the statistics packages files and folder directories. My main as3 file is main.as which is in the same directory as the .fla file. I tried using import statistics but it didn't work. It gives an error. I tried using statistics.getAverage but that doesn't work either.
View 6 Replies
Aug 19, 2010
After I saw the methods in flash.utils package, I decided to make a try:
// inside file Test.as
package com.tests
{
[code].....
View 2 Replies
Jul 24, 2011
I'm having a small problem with packing my classes at the moment.Here's my problem
Code:
map[1][1].addUnit(new Infantry);
map is an array of MapTiles which are a part of the "Map" package I've created. addUnit is a
[code]......
View 9 Replies
Dec 14, 2004
I have classes witch resides in this package :com.network.interface_as. When I try to load one class from that package in another class in the same package like this:
[Code]...
View 2 Replies
Jan 29, 2007
I am working on AS3 and I have a created a button class which have an off state and on state. I did the class and it works fine, but i need a little fine tuning. Right now I am polling the button state from the root(main timeline) by checking a boolean property in the button class. I feel it is quite inefficient to check the button state on every enterFrame event of the main timeline. Rather I would prefer the button to tell the root time line by invoking a function written in the root, whenever a state change occurs. t should be cleaner , right?? But when I try to access a function in the root which goes like this
[Code]...
View 14 Replies
May 14, 2009
I searched the forum, could not find questions like this so I hop this is the right forum.[code]...
how I should add this package to CS4?
View 1 Replies
Jul 8, 2011
I just downloaded the AIR SDK, I just don't know how to proceed. Some sites on the internet tells me to execute the
adt -package SIGNING_OPTIONS air_file app_xml [file_or_dir | -C dir file_or_dir | -e file dir ...] ...
command line, but I just don't know how to do it.
The application is already developed and ready to use, but I can't package it.
View 2 Replies
Nov 24, 2009
I am trying to understnd some of the things about packages, I have expand a book exercise and I am now trying to workout how to reference a return value within this package.I have put together this package
Code:
package classes
{
import flash.display.*;[code]....
What I am trying to do is use the 'return(spot1);' value where 'new smiley1(); is.My goal is to be able to create the library object name, (in this case smiley1 from a string variable and then display it on the stage with addChild.At this stage I am just trying to work out how to swap 'new smiley1' with the 'return' value.I will work on the addChild bit next.
View 2 Replies
Nov 23, 2010
I have a 3.5MB SWF that points to ~80 FLVs that range in size from 3MB to 10MB.
Is there a way I can package all of these files into one ~500MB file that can be run locally? My client wants sales people to take this app around with them on their laptops and not require the internet and I don't want them to have 100 files to mess with.
View 2 Replies
Dec 6, 2010
implementing AS3 localconnection, I sourced Adobe article that provides a send and recieve script and thought to use this get started.
[URL]
how to bring the .as package script into my sender.swf.I have a blank sender.swf and have created LocalConnectionSenderExample.as in same directory, how do import the package (classes) and also any other code?
View 2 Replies
Jun 1, 2009
In one of my Action Script 3 projects I need to create package names having numerics in them. For example I am writing one of the package name as com.projectname.activity101.view.*
My query is whether it is okay to have numerics in the package name as in the above example. I am asking this query as once working with Flash 7 I had used the package name ending in number that gave me some issues. When I changed the package name to have only alphabets in it the issue was resolved.
View 1 Replies
Jan 9, 2010
I have some problem loading my package in AS2.0.[code]
View 3 Replies
Jan 28, 2010
Apparently, I cannot have two public classes in a package. How else can I declare classes?
View 2 Replies
Aug 30, 2010
the following file/class structrue causes problems:
[Code]...
Inside the classes, I have put them into package CSoCM and MusicBlog. Now I want to call ContentMasked inside the Blog-class. How do I have to reference this?
View 9 Replies
Jul 21, 2010
I am creating an app with Flex 4 using Flash Builder. When I try to use mx:XML component, I get the error Could not resolve <mx:XML> to a component implementation. Can any one tell me which package to import to resolve this error.
View 2 Replies
Dec 2, 2010
If i run the program i get some errors.If we include a class in a package how should the program be run?[code]...
View 2 Replies
Jun 8, 2011
I've written a small sample AIR application in Flex to be deployed on iOS and Android, but I'm wondering how to go about setting up a way to publish it as Flash as well. I'm using Flash Builder 4.5. Any tips for this AIR noob?EDIT:I should add that I've tried to add a new Run Configuration, but did not see a Flash app option listed there. I'm sure I'm missing something fundamental. After all, this is FLASH Builder.UPDATE:So this partially did the trick... I went to Run Configurations again and created a new launch configuration called "Flash_configuration" and pointed it at my project like so.
However, upon hitting "Run," the app launches in Adobe Flash Player, but is completely blank. The mobile flex contains buttons and UI elements in the View, but these do not show up in Flash Player. Perhaps the Mobile Flex framework elements are not directly translated to elements understood by Flash? If so, will I have to use some actionscipt to detect the platform and replace those mobile elements with flash-friendly ones? I would sure hate to rewrite/draw.
View 1 Replies
Jun 12, 2011
I'm trying to make use of a package that someone else has written in my Flash AS3 programme.I can't work out how to include it however, nothing I try seems to work. The package is here:[URL]
View 1 Replies
Mar 21, 2012
How to add in .as with a class extends Sprite ?? We created the Easy1 in Flash Professional to create a live streaming video viaFMS for 2 users and now we want to combine easy1 into HelloFlerry to invoke Flash-Java nativeprocess.
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code].....
View 1 Replies
Feb 9, 2010
i have a problem to get data from my package. In package i have lets say regtangle with id=5 and mouseEventListener for click. In main fla i have textField, so if i click now to regtangle id like to see that id number(5)in textField.
View 5 Replies
Dec 15, 2010
im newbie in flash actionscript 3.0.. so im starting learning from o'reilly cookbook. I have a problem on importing package from as file to my flash file... here is my code for my as file
[Code]....
then here is my code for my flash file import testing2; both of the files was on the same directory written in the books that this code can draw random lines,, but what i see is just a blank page.. how the actual way to import package onto flash file? im running after forum & found piece by piece solution but i still couldn't fix it.. sometime i have error where i need to change my function name..
View 1 Replies
Mar 26, 2011
Been looking for tutorials and examples of how to use the 3D package in Flash 10 but can't find anything. I have some experience of 3D programming (C++) so I don't need the basics, just a description of how actionscript works.
Had a example of a randomly rotating 3D box but can't find the page again...
View 1 Replies
Oct 11, 2011
Am a 2.0 Scripter, and am really figthing to jump to as3.0 , not easy AT ALL.
As2.0 : i used to use
_global.my_function = function(){}
wich was really really simple so u can use that function from evrywhere . how to do so in MISTER AS3.0 ?
View 6 Replies
Oct 31, 2011
I have a "retrieve" button in one page, and I want to click this button then retrieve imformation from database. Everything works fine util one day. I receive the imformation in xml at retrieve.as file, now I want to create a datagrid using datagrid.as file to show these imformation. The question is I do not know how to pass this xml file form retrieve.as to datagrid.as. I know about sharedObject, but it is not safe to keep this xml file at client side's local drive, even if it is temprary.
View 5 Replies