Hello, we are two people working on a Flash application.
I work on some ActionScript 3 code,
which I compile to a .swc file using the Flex SDK on Linux.
My colleague uses the file as a library for his .fla file in the Flash IDE,
uses my code in his scripts, creates MovieClip and Sound objects
with the classes it provides,
and builds the...
I want to create a class that is interactive and can hold an image. I want it to be lighter then the Sprite class, so I was thinking about extending the bitMap class. If I extend the BitMap class. put a bitMap data in that class and at it to the stage. would it appear ???
...
Can anyone tell me the path of the fl.ik library in the file system on my computer?
I want to use it in a project, but I cannot import it from Flex Builder because it doesn't find it in any of the usual places.
...
Hi can anyone offer some help please ? I have two images on my flash stage (A camera image and a scenery image) The idea is that the camera is in front of the scenery. The problem is although both images are on my stage the camera is completely transparent and looks wrong . How can I set the cannon image transparency so that it is a sol...
I know there has to be away to adjust objects on the stage from all keyframes because it's probably the most annoying thing I've experienced
I adjust a bitmap image and then when you play the movieclip, right when it hits another keyframe it shows the old position instead of the new. How can I update all images on the stage including al...
Hi,
I use the code below to create 3 movie clips.
var A:Array = new Array();
for (var i:uint = 0; i < 3 ; i++) {
A[i] = new hayvanSec();
A[i].x = 240+i*160;
A[i].y=300;
addChild(A[i]);
}
I have 10 image files in the library. I want to show one of these images inside those dynamically created movie cli...
I have a Flash CS4 movie that uses a standard Flash combobox. This works fine, as long as I don't use the resulting SWF embedded on a HTML page. When I do embed it, the combobox doesn't show up, doesn't dispatch mouse events, it's just as if it doesn't exist. However, if I switch to fullscreen, the combobox appears and functions normally...
Is there something similar to this jquery component in flash or are there any ready examples on how to do that?
Thanks.
...
Hi ,
does anybody know about a good book for learning "flash cs4"
Thanks
...
A few hours ago I've asked how to create a custom component (textInput and label component and created a Component Definition) and with your answers I can do that now.
Problem 2: I'd like to use that component in a datagrid column so that the user can type a value in the textInput which will in turn update the underlying dataprovider.
I...
I have a flash/Actionscript 3 application (swf). This application sends a message to a server every 2 seconds. However, in some browsers/operating systems (for example, safari in mac), the moment the browser loses focus, it stops sending these messages.
I send these messages in a EVENT.ENTER_FRAME loop, so every time the application is ...
I am All Programmer when it comes to anything including flash. I got into making games not to long ago and some people use frames to navigate from the main menu to the game screen and so on (which I have no idea how to do). and some people encapsulate the game inside of a class and call it from the document class and add and remove it wh...
Every time you compile (publish) a Flash Lite app, Flash opens up the app in Device Central for testing. But I don't need this since it doesn't emulate all features properly, and I'm using a real device to test.
Any way to disable its auto-start? I'm using Flash CS4.
...
I notice in older version of flash you can create an instance of a dynamic class. I am creating a game that will have many different classes that can be displayed on the stage but can very from time to time. How would I go about calling them dynamically. for example
var newObject = new ["DynamicObject"]();
??
Is this possible in As3...
I'm having a very odd bug with ActionScript 3 in Flash CS4. I am adding movie clips to a stage in a for loop and then moving them out of view so that I can pull them in and remove them when I need them.
I've narrowed down the issue to a point that I know that every time one of the movie clips are added to the stage using addChild(), th...
I am trying to override a parent class method. I successfully done so. But when I try to access a property. i get the following error
1178: Attempted access of inaccessible property left through a reference with static type
This property is public and it is defined. below is my code
package com.objects {
import flash.display.MovieCl...
Hi guys and girls,
I Would like to narrow down my problem as follows:
1) I have a datagrid where one of the columns is rendered using a symbol containing an input text control as well as a static text control which looks almost like this: [],000 (where '[]' implies the input textbox.
2) my cell renderer renders the column correctly. I...
Hi all! I am calling on different types classes from within a loop. The objects can be of different types so therefore I am using the getDefinitionByName method. here is a piece of my code:
for(var y = 0; y < mapH; y++)
{
brickHolder[y] = new Array();
for(var x = 0; x < mapW; x++)
...
I can't get my Yahoo! Application Platform to run I keep getting denied access even though their policy file accepts requests from any domain.
OK: Policy file accepted: http://social.yahooapis.com/crossdomain.xml
Error: Request for resource at http://social.yahooapis.com/v1/user/<user id>/profile?oauth_signature_method=HMAC-SHA1&lang...
This is driving me crazy. It seems I cannot use ScrollPane ANYWHERE in my AS3 code without it crashing every dropdown box in the program.
Here is the error message I get when clicking a dropdown box:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fl.containers::BaseScrollPane/drawBackground()...