# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=856

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

**Page:** 857

---

## [Add Loader as a Child to more the one MovieClips](https://forum.kirupa.com/t/add-loader-as-a-child-to-more-the-one-movieclips/285842)

<div class="topic-metadata">

**Author:** [@nighteagle](https://forum.kirupa.com/u/nighteagle)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 7:51am UTC](https://forum.kirupa.com/t/add-loader-as-a-child-to-more-the-one-movieclips/285842 "2009-04-07T07:51:45Z")

</div>

I would like to use the addChild method of more then one MovieClips with the same parameter, eg add the same loader to two or more MovieClips. var loader:Loader = new Loader(); loader.load(new URLRequest("http://www.a…

---

## [Loading AS3 in AS2?](https://forum.kirupa.com/t/loading-as3-in-as2/285841)

<div class="topic-metadata">

**Author:** [@kstv\_chttrj](https://forum.kirupa.com/u/kstv_chttrj)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 7:51am UTC](https://forum.kirupa.com/t/loading-as3-in-as2/285841 "2009-04-07T07:51:41Z")

</div>

I have purchased one 3d gallery which is developed in AS3. But I have a site which is developed in AS2. I just want that gallery to put in the website's gallery section. So I just tried normal loadMovie.. Its not …

---

## [Loading AS3 swf in AS2?](https://forum.kirupa.com/t/loading-as3-swf-in-as2/285840)

<div class="topic-metadata">

**Author:** [@kstv\_chttrj](https://forum.kirupa.com/u/kstv_chttrj)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 7:45am UTC](https://forum.kirupa.com/t/loading-as3-swf-in-as2/285840 "2009-04-07T07:45:34Z")

</div>

I have purchased one 3d gallery which is developed in AS3. But I have a site which is developed in AS2. I just want that gallery to put in the website's gallery section. So I just tried normal loadMovie.. Its not …

---

## [\[CS3/AS2\] How to move playhead from XML hyperlink?](https://forum.kirupa.com/t/cs3-as2-how-to-move-playhead-from-xml-hyperlink/285838)

<div class="topic-metadata">

**Author:** [@b\_electro](https://forum.kirupa.com/u/b_electro)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 6:55am UTC](https://forum.kirupa.com/t/cs3-as2-how-to-move-playhead-from-xml-hyperlink/285838 "2009-04-07T06:55:07Z")

</div>

I have a Flash image gallery containing both images and captions fed by an XML sheet. I have an HTML hyperlink in the XML (wrapped in CDATA tags) that I want to control the Flash movie with, i.e. go to frame 70 when link…

---

## [Load image at runtime](https://forum.kirupa.com/t/load-image-at-runtime/285832)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 4:07am UTC](https://forum.kirupa.com/t/load-image-at-runtime/285832 "2009-04-07T04:07:42Z")

</div>

I have an image component: \<mx:Image x="6" y="8" id="image" /\> I'm allowing the user to choose some image and load it at runtime. I'm just learning how to do this, so right now I have a hardcoded image: image.s…

---

## [Tile based system question](https://forum.kirupa.com/t/tile-based-system-question/285831)

<div class="topic-metadata">

**Author:** [@Warheart](https://forum.kirupa.com/u/Warheart)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 4:03am UTC](https://forum.kirupa.com/t/tile-based-system-question/285831 "2009-04-07T04:03:11Z")

</div>

Hey, umm basically my question is..is there a way to make your tiles not start from 0,0 co-ordinates? like say have a 50pixel high gap at the top going all the way across (for a UI incase your wondering) then have the …

---

## [Deleting a display object from within itself](https://forum.kirupa.com/t/deleting-a-display-object-from-within-itself/285829)

<div class="topic-metadata">

**Author:** [@baggins825](https://forum.kirupa.com/u/baggins825)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 2:38am UTC](https://forum.kirupa.com/t/deleting-a-display-object-from-within-itself/285829 "2009-04-07T02:38:01Z")

</div>

Hi all, im making a game and it has enemies randomly spawning at the top of the screen going down to the bottom, so far it all works fine, except for when i try to remove them when they reach the bottom of the screen I g…

---

## [Stop Flash Animation After 30 Seconds](https://forum.kirupa.com/t/stop-flash-animation-after-30-seconds/285828)

<div class="topic-metadata">

**Author:** [@cgibers1](https://forum.kirupa.com/u/cgibers1)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 2:37am UTC](https://forum.kirupa.com/t/stop-flash-animation-after-30-seconds/285828 "2009-04-07T02:37:28Z")

</div>

Hello, I am a Flash "newbie" working on an animated web banner. The specifications say that the animation must stop after 30 seconds but can on a mouse rollover. My animation is just a looping rotating circle created on …

---

## [XML, Photo Flash Gallery, and Dynamic Links](https://forum.kirupa.com/t/xml-photo-flash-gallery-and-dynamic-links/285826)

<div class="topic-metadata">

**Author:** [@GadvOutpost](https://forum.kirupa.com/u/GadvOutpost)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 2:00am UTC](https://forum.kirupa.com/t/xml-photo-flash-gallery-and-dynamic-links/285826 "2009-04-07T02:00:57Z")

</div>

What is the best way to go about creating a Read More dynamic link to add to the Photo Flash gallery with thumbnails tutorial? Essentially the same idea by having the link coded on the XML file then pulled into the flash…

---

## [So what's the real deal with cacheAsBitmap?](https://forum.kirupa.com/t/so-whats-the-real-deal-with-cacheasbitmap/285824)

<div class="topic-metadata">

**Author:** [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 12:26am UTC](https://forum.kirupa.com/t/so-whats-the-real-deal-with-cacheasbitmap/285824 "2009-04-07T00:26:17Z")

</div>

I tend to use it a lot. It's a great help for increasing the overall performance of your application if you know where and when cacheAsBitmap will help. There's one thing that pisses me off with it though. Pixelsnappi…

---

## [Simulating Click for JS Library](https://forum.kirupa.com/t/simulating-click-for-js-library/285823)

<div class="topic-metadata">

**Author:** [@ibsen](https://forum.kirupa.com/u/ibsen)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 12:14am UTC](https://forum.kirupa.com/t/simulating-click-for-js-library/285823 "2009-04-07T00:14:28Z")

</div>

I have a site that uses the SoftDIVScroll library to move to different DIVs on a page. Normally, SoftDIVScroll listens for a click event on an anchor point, but I need to do something similar from a Flash movie. So, in…

---

## [Removing children from the stage](https://forum.kirupa.com/t/removing-children-from-the-stage/285822)

<div class="topic-metadata">

**Author:** [@baggins825](https://forum.kirupa.com/u/baggins825)\
**Replies:** 0\
**Last updated:** [April 7, 2009, 12:08am UTC](https://forum.kirupa.com/t/removing-children-from-the-stage/285822 "2009-04-07T00:08:22Z")

</div>

Hi all, im making a game and it has enemies randomly spawning at the top of the screen going down to the bottom, so far it all works fine, except for when i try to remove the enemies I get this error ArgumentError: …

---

## [FLip book and video](https://forum.kirupa.com/t/flip-book-and-video/285821)

<div class="topic-metadata">

**Author:** [@Alasandro](https://forum.kirupa.com/u/Alasandro)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:45pm UTC](https://forum.kirupa.com/t/flip-book-and-video/285821 "2009-04-06T23:45:34Z")

</div>

Hello everyone. I am most likely asking this question due to my lack of knowledge about flash flipping books. I have a template I purchased nearly a year ago and just found the time to use it. It is a flip book with a re…

---

## [Change file name in file download](https://forum.kirupa.com/t/change-file-name-in-file-download/285820)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:44pm UTC](https://forum.kirupa.com/t/change-file-name-in-file-download/285820 "2009-04-06T23:44:04Z")

</div>

I have a tabls of longblobs which hold PDF data - I have download pages that live here: http://localhost/messages/all/52/notes/pdf http://localhost/messages/all/52/recording/mp3 I set my content-type to PDF or MP3, b…

---

## [Problem with CS3 video workshop](https://forum.kirupa.com/t/problem-with-cs3-video-workshop/285819)

<div class="topic-metadata">

**Author:** [@Mak\_Valley](https://forum.kirupa.com/u/Mak_Valley)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:38pm UTC](https://forum.kirupa.com/t/problem-with-cs3-video-workshop/285819 "2009-04-06T23:38:27Z")

</div>

It opens everytime I run flashplayer on my mac. It's pretty irritating, and I can't close just the vw window because flash will quit. Has anybody has this problem before? If so how do I fix it?

---

## [dispatchEvent; What am I doing wrong?!](https://forum.kirupa.com/t/dispatchevent-what-am-i-doing-wrong/285818)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:29pm UTC](https://forum.kirupa.com/t/dispatchevent-what-am-i-doing-wrong/285818 "2009-04-06T23:29:56Z")

</div>

Hi everyone, I don't know if i've been in front of my computer for too long, but I can't for the life of me understand why this doesn't work: All i'm trying to do is dispatch an event from one class to the other, when …

---

## [Site Alignment](https://forum.kirupa.com/t/site-alignment/285817)

<div class="topic-metadata">

**Author:** [@lillizzierae](https://forum.kirupa.com/u/lillizzierae)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:16pm UTC](https://forum.kirupa.com/t/site-alignment/285817 "2009-04-06T23:16:49Z")

</div>

Ok, I have a simple question that I should really know but for some reason completely forget! I'm doing a site right now and I want my site aligned like this one: http://www.typechart.com/ I forget how to do it. I'm mo…

---

## [Simple page / book flip](https://forum.kirupa.com/t/simple-page-book-flip/285814)

<div class="topic-metadata">

**Author:** [@crash41](https://forum.kirupa.com/u/crash41)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 10:48pm UTC](https://forum.kirupa.com/t/simple-page-book-flip/285814 "2009-04-06T22:48:35Z")

</div>

I need a VERY simple page flip template. We have 6 pages - needs to open with 2 showing, and simple have a 'page turning effect' when switching thru the images. does anyone know of a tutorial or template or sample out…

---

## [Preloader and Listener for FileReference.download?](https://forum.kirupa.com/t/preloader-and-listener-for-filereference-download/285811)

<div class="topic-metadata">

**Author:** [@adefesche](https://forum.kirupa.com/u/adefesche)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 9:25pm UTC](https://forum.kirupa.com/t/preloader-and-listener-for-filereference-download/285811 "2009-04-06T21:25:03Z")

</div>

I've been searching through code FOREVER and can't find anything helpful or functional yet. Right now I have a page that downloads a file to the user's computer when you click a button. But, I want to create a loader s…

---

## [Lost in action script hell](https://forum.kirupa.com/t/lost-in-action-script-hell/285809)

<div class="topic-metadata">

**Author:** [@eyebonk](https://forum.kirupa.com/u/eyebonk)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 8:36pm UTC](https://forum.kirupa.com/t/lost-in-action-script-hell/285809 "2009-04-06T20:36:55Z")

</div>

Hopefully can help cos im at a loss!!! I making a web site that has a main disply window and when a button is clicked an aimation plays and which displys an external swf file. I have put a preloader at the end of the ani…

---

## [New to as3 and document class/base class](https://forum.kirupa.com/t/new-to-as3-and-document-class-base-class/285807)

<div class="topic-metadata">

**Author:** [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 8:12pm UTC](https://forum.kirupa.com/t/new-to-as3-and-document-class-base-class/285807 "2009-04-06T20:12:03Z")

</div>

From my document class, I want to create an instance of another class and set its property like so: public class Home extends MovieClip { public function Home() { var homeButtons:HomeButtons = new HomeButtons…

---

## [Center x square´s margin](https://forum.kirupa.com/t/center-x-square-s-margin/285804)

<div class="topic-metadata">

**Author:** [@laertjansen](https://forum.kirupa.com/u/laertjansen)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 7:40pm UTC](https://forum.kirupa.com/t/center-x-square-s-margin/285804 "2009-04-06T19:40:45Z")

</div>

Hello everyone, I got a problem here on how to align my layout to the browser. I set the wrapper to "margin:0 auto; width:990px" but I also set the squares´s margins to "margin:0 10px 47px 0;" so the right side has …

---

## [No Properties Panel](https://forum.kirupa.com/t/no-properties-panel/285803)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 7:20pm UTC](https://forum.kirupa.com/t/no-properties-panel/285803 "2009-04-06T19:20:47Z")

</div>

I can't find the Properties Panel. I have a label on the stage and I want to change it's text property. Can you not do this like in CS3?

---

## [Flash CS3 ideas](https://forum.kirupa.com/t/flash-cs3-ideas/285798)

<div class="topic-metadata">

**Author:** [@derbys](https://forum.kirupa.com/u/derbys)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 6:05pm UTC](https://forum.kirupa.com/t/flash-cs3-ideas/285798 "2009-04-06T18:05:07Z")

</div>

Hey, im new here, and im not quite sure if this is the right place or not (apologies if it is). Right im needing some ideas on what to create for part of a project i am doing. "Design a movie which will employ client-…

---

## [How to open a external php file by clicking on a movieclip?](https://forum.kirupa.com/t/how-to-open-a-external-php-file-by-clicking-on-a-movieclip/285796)

<div class="topic-metadata">

**Author:** [@EdThaSt0rm](https://forum.kirupa.com/u/EdThaSt0rm)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 5:51pm UTC](https://forum.kirupa.com/t/how-to-open-a-external-php-file-by-clicking-on-a-movieclip/285796 "2009-04-06T17:51:51Z")

</div>

Okay, here's the thing: I have a php file (a guestbook for on a website) In flash on the timeline, I made a movieclip, and I want the php file to pop up (the guestbook) whenever you click on that movieclip. I have no…

---

## [Dynamic text unable to edit](https://forum.kirupa.com/t/dynamic-text-unable-to-edit/285791)

<div class="topic-metadata">

**Author:** [@melyne](https://forum.kirupa.com/u/melyne)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 4:42pm UTC](https://forum.kirupa.com/t/dynamic-text-unable-to-edit/285791 "2009-04-06T16:42:42Z")

</div>

Solution found

---

## [FLV Cue Points Problem](https://forum.kirupa.com/t/flv-cue-points-problem/285782)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 1:50pm UTC](https://forum.kirupa.com/t/flv-cue-points-problem/285782 "2009-04-06T13:50:43Z")

</div>

Hi I am have develiped an applicaiton that contains flv interavtivity like I have different cue points embedded in my FLV and when they appear I load some buttons for the interactivity. Now everything is working fin…

---

## [Flash on screen keyboard input](https://forum.kirupa.com/t/flash-on-screen-keyboard-input/285781)

<div class="topic-metadata">

**Author:** [@wizzywas](https://forum.kirupa.com/u/wizzywas)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 1:27pm UTC](https://forum.kirupa.com/t/flash-on-screen-keyboard-input/285781 "2009-04-06T13:27:45Z")

</div>

Hello all, I am new here. I wanted to know how can I make my on screen keyboard type in to a text box. I want my keyboard which I have designed , when a letter is clicked I want it to display the letter in the text box. …

---

## [Best way to organize variables?](https://forum.kirupa.com/t/best-way-to-organize-variables/285780)

<div class="topic-metadata">

**Author:** [@Caravaggio](https://forum.kirupa.com/u/Caravaggio)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 1:17pm UTC](https://forum.kirupa.com/t/best-way-to-organize-variables/285780 "2009-04-06T13:17:04Z")

</div>

This is more of a question of design theory... I've been trying to scratch together an rpg and I've started questioning my approach to coding itself (happens frequently, still very new). Basically I want to save your pr…

---

## [Text Field - alignment with sigle textfield](https://forum.kirupa.com/t/text-field-alignment-with-sigle-textfield/285776)

<div class="topic-metadata">

**Author:** [@energy](https://forum.kirupa.com/u/energy)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 11:49am UTC](https://forum.kirupa.com/t/text-field-alignment-with-sigle-textfield/285776 "2009-04-06T11:49:45Z")

</div>

Friends, Lets say i have a AS code a.text = "OOO " + "BRO "; a.text+= "iii " + "BRO "; If we type in a notepad then it is proper \[image\] But in the .swf , it's like the below image. \[image\] It is clear in a F…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=855)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=857)
