Actionscript 3 :: Creating Components Documentation For Flash CS5
Nov 18, 2010is there no official documentation / guide published somewhere on how to create components for Flash CS5?
View 1 Repliesis there no official documentation / guide published somewhere on how to create components for Flash CS5?
View 1 RepliesI've been working on a framework in AS3 that I want to release, but first I obviously need to prepare some documentation for it.I've noticed that quite a few sites have the exact same layout, functionality etc as Adobe Livedocs, which has let me to believe that there's something open source out there for creating online documentation.
Ideally the system would be specifically suited for documentation in ActionScript 3. I don't have a requirement in terms of the documentation being automatically generated either - if there's something out there that looks/works nice I'm happy to manually create the documentation (provided it comes with tools for easily adding classes, arguments, etc).
i'm attempting to write an mxp, and have found the folllwing links:[URL]i've started to read and sort of understand how this all comes together but can anyone out there point in the direction of further tutorials or at least advise on whether i'm on the right track on not
View 1 RepliesIsn't there some way to re-write the following code, such that I don't need a gigantic switch statement with every conceivable type? Also, if I can replace the switch statement with some way to dynamically create new controls, then I can make the code smaller, more direct, and don't have to anticipate the possibility of custom control types.Before:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
[code].....
I'm looking for a tool to create just the skins for different kinds of Flex 4 components.I'd like to be able to create the components myself and have the designer/artist do the skin, but I don't think they'd like the idea of doing them by writing MXML files.
View 2 RepliesIs there any opensourse, free set of components for creating Flex mxml graphs? like aviary Peacock style ones with at least Drag, drop, and connect generators so each graph element could have or something like that. Framework should be opensource (like GPL, LGPL etc) BTW: I found one wary bacic made by Erno Aapa with Degrafa but I would really love to see something much more Flex 4 - mxml oriented and frienfdly.
View 2 RepliesI've been trying to find useful information on the web about using components in flash. I want to create a simple mp3 player, and I wanted to use the components because I thought that would be easier. I want to create something like this: [URL].
View 2 RepliesI have a XML and it has an attribute option or combo box, parsing that i need to create components in my flex dynamically. Viatropos has given a wonderful code, but i am not able to execute it... can anyone produce it.
View 2 RepliesIve built a pretty nice video payer for swf movie files.So be fore I go any further with it I wanted to extend it to run flv files too.
So far this has been a major pain.Im thinking ill buy one of the flash 8 action script books.Everything ive read so far tells me to use the flv components? But I dont want to! I want to adapt my action script from my already working swf player to an flv player?Does anyone have any good tutorials or tips to creating an flv player without components? ive managed to load play and pause an flv and also controll the audio but i want a video progress bar and rewind and fast forward button...
When I define custom propertie in my MXML component, I also want to define a set of possible values of that property to make Flex Builder show then (possible values of the custom property) when I invoke code completion function.
View 2 Repliesi have an exam on monday and i have been asked to Create a component with embedded action script, that everytime i call an instance of it, it has the action script allready in it... i need a step by step on this.
View 1 RepliesFor my AIR based application I am trying to create a custom component based on canvas which has an image (as shown below).
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" cornerRadius="5" borderStyle="solid" borderThickness="2" dropShadowEnabled="true" borderColor="#EDEDE8" dropShadowColor="#dddddd" shadowDistance="5" shadowDirection="center">
[Code].....
As a work around, I am trying to add an creationComplete listener to the canvas in my custom component and used to give titleImage.source = this.path . keep changing the image or when the path of the image fetched using some async call.
im trying to figure out what is better for run-time, creating components in MXML or by SCRIPT?. I built an app that recieves data from a server without knowing how much data exactly. In worst case scenerio , ill need 10 LABELS and 2 DATAGROUPS.But i usually need something like 3 LABELS and 1 datagroup. what is better? creating all components in advance and than not include in layout the ones i dont need, or make some checks and then create only the components i need by script? I made some tests , but it wasnt really decisive, run-time was pretty much simillar.Im guessing it must be stated somewhere what is better. Does anyone have an answer for me?
View 1 RepliesI want to create a component with a variable/parameter that is a method it calls when (clicked on for example). In "Flash UI Components.fla" the they do this and I studied the code but cant get it to work. The Push Button one has a click handler, but the way it is actually called in the script is like this:
this.handlerObj[this.clickHandler](this);
That bracket/parenthesis thing is not working.
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
createClassObject returning null value when creating dynamic components. I am using the following code
[Code]...
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library. Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
I have some simple function in Flex in which I would like to send one of my variables to all the components used in my app... The problem is that there is lots of components in my app, and I'm not sure how to reference to my component's id... Basically, is there an easier way to do this;
private function preloadStuff():void{
// populating of bulkLoader var
var preloaderItemsList:XMLListCollection = new XMLListCollection(preloaderItems.children());
var item:XML;
[code].....
createClassObject returning null value when creating dynamic components.
I am using the following code
var __reg2 = new Object();
__reg2.label = _label;
__reg2._width = _w;
__reg2._height = _h;
[Code]....
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.
I have the component dragged into my library.
Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .
I am trying to put a Flash ActiveX control into a Windows Form but I am running into a problem: a lack of documentation. The best I have found is a site called "F-IN-BOX" that has some documentation but much of the API is still a black box. For example, some property will take an integer or a string and provide no clue about what it wants. Another exanple is the FlashVersion() function that inexplicably returns 655361 on version 10.
Incidentally I'm having the same problem with Apple's Quicktime OCX. I've searched both sites and Google and I'm starting to wonder if either of these companies provide documentation for any of their products. Does anybody know where I can find documentation for either of them, even if it's the unofficial variety?
It's been a while since I've done any AS3 dev. but now I'm working with CS5. I remember back in the good ol' days of CS3, You opened it up and there was a whole list of classes and it allowed you to drill down into each and see great examples and full documentation. Now, whenever I click on help it brings up this awkward and overly complex AIR interface. I don't like this! Is there anything like the old interface?
View 3 RepliesDoes anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex.
View 2 RepliesIs it possible to write/install your own documentation for self-created classes along with Adobe's documentation in Adobe?
View 3 RepliesI am trying to host a flash object inside an CAxWindow, I have managed to insert a shockwaveflash (SWF) and its working fine. I am trying to find all available API's that are available in the flash ocx. I am unable to find any documentation for the functions in the IShockwaveFlash interface.I know that Adobe doesn't have a documentation for using flash in VC++ but I was wondering if anyone can point me to a place where I can find an UNOFFICIAL documentation for flash.ocx or code samples as the only API that I could find and I'm currently using is "PutMovie".
View 2 RepliesStill getting use to Flash Builder.
i'm writing pure ActionScript, without MXML, to create AIR applications.
when i try to reference the documentation by Command + Clicking on code (in this case i Command + Clicked on "Sprite") i receive the following error[code]...
The docs I can find for flash.globalization.DateTimeFormatter are here In those docs, the examples show the use of an important method called setDateTimeStyles(). However, there is no such documented method! Same goes for format().
I feel I'm missing something or am looking at dated/incomplete material (or am a complete idiot). Where is the correct/best documentation?
PS: I'm finding I have this general problem (missing/incomplete docs) quite frequently and this question could actually be "Where is the 'correct' flex/actionscript documentation? Or is it just bad?", but I'll be very specific (and non-inflammatory) to try and improve the odds of a clean answer...
How to embed a Flash application into trac Wiki
View 2 Repliesdoes anyone know how/where to download actionscript 3 flash platform full documentation in packed HTML files. What I want is to have a local copy of the following doc: [URL] We are currently using a local copy of FLASH4 actionscript docs, which is quite out-of-date.
View 3 RepliesIf your Flash app is in the middle of some code, such as a method, or the AS on a frame, and it gets a callback from an asynchronous event, how does it handle that? Is execution halted on the current code to handle the callback? Or does the currently executing code finish first?
I can't seem to find any white papers or documentation on the threading behind Flash.
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 RepliesIs it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2>
<com:MyComp3>
[code]....