# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1001

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 1002

---

## [Lots of tutorials on the web use timeline](https://forum.kirupa.com/t/lots-of-tutorials-on-the-web-use-timeline/258065)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:40pm UTC](https://forum.kirupa.com/t/lots-of-tutorials-on-the-web-use-timeline/258065 "2008-04-20T14:40:53Z")

</div>

Lots of tutorials on the web use timeline based ActionScripting, but I want to turn lots of AS3 examples into Classes (packages) because this seems best practice if you wish to use the code over and over again. Rather t…

---

## [Library Linkage to an .as class](https://forum.kirupa.com/t/library-linkage-to-an-as-class/258062)

<div class="topic-metadata">

**Author:** [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:36pm UTC](https://forum.kirupa.com/t/library-linkage-to-an-as-class/258062 "2008-04-20T13:36:29Z")

</div>

Hi there. I'm starting my first AS3 project and I'm trying to make a generic Pre-loader class which is the document class of my Pre-loader .fla. I have made my logo in CS3 and set the linkage class but I can't acces…

---

## [LoadVars() problem](https://forum.kirupa.com/t/loadvars-problem/258061)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:22pm UTC](https://forum.kirupa.com/t/loadvars-problem/258061 "2008-04-20T13:22:39Z")

</div>

Hi everyone My Graduation Dinner website continues giving me headache. Just some background information: I have created five "format sheets". They all lie at the background of the Flash website with \_visible switched…

---

## [duplicateMovieClip not a function](https://forum.kirupa.com/t/duplicatemovieclip-not-a-function/258057)

<div class="topic-metadata">

**Author:** [@ymaod](https://forum.kirupa.com/u/ymaod)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:45pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-not-a-function/258057 "2008-04-20T12:45:40Z")

</div>

Hi, I'm creating a 5x5 matrix with 25 movieclips of w:22px h:22px. the first movieclip wich is called c1\_mc and is part of a movieclip called grid. I'm using following code to make the complete grid: var lineWidth…

---

## [Defining variables/actions in external movies](https://forum.kirupa.com/t/defining-variables-actions-in-external-movies/258056)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:29pm UTC](https://forum.kirupa.com/t/defining-variables-actions-in-external-movies/258056 "2008-04-20T12:29:30Z")

</div>

Hey everybody, I have a question about movies loaded to the main movie via loadMovieNum. I have a movie, called “index.swf”, another movie called “main.swf”, and another movie called “about.swf” On the only frame …

---

## [Loader componant - PNGs](https://forum.kirupa.com/t/loader-componant-pngs/258052)

<div class="topic-metadata">

**Author:** [@Unconscious](https://forum.kirupa.com/u/Unconscious)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 10:40am UTC](https://forum.kirupa.com/t/loader-componant-pngs/258052 "2008-04-20T10:40:59Z")

</div>

I need to important transparent pngs into my SWF, and have them clickable as buttons. Right now, I'm using JPGs with the loader component, but I'm aware this method does not work with PNGs. Any ideas?

---

## [Rortaing image to follow mouse cursor](https://forum.kirupa.com/t/rortaing-image-to-follow-mouse-cursor/258051)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 10:04am UTC](https://forum.kirupa.com/t/rortaing-image-to-follow-mouse-cursor/258051 "2008-04-20T10:04:17Z")

</div>

Hi guys. (Rotating) I have an arrow on the page that I would like to rotate accordingly and follow the mouse cursor. so as you move the cursor around the page the image rotates and the arrow is always pointing at the …

---

## [XML and Objects](https://forum.kirupa.com/t/xml-and-objects/258048)

<div class="topic-metadata">

**Author:** [@blinker\_dk](https://forum.kirupa.com/u/blinker_dk)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:57am UTC](https://forum.kirupa.com/t/xml-and-objects/258048 "2008-04-20T08:57:52Z")

</div>

Hello! As a part of a CMS I want to link certain Objects to each node in some XML that I load. Basicly here is the setup // Step 1 var clip:MovieClip = new MovieClip(); clip.name = "My Cli…

---

## [SWF randomly fails to load - doesn't throw ioError](https://forum.kirupa.com/t/swf-randomly-fails-to-load-doesnt-throw-ioerror/258046)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:30am UTC](https://forum.kirupa.com/t/swf-randomly-fails-to-load-doesnt-throw-ioerror/258046 "2008-04-20T08:30:24Z")

</div>

I have this class: public class LogoManager extends Sprite{ function LogoManager(x){ var loader:Loader = new Loader(); function loaded(evt:Event){ trace…

---

## [Best way to creat menu items](https://forum.kirupa.com/t/best-way-to-creat-menu-items/258045)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 8:25am UTC](https://forum.kirupa.com/t/best-way-to-creat-menu-items/258045 "2008-04-20T08:25:41Z")

</div>

Hello, I have a menu that is basically several text links. Should I create a class that extends MovieClip and have the constructor take a string and a click event function, then just create a bunch of them -- or is the…

---

## [Having trouble loading swf's into main movie](https://forum.kirupa.com/t/having-trouble-loading-swfs-into-main-movie/258043)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 6:43am UTC](https://forum.kirupa.com/t/having-trouble-loading-swfs-into-main-movie/258043 "2008-04-20T06:43:53Z")

</div>

I have a bunch of swf files that are supposed to be background animations for my movie. They look perfect at 640x480, but at any other dimensions, they look terrible. 640x480 is the size of the stage they were made on. …

---

## [How to reset the movie's stored Boolean values](https://forum.kirupa.com/t/how-to-reset-the-movies-stored-boolean-values/258041)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 5:42am UTC](https://forum.kirupa.com/t/how-to-reset-the-movies-stored-boolean-values/258041 "2008-04-20T05:42:28Z")

</div>

I learned how to use simple boolean values and define many of them in one movie as separate variables from jon\_bla and glosrfc. Thank you to those two again. I am missing one portion of the puzzle now in order to know h…

---

## [Event Listeners and Movie Clips stored in array](https://forum.kirupa.com/t/event-listeners-and-movie-clips-stored-in-array/258037)

<div class="topic-metadata">

**Author:** [@webmaster4u](https://forum.kirupa.com/u/webmaster4u)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:18am UTC](https://forum.kirupa.com/t/event-listeners-and-movie-clips-stored-in-array/258037 "2008-04-20T02:18:39Z")

</div>

I have about 20 clips generated randomly, and they are stored in an array. I create a for statement that cycles through the clips and adds random properties. To add event listeners to each clip that I cycle through, …

---

## [3d with Action Script 3](https://forum.kirupa.com/t/3d-with-action-script-3/258021)

<div class="topic-metadata">

**Author:** [@ogundogan](https://forum.kirupa.com/u/ogundogan)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 2:11am UTC](https://forum.kirupa.com/t/3d-with-action-script-3/258021 "2008-04-20T02:11:13Z")

</div>

Does anyone happen to know any pre-rendered or real time 3D flash site? www.indreamcity.com is the only site that I know as a good example. Please help. Thanks.

---

## [Keylistener not working for Home key](https://forum.kirupa.com/t/keylistener-not-working-for-home-key/258036)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:16am UTC](https://forum.kirupa.com/t/keylistener-not-working-for-home-key/258036 "2008-04-20T01:16:38Z")

</div>

So I've got this code running: var keyListener\_obj:Object = new Object(); keyListener\_obj.onKeyDown = function() { if (Key.isDown(Key.HOME)) { gotoAndStop(1); } }; Key.addListener(keyListener\_obj); An…

---

## [How to name instances of Boolean values](https://forum.kirupa.com/t/how-to-name-instances-of-boolean-values/258035)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:42am UTC](https://forum.kirupa.com/t/how-to-name-instances-of-boolean-values/258035 "2008-04-20T00:42:01Z")

</div>

Hello, I had a good response on a problem from user jon\_bla on a previous issue where he introduced me to using Boolean values. My problem is that I want to use Boolean values to create functionality for buttons to allo…

---

## [Depth Help!](https://forum.kirupa.com/t/depth-help/258032)

<div class="topic-metadata">

**Author:** [@establishment](https://forum.kirupa.com/u/establishment)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 10:33pm UTC](https://forum.kirupa.com/t/depth-help/258032 "2008-04-19T22:33:00Z")

</div>

Hello, I'm having trouble making a movie clip (portfolio\_mc) appear on top of another movie clip. (bg\_mc) I've tried setting portfolio\_mc to the next highest depth using the following directly on the movie clip. onClip…

---

## [Another way to do this?](https://forum.kirupa.com/t/another-way-to-do-this/258031)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 9:53pm UTC](https://forum.kirupa.com/t/another-way-to-do-this/258031 "2008-04-19T21:53:56Z")

</div>

Is there another way to do this with less code? AS3-CS3 Each tile in my game is a MovieClip with multiple frames for different states. //Psedocode of what I would want... A single function for generating all tile mc…

---

## [Attaching MovieClip from Library (Please help)](https://forum.kirupa.com/t/attaching-movieclip-from-library-please-help/258027)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 8:03pm UTC](https://forum.kirupa.com/t/attaching-movieclip-from-library-please-help/258027 "2008-04-19T20:03:54Z")

</div>

Hello I have created a textfield and then attached a movieclip as a background on top of which I wanna place the text field just like a button. Here is the code var txt:TextField = new TextField(); var bg:MovieCl…

---

## [CS3 with 3D](https://forum.kirupa.com/t/cs3-with-3d/258022)

<div class="topic-metadata">

**Author:** [@ogundogan](https://forum.kirupa.com/u/ogundogan)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 7:13pm UTC](https://forum.kirupa.com/t/cs3-with-3d/258022 "2008-04-19T19:13:48Z")

</div>

Does anyone happen to know any pre-rendered or real time 3D flash site? www.indreamcity.com is the only site that I know as a good example. Please help. Thanks.

---

## [NOOB HERE - inserting video](https://forum.kirupa.com/t/noob-here-inserting-video/258016)

<div class="topic-metadata">

**Author:** [@suganoob](https://forum.kirupa.com/u/suganoob)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:52pm UTC](https://forum.kirupa.com/t/noob-here-inserting-video/258016 "2008-04-19T17:52:20Z")

</div>

OK I'M A DEFINITE NOOB! I am doing a simple video and I wanted to add this video http://www.istockphoto.com/file\_closeup/object/3863966\_money\_falling\_from\_the\_sky.php?id=3863966 to the background of one of the tweens I …

---

## [Problem with Abstract Data Types](https://forum.kirupa.com/t/problem-with-abstract-data-types/258015)

<div class="topic-metadata">

**Author:** [@lixus](https://forum.kirupa.com/u/lixus)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:49pm UTC](https://forum.kirupa.com/t/problem-with-abstract-data-types/258015 "2008-04-19T17:49:41Z")

</div>

Hey everyone... I'm new to OOP with Actionscript, and i guess i understand the basics, but the following costed me half the day and i still don't understand it: I have two classes, Node.as and Player.as. I have this …

---

## [Flash class for better css support](https://forum.kirupa.com/t/flash-class-for-better-css-support/258013)

<div class="topic-metadata">

**Author:** [@brian914](https://forum.kirupa.com/u/brian914)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:08pm UTC](https://forum.kirupa.com/t/flash-class-for-better-css-support/258013 "2008-04-19T17:08:40Z")

</div>

I just looked into the styleSheet and TextFormat class for the first time and built a text scroller that pulls its content from a text file with html in it. I am having great problems with the fact that I can't add top …

---

## [QTVR objects in Flash](https://forum.kirupa.com/t/qtvr-objects-in-flash/258008)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 3:29pm UTC](https://forum.kirupa.com/t/qtvr-objects-in-flash/258008 "2008-04-19T15:29:36Z")

</div>

I am subcontracting for a producer who wants me to embed a QTVR object into a Flash kiosk. I told him from the very outset that I didn't know how to do that, or even if it were possible, since I'm mediocre at AS 2.0 (at …

---

## [Tweening Clips greater than 2880 in width or height?](https://forum.kirupa.com/t/tweening-clips-greater-than-2880-in-width-or-height/258005)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 2:45pm UTC](https://forum.kirupa.com/t/tweening-clips-greater-than-2880-in-width-or-height/258005 "2008-04-19T14:45:55Z")

</div>

Hi, any ideas on how I should go about tweening a mc thats greater than 2880? Would breaking up the jpeg into 2 parts be the most efficient way?

---

## [Simple pop up html window - sized HELP!](https://forum.kirupa.com/t/simple-pop-up-html-window-sized-help/257999)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 12:01pm UTC](https://forum.kirupa.com/t/simple-pop-up-html-window-sized-help/257999 "2008-04-19T12:01:31Z")

</div>

Hi guys, I've been looking through the posts but just can't solve this simple question - it's 2 years since I've been in Flash and my memory is dying! I'm linking from a button in index.swf - opening mainpage.html in a…

---

## [Dynamically creating Color Swatches](https://forum.kirupa.com/t/dynamically-creating-color-swatches/257998)

<div class="topic-metadata">

**Author:** [@mastermode](https://forum.kirupa.com/u/mastermode)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 11:59am UTC](https://forum.kirupa.com/t/dynamically-creating-color-swatches/257998 "2008-04-19T11:59:16Z")

</div>

So, I have to do this drawing application, and I want to integrate almost as much colors as Flash has, in it's standard swatch picking thingy, i.e 18x12 = 216 swatches. In other words, A LOT of them \[smile\] The only id…

---

## [Making Flash file protected](https://forum.kirupa.com/t/making-flash-file-protected/257987)

<div class="topic-metadata">

**Author:** [@seek\_nik](https://forum.kirupa.com/u/seek_nik)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:53am UTC](https://forum.kirupa.com/t/making-flash-file-protected/257987 "2008-04-19T05:53:19Z")

</div>

Dear All, I am in a big trouble. Actually I have made multiple swf, is it possible to call them as .exe?? please help Regards

---

## [Sick of my tweens not being smooth. Please help?](https://forum.kirupa.com/t/sick-of-my-tweens-not-being-smooth-please-help/257978)

<div class="topic-metadata">

**Author:** [@dtrace](https://forum.kirupa.com/u/dtrace)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 2:44am UTC](https://forum.kirupa.com/t/sick-of-my-tweens-not-being-smooth-please-help/257978 "2008-04-19T02:44:36Z")

</div>

I am not understanding why a simple alpha tween is staggering my processor every time and just making the tween seem slow and not smooth. I basically have a black movie clip that covers my screen, and i want it to fade…

---

## [Movie clip Linking](https://forum.kirupa.com/t/movie-clip-linking/257967)

<div class="topic-metadata">

**Author:** [@establishment](https://forum.kirupa.com/u/establishment)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 9:49pm UTC](https://forum.kirupa.com/t/movie-clip-linking/257967 "2008-04-18T21:49:14Z")

</div>

Greetings! I'm using the Interactive Image Panning tutorial, and I must say it's excellent. (http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm) I've edited the AS code around a bit to get my desired eff…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1000)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1002)
