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
4
votes
1 answer

can't access stage in flash as3

I just switched to AS3 I am having problem accessing variables of the timeline from MovieClips. In AS2 we used to do _root.myvar, I checked for references, I found _root is root now in AS3. I have a variable isValid on the root timeline and My code…
user1922841
4
votes
1 answer

Changing dyanmic text field in MovieClip added to stage by AS3 is not working?

When I change the text value of a dynamic text field, the text field is just going blank, not showing the new value. I have a MovieClip titled "game_board" that is added to the stage dyanmically by AS3. (stage is blank to begin with.) I have another…
BumbleShrimp
  • 2,150
  • 23
  • 42
3
votes
1 answer

Why would a function state "myVariable = myVariable;"?

In the course of working with some as2 code from our dev team, I came across a baffling handful of statements where variables were set to themselves. Is there some reason for such a redundancy that I'm not thinking of? I'm talking literally like…
josh
  • 339
  • 1
  • 2
  • 6
3
votes
1 answer

Embded files in a compiled .exe

I am working on a project that is about making a video player with built in libraries. What I want to do is create a custom video player in Flash CS5, Python (Using Phonon) or C# which can play any video file (independent of the extension). The idea…
Katherina
  • 2,153
  • 7
  • 26
  • 34
3
votes
2 answers

Measuring memory usage when developing mobile web applications

I'm writing a mobile web application using JQuery Mobile, JQuery, Javascript. This is my first run at writing a mobile web application so I'm trying things out. I want the program I'm writing to continuously run in the background so I can't rely on…
3
votes
2 answers

How do I get an object’s width and height in Flash?

I thought this would be straight forward but I'm having trouble repositioning my content. I have a button instance named rollOne, When I roll over the button I want to load an swf object but not on top of the button so I want to find out what the…
SurferJoe
  • 965
  • 1
  • 8
  • 13
3
votes
4 answers

How to Create Alert Dialog in ActionScript3?

I'm working on a project with Actionscript 3.0 in Flash Pro (CS5). I want to create a confirmation box. If I were using the Flex SDK I could do this using the Alert class in the mx.controls package. However, it seems that no similar control exists…
Mercy
  • 1,862
  • 9
  • 39
  • 75
3
votes
1 answer

Need to be able to draw arrows with the mouse and be able to select it

I am trying to create a Flash application which will allow a user to draw arrows on the screen/canvas by using the mouse. So if they click and hold the left mouse button at coordinates 23,12 and release the left button at 84,45 a line would be…
Nutkraker
  • 103
  • 10
3
votes
3 answers

keyboard event as3 not working

This was something that had me banging my head for 2 hours before I figured it out. I decided to post it here, to help others not pull their hair out :). Essentially the bug was I was not receiving the keyboard event from within my flash builder…
eLouai
  • 696
  • 1
  • 8
  • 21
3
votes
1 answer

Detecting if there is a timeline mask

I am bumping into a very strange behaviour on Flash. If you on the Flash IDE create a shape with a mask associated to it, save it and then export it as a swf, you cannot programatically know there is a mask (displayObject.mask is null) Here's a…
Waneck
  • 2,450
  • 1
  • 19
  • 31
3
votes
0 answers

Adobe Flash CS5 loses session on every request on Mac

I just transferred my project from PC to Mac and the first request is login. Every other requests require login. On PC login and session is ok, on Mac in browser everything is ok, but on Mac in FlashPro when I test my swf the session is lost right…
Lachezar Todorov
  • 903
  • 9
  • 21
3
votes
2 answers

How do you reverse a skew transformation in the Flash IDE?

Place a 100px by 100px box on the stage (not a movieclip, just a simple shape). Now apply a vertical skew of 30 degrees. You should get this... Click outside of the shape to release the transformation data. The degrees for skew resets to 0 (this…
Chris
  • 54,599
  • 30
  • 149
  • 186
3
votes
1 answer

Changing default project save type CS5.5

I got Adobe Creative Suite 5.5, and all the projects in company are made in 5.0. And i can't simply save by ctrl+s because Flash (thats concrete program i am asking about) want to save in 5.5. So every time i have to push file-> save as-> change…
Skotnik
  • 677
  • 1
  • 6
  • 12
3
votes
1 answer

Flash packager for IOS and touch events

I am trying Flash CS5 for ios development, but TouchEvents don't works on my ipod. My ipod is jailbroken. The code I try is here: package { import flash.display.MovieClip; import flash.display.Sprite; import flash.events.TouchEvent; public class…
kubosso
  • 33
  • 4
3
votes
2 answers

How do I embed accented Latin fonts (like French) into a Dynamic Text Field in Flash CS5 called from a .txt file?

I've been using Flash for a few years now and I've recently (5 months+) started using CS5 package. My query is how do I successfully embed accented latin characters into a "classic" dynamic text field in my compiled Flash movie that are called from…
Mr. Benedict
  • 809
  • 2
  • 10
  • 15