Questions tagged [flash-cs4]

Flash CS4 Professional is a tool for creating Flash Applications. It is part of the Adobe Creative Suite 4.

662 questions
2
votes
2 answers

Detect and Erase specific pixels from an image

Is it possible to detect (dynamically) the white pixels of an image and delete them? Actually i have some images that i load on stage but they are square without the actual image be a square sized. So i want to make the hit area exactly the shape…
Ponty
  • 645
  • 1
  • 7
  • 25
2
votes
1 answer

How to change the pixels in an image

i actually try to do the following: I have loaded an external image in a bitmapdata object and create a bitmap from it which i attach it to a sprite/MovieClip in order to have mouse events on it. Now under the previous logic i loaded two images…
Ponty
  • 645
  • 1
  • 7
  • 25
2
votes
1 answer

Get Flash CS4 Intellisense to recognize Objects on stage?

When I create an object of a movieclip in code I get the flash intelesense to pop up in Flash CS4 Actions panel which is very helpful but if I simply place a moveclip on the stage then give it an object name in the options the Flash intelesense does…
CodeJustin.com
  • 668
  • 9
  • 23
2
votes
1 answer

Custom button with image

Hi i'm trying to create a button in actionscript 3 that will be made by a custom image ( a car.jpg from my HDD ). Is it possible to do that with SimpleButton class ( i mean is there a way to load the image and attach it to the button ?) or is there…
Ponty
  • 645
  • 1
  • 7
  • 25
2
votes
1 answer

Best way to dynamically load an xml configuration file into a Flex4/Flash movie at runtime?

I've got a rather simple question about loading in an xml file at runtime in a SWF. I've found a couple different methods to load in the xml. myXml.load("file.xml"); HTTPService object URLStream object What is better way to load an xml file that…
Jason
  • 2,503
  • 3
  • 38
  • 46
2
votes
1 answer

Keyboard Control on characters made with Adobe CS4 Bone Tool?

Is there any way to control a character made with Adobe CS4 Bone Tool via keyboard buttons? Its limbs are linked up by IK chains built by Bone Tool.
Raptor
  • 53,206
  • 45
  • 230
  • 366
2
votes
2 answers

Loading .bmp (Bitmap) and .tiff file in Flash 10 using a Loader

I am developing a Image uploader using Flash 10. I am using FileReference object to browse images and Loader to show the image: Sample code: var tempFileRef:FileReference = FileReference(ev.target); var oLoader:Loader = new…
user255392
  • 413
  • 1
  • 5
  • 6
2
votes
2 answers

Best practices for blitting in flash as3

I am creating a blit game and as of right now, the only thing that is blitting is the world itself (i.e. roads, fences). i was planning on displaying my character as a sprite and any interactive objects that it comes by as sprites as well. PickUps,…
numerical25
  • 10,524
  • 36
  • 130
  • 209
2
votes
3 answers

Can the Flash CS4 [embed] tag be made to export assets to frame 2 rather than frame 1?

We're working on a Flash CS4 project where the main .fla file has ballooned in size and 'Publish' is taking forever. I suspect a large amount of the size (and at least some of the compile time) is due to the quantity of audio symbols in the…
Tim Knauf
  • 31
  • 4
2
votes
1 answer

Dynamically creating movieclip instances

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…
melih
  • 370
  • 1
  • 4
  • 15
2
votes
2 answers

How to adjust flash objects from all keyframes

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…
numerical25
  • 10,524
  • 36
  • 130
  • 209
2
votes
1 answer

How do I duplicate a MovieClip?

Can anyone tell me how to duplicate a MovieClip in ActionScript 3 in Flash CS4?
Armen Mkrtchyan
  • 921
  • 1
  • 13
  • 34
2
votes
1 answer

Error #1034: Type Coercion failed: cannot convert flash.text::TextField@1182e101 to flash.display.MovieClip

I am fairly new to actionscript 3.0, and I keep getting the error above. My code is stop(); Lamp.addEventListener(MouseEvent.CLICK,lookatlamp); function lookatlamp(event:MouseEvent){ Dialogue.text = "It is a very bright lamp. It hurts your…
Toby Morton
  • 23
  • 1
  • 3
2
votes
1 answer

Why can't I access dynamic text within a CS4 compiled SWC?

I have a movieclip created in CS4. I export that into my Flex Project's /lib and then try to access the text. All the textfields have ids, embedded text, and show up in intellisense. But when i run the project, the textfield is blank. What is going…
Cameron A. Ellis
  • 3,833
  • 8
  • 38
  • 46
2
votes
4 answers

Convert Flash art to OpenGL-ready vector format?

Say I have some 2D artwork in Flash CS4 format .FLAs, and I'd like to put it into an iPhone game that uses OpenGL ES, keeping it in vector format. An OpenGL-ready format could just be a list of vertex positions and colors for a triangle strip. Is…
Jim Blackler
  • 22,946
  • 12
  • 85
  • 101