flash-cs5

Package SWF into an EXE or APP

I am trying to adjust my Flash development workflow so that I am using Flash Builder for all of my coding and multiple FLA files for the user interfaces. I will be creating an ActionScript project in Flash Builder and then having each FLA export a SWC into a resources folder. It is important that I retain the ability to export PC and Ma...

Flash CS5 Syntax Issue

I've got an actionscript 3 project which I created in Flash CS4, I just tried publishing it in CS5, it converted the save to CS5 and is now complaining about incorrect syntax at places that make no sense such as: Scene=Scene 1, layer=Layer 1, frame=1, Line 12 '{' expected Line 12 is: function songinfoLoaded(event:Event):void { ...

fscommand2 support in Actionscript 3.0 ?

Hi All, I am very new to Action Script. I am using Flash Professional CS5 with ActionScript 3.0. The problem is, When I am trying to use fscommand2 function, Flash Compiler throwing an error saying: Scene 1, Layer 'Layer 1', Frame 1, Line 7 1180: Call to a possibly undefined method fscommand2. But, I am able to use fscommand. But, ...

Flash CS5 MAC input textfield problem

I'm developing external Flash Panel with Flex Builder 3 which can be opened through Window > Other Panels. While using that panel it opens more .swf windows as popup dialogs. Some of those windows contain input textfields. Those textfields have some character restrictions. The problem is that when viewing those popups only in MAC and onl...

Flash CS5 and dynamic textfields

I have a "shell" that started life in Flash CS3 (Flash 9, AS3) that has been since used with CS4 and now CS5. It creates TextFields in ActionScript for display (reading the content of those fields from XML). The text fields are either Myriad Pro Regular or Myriad Pro Semibold, both are embedded in the SWF from the Library (any given text...

Phantom class definitions in Flash CS5?

I'm trying to get FlashPunk working in the Flash CS5 IDE (don't ask), and I'm having trouble getting it to compile. In strict mode, the error I'm getting is: net/flashpunk/FP.as, Line 95 1119: Access of possibly undefined property _inherit through a reference with static type World. Typically, this means that there is a missing varia...

Moving Flex MXML Application into Flash

is it possible to move a flex mxml project into flash? i have the project complete in mxml with actionscript but due to the fact that flex is limited in its visual animations ( no timeline! ) i would prefer to switch to using flash. the project is relatively huge, all done in mxml and i cant just re-create it in flash, it will take mon...

seekSeconds() problem in as3

hi, I use seekSeconds() to start a video from a specific time.But when i write seekSeconds(1),seekSeconds(2),seekSeconds(3),seekSeconds(4) and seekSeconds(5) the video starts from fifth seconds.when i write seekSeconds() from fifth seconds to fifteenth seconds the video starts fifteenth seconds.How i can solve this problem .thanks fo...

how can i load a FLVplayback from a specific time?

import flash.net.URLLoader; import fl.video.*; import flash.utils.getTimer; fk.autoPlay = false; // Parametreleri yüklüyoruz. var myLoaderInfo=new Object(); //Parametrelerin yuklendigine emin olmak için false yapıldı.bunun daha sonra true olması gerekiyor. myLoaderInfo.myParamsLoaded = false; // Event.complete i cagırmak için kullanı...

flash remoting CS5

I am trying to add the remoting scripts in flash CS5 However, the actionscript is fine, the problem is i cant find the flash remoting component in any of the components panels. Any suggestions? ...

Which Flash/Actionscript IDE to use -- if one should be used at all?

I've always used the built-in IDE, but I've been gone from Flash since ActionScript 2.0 in Flash MX... I'm coming back to Flash, and I notice there's a number of IDE's (some of which cost more than the Flash upgrade). So... question for Flash/Actionscript 3 developers -- which IDE to use, if at all? ...

Flash CS4 vs Flash CS5 Actionscript - Should I upgrade?

From the perspective of coding, what are the major improvements from Flash CS4 to Flash CS5? ...

Adobe Flash CS5 Tween Multiple Properties and MovieClips

Is it possible to make a classic tween in adobe flash cs5 to tween multiple properties and movieclips at the same time? For now, all the movieclips move to the same position. I really want each one to start in certain positions and then get a new custom x, y and rotation(in 20th frame) and then let a classic tween do the rest. I have u...

Flash object sizing effects cam Allow/Deny

Hi there, I'm having extreme issue with sizing an swf object in my browser. It appears if I scale my application up the webcam Allow/Deny functionality on the site disables itself in Firefox. It's definitely the strangest thing I've ever seen. Take a look: http://tinyurl.com/29ppl64 Click the "Skip" option, it will display the webcam o...

Flash LoadVars with PHP script.

Hi All, I have a flash movie that I need to read in a value from a PHP script in order to set which frame it starts from, I am using the following code: if (loaded == total) { var lvContent = new LoadVars(); lvContent.load("http://MY URL/Includes/getID.php"); trace("Who: " + lvContent.pageID); ...

Creating Flex 3.5 components with Flash CS5

Is there a way to create components compatible with Flex 3.5 by using Flash CS5? I'm stumped. Whenever I run the "Convert Symbol to Flex Component" command and then try to use the resulting .swc file in a Flex 3.5 app, I get multiple instances of the following error: 1046: Type was not found or was not a compile-time constant: Matr...

FLVPlayback skin modification problem in Adobe Flash CS5 with AS3

Hi, I have been working on modifying an existing FLVPlayback skin. Ideally I would like to have one that uses a counter. The problem is, all the fla's provided for the skins with counters fail to publish/compile correctly. Fla's are here: C:\Program Files\Adobe\Adobe Flash CS5\Common\Configuration\FLVPlayback Skins\FLA\ActionScript 3....

Focus Out event for TLFTextField

Hi Everyone, I'm having an issue where I don't get a "FOCUS_OUT" event called when I click around the stage. I do get the "FOCUS_IN" event when I click the TLFTextField. Not sure what the problem may be, any hints or ideas would be great. I did already do some Google searches, but didnt quite find anything useful. Here is some of the c...

Do I've to set variable to null always in AS3 OOP?

Hello, I've a question about variables in AS3 OOP. Do I have to set them to null or I it's not needed when I define them in beginning of the class? I just noticed someone doing so so I wasn't sure is it right or no. private var _mcComponentHolder:MovieClip = null; private var _mcComponentHolder:MovieClip; Thanks in advance! ...

how do I use netstream.appendBytes() for http dynamic streaming?

I am trying to figure out how to use http dynamic streaming with flash 10.1 but I can't get the basic functions working. What is the syntax for using appendbytes with a video file? package com.player { import flash.display.Stage; import flash.net.NetConnection; import flash.net.NetStream; import flash.media.Video; import flash.display...