Questions tagged [flash-cs5]

Flash CS5 is part of Adobe's Creative Suite released on 30 April 2010. Its main features over its predecessors are the iPhone packager, new text engine (TLF), and code snippets.

About Flash:
Flash is a multimedia platform used to add animation, video, and interactivity to web pages. Flash is frequently used for advertisements and games. More recently, it has been positioned as a tool for "Rich Internet Applications" ("RIAs").

1721 questions
5
votes
1 answer

Embedded fonts not appearing in actionscript created textfields

I would like to preface this wall of text by saying, I am very new at this. I may be missing something obvious. I'm working in Flash CS5 with Actionscript 3. I'm trying to use actionscript to create a textfield, and populate it with text. I've…
TeaCake
  • 57
  • 1
  • 6
5
votes
4 answers

Dreamweaver Keeps Getting Dependent Files

I installed Dreamweaver and when I was downloading the dependent files from my website, it asked me if I always wanted to do this. I said yes, and now, a couple weeks later, I don't want that anymore because it takes 30 seconds to download one…
Gray Adams
  • 3,927
  • 8
  • 32
  • 39
5
votes
5 answers

How to create exit button in Flash application

I'm creating a Flash Application that will be exported in exe format and it's not going to run in browser. I want to add an exit button inside stage but I don't know how to do that with ActionScript 3. I remember that it was possible with fscommand…
Farid Rn
  • 3,167
  • 5
  • 39
  • 66
5
votes
1 answer

AS3 Two MovieClips Sharing The Same Class

I have two MovieClip symbols in my library and I want them to share the same class, but Flash doesn't allow me to assign the same class to any two different MC symbols, so instead I created two bogus classes which extend the class I wished to share…
IneedHelp
  • 1,630
  • 1
  • 27
  • 58
5
votes
2 answers

Getting image size from ByteArray

I am wondering if there is any way to determine the width and height of an image that is decoded to a ByteArray. For example in the below, any way to determine these values for data? var data:ByteArray = new ByteArray(); data =…
user1013448
  • 249
  • 4
  • 12
5
votes
3 answers

Simulate click event in AS3

Is there any way to simulate a click event in AS3? I'm trying this: element.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_DOWN, true, false)); But click event isn't trigger it.
Fran Verona
  • 5,438
  • 6
  • 46
  • 85
5
votes
2 answers

Is it possible to play .m4a file using as3?

I am developing a simple mp3 player for playing bulk number of audio files to play. The files are in .m4a format. Is it possible to play using as3?
user838810
5
votes
3 answers

Flash AS3 Getting Security sandbox violation when trying fetch an external swf

Hii, I'm tring to load swf file to my flash application from a different server. When i try to load it on flash IDE (crl+enter) everything is working fine, but when i run the swf as an independent swf file or by debugging it, i'm getting this…
hdmi3killer
  • 89
  • 1
  • 1
  • 12
5
votes
3 answers

AS3:removing every elements in an array at once using for loop

EDIT: EVERY ANSWER BELOW ARE WORKING, THANKS FOR HELPING ME! I'm currently learn about splicing an array in as3. So here's my code: //import classes import flash.utils.Timer; import flash.events.*; //variables var Arr:Array=new Array(); var…
Yudhis
  • 53
  • 7
5
votes
2 answers

XFL - What are the ./bin/*.dat files?

Uncompressed Adobe's Flash XFL format still keeps a lot of content compressed. Does anybody know specification of these binary *.dat files?
Oldes
  • 937
  • 1
  • 9
  • 24
5
votes
3 answers

How to use transparent BitmapData as a mask

I have a BitmapData object created dynamically that contains user-drawn shapes. I then attach that BitmapData object to a MovieClip via a Bitmap object and set that MovieClip as a mask to another MovieClip. The mask works but the whole bounding…
Kayes
  • 1,016
  • 3
  • 15
  • 22
5
votes
1 answer

How can I compile an iPhone App with Flash CS5 without a Developer License

I understand Flash CS5 isn't the best way to make an app, but I'd really like to test out the apps I've made with it on my iPhone. Has anyone come up with a way to modify Flash CS5 so it doesn't require a Developer Certificate or Provisioning…
walruscode
  • 81
  • 1
  • 1
  • 4
5
votes
1 answer

How can I improve loading speed / publishing speed for an AIR for Android App with many classes?

I have the following scenario: An app for Android devices that has a few hundred classes. I am using Flash CS5.5, developing in AS3 using AIR for Android. The app is a puzzle game and each class represents one of the elements from the puzzle. Each…
Ioan
  • 53
  • 4
4
votes
3 answers

Action Script string to number

I have a problem with following statement trace(Number("1/2")) //output NaN but trace(Number("1.2")) //output 1.2 So, I am bit confused as why the first statement doesn't gives correct result?
sameer jain
  • 147
  • 1
  • 1
  • 13
4
votes
1 answer

Debug jsfl in ExtendScript for Flash CS5

This is a total noob question, but I'm trying to figure out how I can debug some JSFL that I created, stepping through it as the code runs on a Flash CS5 file. The DEBUG menu dropdown in ExtendScript has "run" grayed out... If I double click the…
clockworked247
  • 347
  • 3
  • 13