flash-cs4

Need button to control nested MC timeline.

Flaah CS4, AS2 I am making an interactive tour. On the main timeline I have two movieclip, "ABOUT" and "RENTALS". I would like a button, "btnFLRcafe" in the "ABOUT" movieclip to connect to "RENTALS" and start playing on the timeline at a frame named "CAFE". This is the code that I have on "btnFLRcafe": on(release){ _root.gotoAndStop(...

sIFR does not work with Adobe CS4

I just recently downloaded sIFR and cannot get the fla source file to open in Adobe CS4. Is anybody else experiencing this problem and if so, have you found a solution. ...

How to build a ~500 page Flash site

I am about to embark on building a Flash site with approximately 500 pages. The site is an interactive learning type of system, with about 10 "chapters" each containing around 50 "pages". Each page has some sort of animation and interactivity, for example the user might have to decide whether a statement is true or false by clicking on ...

When building custom panels for Flash CS4 IDE, is there a way to attach callbacks to workspace events?

Is there a way for a custom panel for Flash CS4 to register for IDE events? I've built a custom panel for the CS4 IDE, and now I'd like to get a callback anytime the current selection on the stage changes. Is this possible? My backup plan is to have my panel poll the IDE for the selected object several times a second, but this is weak...

Pass variables into a Flash movie from HTML

As a Flash newbie I found this very confusing and it cost me a couple of hours. Answering my own question here in case anyone has the same problem. Technically you should be able to do something like this: <param name="movie" value="movie.swf?param=value" /> <embed src="movie.swf?param=value" ... Or this: <PARAM NAME "FlashVars" ...

Uploaded flash movie expanding to entire page... want to just show correctly proportioned stage.

I'm sure this is very simple, but it's not readily apparent how to do it. I created a flash file. Uploaded the file to my server. I'm going to it at blahblah.com/demo.swf , not included in any html or anything. When I go to the file, the browser loads it in "fullscreen" mode, taking up the entire window size. The size changes as the wi...

Finding the loading time of Swf in browser

Finding the loading time of Swf in browser Hi, i need to find the loading time of swf in Milli-seconds,the project is done in flash cs4 prof and its run in browser with flash player 10 ... Is there any tool to find the exact loading time taken by the application. Thanks in advance ...

use actionscript 3.0 to detect class of symbol that is clicked

Hi, I am trying to create a simple drag and drop Flash program where a user can drag xmas ornaments onto a tree. Instead of being able to drag the ornament once, I want a function so that every time an ornament is clicked on, it adds a new ornament of the same class to the stage where the ornament is clicked. Currently I have this worki...

How to add all symbols in library folder to stage at runtime

Hi, I just submitted this question but i can't see if it posted anywhere, so I apologize if this is a duplicate. For a Flash CS4 project, I am constantly importing new images, converting them to movieclips and storing them in the library under an "Ornaments" folder. All of these ornaments need to be on the stage in a certain place wh...

onDragOver for Actionscript 3.0

Hi, I am having a hell of a time getting a MovieClip to detect whether another MovieClip is being dragged over it in ActionScript 3.0? Does anyone know of a good implementation. Thanks ...

Resize XML gallery with AS3

Hi, I'm developing a project in AS3 for commercial purposes and study too. This time I'm developing an image gallery with XML and AS3 and I have a doubt with resizing the stage and change the x position of my pictures. With this code below I can resize the pictures, but I can't change their x values. Could anyone helpe-me with a ...

Flash SDK to CS4 conversion tips

I had been using the open source Flash SDK, and was recently gifted CS4. I was wondering if there are better ways to do things in CS4 for some of the following things: One of my project is a game with different phases - for phase transition is it better to implement as different frames of the stage? Any tips in particular? ...

AS3/CS4 removed TextField reappearing after tween finishes

I load a swf via the Loader() class. As the swf is loaded I loop through all the children of root and remove any TextField with removeChild(). This works initially - the TextField is removed. But as a tween in the loaded swf finishes and loops, the removed TextField somehow reappears. The TextField is Dynamic text. If I remove some Stati...

Is licensing information retained in some way in an swf file, compiled by Adobobe CS4 Professional?

I mean, is it theoretically possible to determine (based only on the content of the swf file) that the software which compiled the given swf was licensed trial or something else? I guess Adobe would implement something like this to discourage using pirated software. ...

Flash CS4 + AS 3.0

Hi I am loading my menu items from an XML file for dynamism, but I am not sure what to do about the following, should I populate an array with the items and then use the array for reference in creating the movieclips later, or should I rather immediately create the movieclips and populate them with the data received from the XML file wi...

Audio File Bloat in Adobe Flash CS4

Whenever I import an MP3 into Flash CS4, I see massive file size increases within the FLA. Not only does the file size of the MP3 in the Library bloat, but the file size and export time of the FLA increase dramatically as well. This leads to all sorts of memory errors and slow performance. MP3 File in Windows Explorer: MP3 File in Fl...

How to set TextField text in loaded swf

I have a loader.swf that loads an external swf via the flash.display.Loader() class. The external swf contains a TextField that is defined on the stage in a keyframe (frame 10). How can I, from the loader.swf reference the TextField and set the .text dynamically? I've set the instance name, but get "null" when I reference it through th...

set and get variables throughout moive - actionscript 3

I need to set various variables depending on what a user clicks. Those variables then need to be accessed by other movieclips. The problem is that at the time of clicking, those "other movieclips" don't exist on the timeline yet. What I have done is assign the variable to the parent movieclip, although I guess I could just as easily se...

Why can't I display slashes when using anti-alias dynamic text fields in Flash CS4.

I know what you're thinking - "Dumbass hasn't embedded his fonts" - right? Well wrong, I've told it to embedded Numerals, Punctuation and into Include these characters I have typed /£ and although it prints the pound symbol fine it skips the slash! I've tried doubling it up both in the output string and the Include these characters box...

Flash ComboBox stops playback of stream AS3

Ok, this one is driving me batty. I've made a custom video player in CS4. Basically, I just used The Gimp to draw a video player and saved it as a PNG, which I dragged to the stage. I didn't want to use FLVPlayback, so I used Actionscript to add a Video to the stage. var video:Video = new Video(480,360); addChild(video); I'll spare ...