AS3 :: Flex Documentation Of The Lesser Know Properties
Sep 17, 2009
Over the past three weeks, I have lost at least 120 man hours because of some lesser known functionality in ActionScript 3. One of the problems was that, with Internet Explorer, if there are too many messages sent through LocalConnections, it will slow the messages sent through, but in the standalone player and in Firefox, this threshold is significantly higher. Another was that the static values of a class are instantiated even if the member itself is not being used:[code]Since FooClass had a static reference to a Singleton, that Singleton was instantiated so when I loaded a Module which used that Singleton, it would bind to values in an unpredictable way.Additional cases where things behave in an unexpected way:
So here's the question (and I'm sorry for omitting this in the original post), is there any consolidated documentation for this type of behavior anywhere? Is there any (even non-Adobe) documentation on these issues (websites, forums, books, ANYTHING)? I know that these things are definitely easy enough TO document, but has anyone done so?
I'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).
today I wanted to change the border color of TextInput when user has a focus on it. I could not find any style that would allow me to change thatlittle bit of Google searching and I found answer to be themeColor.Why is it that there are some styles that work and which are not even mentioned in the Flex documentation? (and how can one find out about em, except doing some web searching?)
As the title says - is it possible to document my ActionScript packages / namespaces using the ASDoc comments and the included asdoc command line tool?
I know that I can get info about constants, methods, etc of a class by using flash.utils.describeType. But I want to know if I can retrieve the asdoc comments of a class member.
I suspect, documentation is removed when classes are compiled into SWF so it might be impossible to get comments during run-time.
I've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
In my example below I have several objects. I want to change the label of all objects in one go, without calling each element by id. I know how to do this in HTML, but not in Flex.
CODE:
This is how I would usually set the color of 3 objects to grey in one line.
CODE:
Is there any way I can change the labels of all 3 buttons with a single line of code similar to the jQuery example?
I have a Flash Builder application which uses URLs within its code and I want to be able to change these URL values without having to recompile my application, i.e. I want to have a plain text file I can edit which is used to populate these URL values when the application begins. I've worked out what feels like a kludge to do this with ResourceBundles, but maybe there's a better or more straightforward way to go about this.
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?
What is your approach to writing documentation explaining the options and use of XML files for a project ?Do you write commented instructions directly in the XML file ?Do you create a different text file in which you write instructions ?Do you explain the use of blocks of XML or do you detail each element and it's function ?I am looking for some guidelines on how to write the documentation for large XML files that control the settings and content of projects.
[code]1. Rewrite the class and put it in a package statement and save it as Example.as
2. Create an Fla file and place in it an import statement and the code where the instance is created.If the code can run as is, how do you do that by merely pasting all the code into a FLA file.
Does anyone have the Macromedia MX Documentation Updater or the updated help files or even a PDF? My help doesn't work properly in the browser. I can get to the Macromedia MX Documentation Updater page on the adobe site, but I can't get past the register and download page.
I am trying to embed an f4v file into Flash CS5, however the program won't accept the file I've tried renaming the extension and removing the audio stream. The only thing that seems to work is if its a TRUE flv file using VP6 and with a .flv extension.The documentation here regarding embedding flv/f4v mentions the ability to embed either file formats:I have found no positive results on google and there doesn't seem to be a Flash Jira for bug tracking.
Does 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.
how does one enable the actionscript documentation to appear properly in Eclipse? For example, if you hover over addChild, the ASDoc view brings up the class hierarchy with [code] but does not give any of the details, descriptive text, parameters, etc. If I write my own documentation using the /** */ format, it does appear in there.
I have been working with Flixel in FlashDevelop for quite some time, and I recently updated my Flixel library to the latest version. Some things have changed names or have been moved or had their inputs changed. For some reason, FlashDevelop is still showing me the documentation from the old version of Flixel as I type things in, so I keep trying to use variable and functions etc that no longer exist.
I've been trying to clean and organize my code as much as possible lately and I'm wondering what the best way is to create documentation that resembles the professional ASDocs.
The Help file for Flash 8 says regarding MovieClipLoader.unloadClip()
Originally Posted by flash docs
Removes a movie clip that was loaded by using MovieClipLoader.loadClip(). If you issue this command while a movie is loading, MovieClipLoader.onLoadError is invoked.so i assumed that i could use unloadClip to cancel a download...neither of these things seem to be true - anything in the function associated with the MovieClipLoader.onLoadProgress event continues to execute despite the unloadClip being called.is there a way to halt the MovieClipLoader from loading?
I am trying the basic XML parsing code from the adobe documentation.. I tried it with several RSS feeds I plan to use, many of large websites.. one worked, the others returned status -10, status: -10 (An end-tag was encountered without a matching start-tag.) the thing is, these are big sites, there is no way all of their feeds are malformed... plus, I checked briefly the XML structure, and checked it with an XML syntax checker (Notepad++) and it came out correct.. so why is flash treating these as malformed ? how can I solve it ? [URL] this doesn't work, and other don't as well from other sites, some other links do work.
I made some progress, I found that loading this rss url, via a browser gets me the right content, but when I try it in Orbit download manager, I only get six bytes! which are </rss> maybe this is what flash sees as well ? what could be the reason for me getting only partial content ?
I am trying to make a full Flash site SEO'd and have come across a problem which it seems the swfaddress optimizer javascript can fix, but i can't find out how to configure it.
I 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".
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...