# flash

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

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

**Page:** 549

---

## [removeChild but don't know where or how](https://forum.kirupa.com/t/removechild-but-dont-know-where-or-how/293805)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:59am UTC](https://forum.kirupa.com/t/removechild-but-dont-know-where-or-how/293805 "2009-08-04T06:59:22Z")

</div>

I keep getting this Error RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/addChildAt() at stage\_fla::MainTimeline/frame2() TypeError: Error #1009: Cannot a…

---

## [Flash fill div](https://forum.kirupa.com/t/flash-fill-div/293803)

<div class="topic-metadata">

**Author:** [@euphoria2009](https://forum.kirupa.com/u/euphoria2009)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:51am UTC](https://forum.kirupa.com/t/flash-fill-div/293803 "2009-08-04T06:51:16Z")

</div>

I have a div created in css that resizes according to screen size. I need my flash movie to fill that div as it resizes to different wdiths and heights. I need my movie content to remain in the scale i designed it. How w…

---

## [Vcam problem](https://forum.kirupa.com/t/vcam-problem/293802)

<div class="topic-metadata">

**Author:** [@jayjam10](https://forum.kirupa.com/u/jayjam10)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 6:48am UTC](https://forum.kirupa.com/t/vcam-problem/293802 "2009-08-04T06:48:29Z")

</div>

I installed a vcam on my game but i have a problem. I put a health bar at the bottom left of the screen but it kind of vibrates a couple of pixels depending on the players movement. I made my vcam visible and found out i…

---

## [Newbie help: Create/Run Functions from xml attribute?](https://forum.kirupa.com/t/newbie-help-create-run-functions-from-xml-attribute/293798)

<div class="topic-metadata">

**Author:** [@adlib33](https://forum.kirupa.com/u/adlib33)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 5:28am UTC](https://forum.kirupa.com/t/newbie-help-create-run-functions-from-xml-attribute/293798 "2009-08-04T05:28:32Z")

</div>

Is it possible to pull a function (and run it) from an xml attribute? I have a dynamic xml menu with lots of buttons and sub buttons function subButtnClick(........ if(String(\_xml.item\[\_off.parent.id\].subitem\[\_subO…

---

## [Appending variable to MCL Object within a class](https://forum.kirupa.com/t/appending-variable-to-mcl-object-within-a-class/293794)

<div class="topic-metadata">

**Author:** [@sk8er5960](https://forum.kirupa.com/u/sk8er5960)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 2:17am UTC](https://forum.kirupa.com/t/appending-variable-to-mcl-object-within-a-class/293794 "2009-08-04T02:17:08Z")

</div>

So i'm trying to build a dynamic gallery class where each thumbnail has it's own preloader, using the MovieClipLoader(). I'm making it so i can pull all the gallery img paths from a php page that spits it all out as a st…

---

## [Stack overflow error on only 4 class instantiations](https://forum.kirupa.com/t/stack-overflow-error-on-only-4-class-instantiations/293793)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 1:28am UTC](https://forum.kirupa.com/t/stack-overflow-error-on-only-4-class-instantiations/293793 "2009-08-04T01:28:49Z")

</div>

Hello, I'm having a strange problem w/ stack overflow errors after instantiating a simple class only 4 times. The strange thing is that when I put a trace statement where the classes are instantiated, it clears up …

---

## [Help with A-level project](https://forum.kirupa.com/t/help-with-a-level-project/293791)

<div class="topic-metadata">

**Author:** [@musername](https://forum.kirupa.com/u/musername)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 1:03am UTC](https://forum.kirupa.com/t/help-with-a-level-project/293791 "2009-08-04T01:03:12Z")

</div>

Hey, i'm new to the forum, and i'm pretty new to flash, i have a basic knowledge of how stuff works and i know my way around, but i know nout about actionscript and i'm not very good at motion tweening. Long story short,…

---

## [AS2: Dynamically referencing ROOT](https://forum.kirupa.com/t/as2-dynamically-referencing-root/293790)

<div class="topic-metadata">

**Author:** [@madhat](https://forum.kirupa.com/u/madhat)\
**Replies:** 0\
**Last updated:** [August 4, 2009, 12:05am UTC](https://forum.kirupa.com/t/as2-dynamically-referencing-root/293790 "2009-08-04T00:05:17Z")

</div>

Hi All, I am having trouble dynamically changing the reference to root in my movies. Here's what I'm trying to do: I have a main movie(\_level0.mainMovie) that I am loading external .swfs into. However, I want to be able …

---

## [\[Flash CS4 AS2\] Stage too small/please resize message - please help!](https://forum.kirupa.com/t/flash-cs4-as2-stage-too-small-please-resize-message-please-help/293787)

<div class="topic-metadata">

**Author:** [@KaH](https://forum.kirupa.com/u/KaH)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:24pm UTC](https://forum.kirupa.com/t/flash-cs4-as2-stage-too-small-please-resize-message-please-help/293787 "2009-08-03T22:24:44Z")

</div>

I apologize for being completely new to Flash - the solution to this question may be really obvious, but I'm missing it. I'm trying to create an effect similar to the one on http://www.ff0000.com/ when the browser windo…

---

## [Dynamically Run Functions](https://forum.kirupa.com/t/dynamically-run-functions/293786)

<div class="topic-metadata">

**Author:** [@midimid](https://forum.kirupa.com/u/midimid)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:08pm UTC](https://forum.kirupa.com/t/dynamically-run-functions/293786 "2009-08-03T22:08:10Z")

</div>

I'd like a generic function that can take: a) object/array containing various classed items b) method to run on them i.e.: var itemA = new Item(); var itemB = new Item(); var obj:Object = new Object(); obj.itemA = …

---

## [AS3 version of this menu;](https://forum.kirupa.com/t/as3-version-of-this-menu/293785)

<div class="topic-metadata">

**Author:** [@JeffC](https://forum.kirupa.com/u/JeffC)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:02pm UTC](https://forum.kirupa.com/t/as3-version-of-this-menu/293785 "2009-08-03T22:02:14Z")

</div>

http://flashexplained.com/menus-inte...with-a-slider/ Hello, Does anybody have an AS3 version of the menu tutorial that I've linked to? I'm new with AS3, and having some problems migrating over..haha. Thanks.

---

## [Dynamic text Scroll](https://forum.kirupa.com/t/dynamic-text-scroll/293784)

<div class="topic-metadata">

**Author:** [@mrManIsHere](https://forum.kirupa.com/u/mrManIsHere)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-text-scroll/293784 "2009-08-03T21:13:34Z")

</div>

I've got this .txt file im loding into a dynamic textfield, and I would like to be able to scroll the text by sliding the mouse over the textbox. Depending on where the cursor is, it goes up or down. It seems that it sho…

---

## [Flash PHP Forms](https://forum.kirupa.com/t/flash-php-forms/293783)

<div class="topic-metadata">

**Author:** [@jinx1000sx](https://forum.kirupa.com/u/jinx1000sx)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 8:16pm UTC](https://forum.kirupa.com/t/flash-php-forms/293783 "2009-08-03T20:16:45Z")

</div>

Hey Folks, I need a hand! Any body has an idea to tackle flash 8 forms with PHP, I ve tried to view loads of information, but no solution yet. Got my Flash send button configured like this on (release) { // send …

---

## [XMLSocket Error #2048](https://forum.kirupa.com/t/xmlsocket-error-2048/293780)

<div class="topic-metadata">

**Author:** [@mvillara](https://forum.kirupa.com/u/mvillara)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:33pm UTC](https://forum.kirupa.com/t/xmlsocket-error-2048/293780 "2009-08-03T19:33:58Z")

</div>

Hi Everyone, Im looking for a solution for the Error #2048 from Flash. I have a server program developed in Java using the class xSocket and it works fine. It manage the clients from Flash. Well, once i installed the …

---

## [TextField nested in MovieClip Issue](https://forum.kirupa.com/t/textfield-nested-in-movieclip-issue/293779)

<div class="topic-metadata">

**Author:** [@MatrixAgent1984](https://forum.kirupa.com/u/MatrixAgent1984)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:26pm UTC](https://forum.kirupa.com/t/textfield-nested-in-movieclip-issue/293779 "2009-08-03T19:26:09Z")

</div>

var tf:TextField = new TextField(); tf.text = "abc"; var mc:MovieClip = new MovieClip(); mc.addChild(tf); trace(mc.tf.text); Why does the trace statement throw me an error?

---

## [CDK - Objects velocities are weird in some cases](https://forum.kirupa.com/t/cdk-objects-velocities-are-weird-in-some-cases/293777)

<div class="topic-metadata">

**Author:** [@Overkill1010](https://forum.kirupa.com/u/Overkill1010)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:36pm UTC](https://forum.kirupa.com/t/cdk-objects-velocities-are-weird-in-some-cases/293777 "2009-08-03T17:36:24Z")

</div>

Hi all.. Im using the CollisionDetectionKit v 1.5 by Corey.. For anyone who isnt familiar with the kit , just take for granted that ob1 and ob2 are the 2 objects colliding, and that myAngle is the value of the acute an…

---

## ["hungerbar" help](https://forum.kirupa.com/t/hungerbar-help/293776)

<div class="topic-metadata">

**Author:** [@evgiz](https://forum.kirupa.com/u/evgiz)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:29pm UTC](https://forum.kirupa.com/t/hungerbar-help/293776 "2009-08-03T17:29:05Z")

</div>

i need help to make a hunger bar (doing this too) hunger = 100 every 60 sek this -1 if hunger = 0, pet , gotoAndPlay(death):ko: if food hit pet, hunger +10, pet gotoAndPlay (eat) i cant even make a bar so a ful…

---

## [Extreme zoom from globe to close-up satellite imagery?](https://forum.kirupa.com/t/extreme-zoom-from-globe-to-close-up-satellite-imagery/293775)

<div class="topic-metadata">

**Author:** [@simonx314](https://forum.kirupa.com/u/simonx314)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:25pm UTC](https://forum.kirupa.com/t/extreme-zoom-from-globe-to-close-up-satellite-imagery/293775 "2009-08-03T17:25:15Z")

</div>

Hi. I'm trying to create a flash application which displayes 20 locations on a U.S map. Right now I have a satellite image of the U.S, and if you click on a location it zooms and you see a close up. I am achieving thi…

---

## [\[Flash CS4\] html popup window help](https://forum.kirupa.com/t/flash-cs4-html-popup-window-help/293774)

<div class="topic-metadata">

**Author:** [@knowcontrol](https://forum.kirupa.com/u/knowcontrol)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 5:01pm UTC](https://forum.kirupa.com/t/flash-cs4-html-popup-window-help/293774 "2009-08-03T17:01:08Z")

</div>

Hi, I followed the instructions from http://www.kirupa.com/developer/flash5/newwindow.htm and everything works as advertised. However, I'd like to make multiple buttons that call different web pages. How can this…

---

## [Sliding Horizontal menu](https://forum.kirupa.com/t/sliding-horizontal-menu/293773)

<div class="topic-metadata">

**Author:** [@neeldin](https://forum.kirupa.com/u/neeldin)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 4:59pm UTC](https://forum.kirupa.com/t/sliding-horizontal-menu/293773 "2009-08-03T16:59:15Z")

</div>

hi friends i m looking for a script to make a horizontal sliding menu just like one of the at the site www.carron.com pls do the needful Thanks Dinesh

---

## [.swf not acknowledging some AS](https://forum.kirupa.com/t/swf-not-acknowledging-some-as/293769)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 2:52pm UTC](https://forum.kirupa.com/t/swf-not-acknowledging-some-as/293769 "2009-08-03T14:52:39Z")

</div>

I've scripted a small flash file that for some reason, does not throw any errors but does not apply the tweens I have set for the beggining... Please take a look at what I mean: import gs.TweenLite; import gs.easing…

---

## [Reuse loaded object](https://forum.kirupa.com/t/reuse-loaded-object/293768)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 2:52pm UTC](https://forum.kirupa.com/t/reuse-loaded-object/293768 "2009-08-03T14:52:24Z")

</div>

Hi All, I've come across a problem. I'm developing a gallery and I've just relised I've been creating a new set of thumbnails each time I click on the image category. There are four Categories and everytime I click o…

---

## [Go To Fullscreen with SWFAddress](https://forum.kirupa.com/t/go-to-fullscreen-with-swfaddress/293767)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 1:48pm UTC](https://forum.kirupa.com/t/go-to-fullscreen-with-swfaddress/293767 "2009-08-03T13:48:17Z")

</div>

Hi I am using SWF address. With my site where I am NOT using the function to go to fullscreen works just fine. The problem is that when I use the HTML of SWFAddress I can't get the fullscreen working. I hope someon…

---

## [Class variable to stage textfield?](https://forum.kirupa.com/t/class-variable-to-stage-textfield/293762)

<div class="topic-metadata">

**Author:** [@soundman](https://forum.kirupa.com/u/soundman)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 12:12pm UTC](https://forum.kirupa.com/t/class-variable-to-stage-textfield/293762 "2009-08-03T12:12:48Z")

</div>

AS3 first-timer... simple question (i hope), how to display a variable from within a class in a textfield on the stage? I've been trying for ages and can't figure it out...

---

## [Creating basic 3D objects in Flash CS4](https://forum.kirupa.com/t/creating-basic-3d-objects-in-flash-cs4/293761)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:41am UTC](https://forum.kirupa.com/t/creating-basic-3d-objects-in-flash-cs4/293761 "2009-08-03T10:41:16Z")

</div>

OK, excuse me if it looks like I'm asking for directions to something I should be able to find pretty easily on my own; but I've hit a bit of a coding dead-end, and could do with pointing in the right direction. I've s…

---

## [Preload .txt file?](https://forum.kirupa.com/t/preload-txt-file/293754)

<div class="topic-metadata">

**Author:** [@eschu](https://forum.kirupa.com/u/eschu)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 9:14am UTC](https://forum.kirupa.com/t/preload-txt-file/293754 "2009-08-03T09:14:29Z")

</div>

Hey everyone, I was wondering if it was possible to preload an external .txt file as the rest of the flash is being preloaded. Thanks, Eric

---

## [UI InputText and Dymanic text](https://forum.kirupa.com/t/ui-inputtext-and-dymanic-text/293748)

<div class="topic-metadata">

**Author:** [@ron\_ron](https://forum.kirupa.com/u/ron_ron)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 7:15am UTC](https://forum.kirupa.com/t/ui-inputtext-and-dymanic-text/293748 "2009-08-03T07:15:37Z")

</div>

How to make display a TextInput (UI componant) text in a dynamic text box? I've got 5 TextInput fields, when I press TEB (keyboard) always the next Input text box is highlighted in glowing green. Can this be changed to…

---

## [Trouble with preloader and getNextHighestDepth](https://forum.kirupa.com/t/trouble-with-preloader-and-getnexthighestdepth/293741)

<div class="topic-metadata">

**Author:** [@JAmp5](https://forum.kirupa.com/u/JAmp5)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 1:01am UTC](https://forum.kirupa.com/t/trouble-with-preloader-and-getnexthighestdepth/293741 "2009-08-03T01:01:01Z")

</div>

I have a problem with a preloader on a slideshow. The preloader works perfectly the first time the slideshow is loaded but if you move to another frame and then return the loader bar loads in the top left hand corner of …

---

## [ADDED\_TO\_STAGE in keyframe as?](https://forum.kirupa.com/t/added-to-stage-in-keyframe-as/293740)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 12:28am UTC](https://forum.kirupa.com/t/added-to-stage-in-keyframe-as/293740 "2009-08-03T00:28:26Z")

</div>

This is really weird. I have 2 MC's in Library, "mc" and "mc2". Both are added in main timeline with var aaa = new mc(); addChild(aaa) var bbb = new mc2(); addChild(bbb) "mc" has keyframe script and "mc2" a .as cl…

---

## [Load swf?](https://forum.kirupa.com/t/load-swf/293738)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 11:49pm UTC](https://forum.kirupa.com/t/load-swf/293738 "2009-08-02T23:49:55Z")

</div>

Hey ppl, I have a little problem. I'm doing this site which is attached, the animation is in one frame and the site is in another, I don't know how I should connect the both of them. In one swf I have the animation…

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

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