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
3
votes
2 answers

stage is null in document class? ActionScript 3.0 Flash CS5

In my document class named Engine, the stage variable is for some reason null: package game { import flash.display.MovieClip; import flash.display.Stage; import flash.events.Event; public class Engine extends MovieClip { …
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
3
votes
2 answers

Flash preloader only starts at 90%

I'm working on a game in Flash CS5 / AS3 and I'm trying to get my preloader to work. At the moment, when I load the SWF file with 'simulate download', the file will load but my preloader won't show. The preloader does show for a moment when the…
3
votes
2 answers

running a hello world application in actionscript 3 (flash pro CS5.5)

Am self teaching myself actionscript 3, I read through some tutorials and understood the code perfectly, the problem lies in how to run it, I know some programming languages and I used some IDEs i over the years, but for some reason I just can't…
Sam
  • 43
  • 1
  • 3
3
votes
3 answers

Flash CS5, dynamic text field strips out certain letters

Using CS5, and certain letters simply won't show up in my dynamic text field. Not even a blank shows up, they just get stripped out. 'g' and 'v' are two of the letters, so the string 'v testing' shows up on the stage as 'testin'. It doesn't seem…
dt1000
  • 3,684
  • 6
  • 43
  • 65
3
votes
1 answer

How to make a scrollable UI In Touch Flash CS5 for Mobile Devices (Primarily iOS)

I wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can't find any code samples that will let me make the image scroll vertically only with one finger. So all I want…
tushar747
  • 673
  • 2
  • 12
  • 25
3
votes
4 answers

ActionScript3: Changing button text

I have a button instance named Button that I have in my movie, this instance has a Dynamic Text object in it named myText, how can I change the text? I already tried Button.myText.text = "Stuff"; I get the error "Scene 1, Layer 'Layer 1', Frame 1,…
James T
  • 3,292
  • 8
  • 40
  • 70
3
votes
1 answer

Flash AS3 Access Global Variables From A MovieClip

I have a movie clip of an explosion which is done in code because I am randomizing the direction and amount of debris from the explosion, so it's a movie clip with one frame, and all animation is done in code. Problem is, I'm trying to pause the…
Doug
  • 387
  • 2
  • 10
  • 20
3
votes
4 answers

Flash CS5/AS3 - Can't find (or won't execute) the Main Document class - constructor not called

All, I'm pretty new to AS3, so this is probably a very trivial question. But, I'm stuck. I'm working on a new Flash application (AS3). The app uses a Document class. Here's how I've set up the folder structure: "application" folder "com"…
mattstuehler
  • 9,040
  • 18
  • 78
  • 108
3
votes
2 answers

Can I make swf address be a real URL and not use a #?

Is it possible to make swfaddress, or any script really, to allow flash to change the URL displayed(without actually switching to a new page) in the browser to anything I choose? I realize that swfaddress makes the url so that it will always refer…
Ghost9
  • 249
  • 3
  • 7
  • 15
3
votes
1 answer

WebView in Flash?

Is it possible to have a "webview" in a Flash file? Basically I need something akin to an iframe that fills my flash document.
Chris Cashwell
  • 22,308
  • 13
  • 63
  • 94
3
votes
4 answers

How do I remove gloss from an iPhone app icon?

Here is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5? If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?
blake305
  • 2,196
  • 3
  • 23
  • 52
3
votes
4 answers

Flash CS5 Crash corrupted files. How can I get my xml library assets back into a new FLA?

I started using Flash CS5 (and it sucks btw, but that's not my issue today). I spent many hours working on a .FLA file. Saving as I went and at one point Flash CS5 crashed during the save. The .fla file is now corrupt. The new .fla format is…
discorax
  • 1,487
  • 4
  • 24
  • 39
3
votes
1 answer

develop iphone apps using adobe flash..?

I want to develop iphone app using adobe flash..i googled these topic.i saw some people are saying that you cannnot develop for Iphone using flash because apple banned the flash on iphone... but here on the adobe site :-…
Kuldeep Singh
  • 1,214
  • 4
  • 18
  • 45
3
votes
3 answers

How do I access all of the children of a DisplayObject programatically?

How do access all of the children of a DisplayObject using code? (I'm looking for something like movieclip.children) I'm using this in two cases: 1) To loop through and reposition all of the children of an enclosing MovieClip. Or 2) To loop through…
Moshe
  • 57,511
  • 78
  • 272
  • 425
3
votes
1 answer

Importing classes into ActionScript files

Very basic question here: Are there any disadvantages to using the ".*" qualifier when stating our imports into ActionScript files. In other words, is this only a compile-time directive or does this actually affect the footprint and performance of…
Michel Lemieux
  • 113
  • 1
  • 2
  • 11