# programming

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

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

**Page:** 898

---

## [Dynamic movieclip position on window resize](https://forum.kirupa.com/t/dynamic-movieclip-position-on-window-resize/283277)

<div class="topic-metadata">

**Author:** [@Ex8roS](https://forum.kirupa.com/u/Ex8roS)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 1:10pm UTC](https://forum.kirupa.com/t/dynamic-movieclip-position-on-window-resize/283277 "2009-03-04T13:10:00Z")

</div>

So i am trying to have a moviclip on the top right corner of the flash movie no matter the size of the window like here. It works in the swf file but not in the html. The top right movieclip's position is set to …

---

## [New to Flash / Tutorial for interactive menu](https://forum.kirupa.com/t/new-to-flash-tutorial-for-interactive-menu/283275)

<div class="topic-metadata">

**Author:** [@RemoteCS](https://forum.kirupa.com/u/RemoteCS)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 1:05pm UTC](https://forum.kirupa.com/t/new-to-flash-tutorial-for-interactive-menu/283275 "2009-03-04T13:05:59Z")

</div>

Okay so I'm new to flash, but unfortunately I need to learn it for a website my work would like me to do. I'm using Adobe CS4 Professional flash to create the basis of the website, a photo background with an interactive …

---

## [Why oh why does Flash not let you manipulate data imported from a text file !?!](https://forum.kirupa.com/t/why-oh-why-does-flash-not-let-you-manipulate-data-imported-from-a-text-file/283273)

<div class="topic-metadata">

**Author:** [@perrodjp6](https://forum.kirupa.com/u/perrodjp6)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 12:40pm UTC](https://forum.kirupa.com/t/why-oh-why-does-flash-not-let-you-manipulate-data-imported-from-a-text-file/283273 "2009-03-04T12:40:07Z")

</div>

Hi all I cant believe that Flash will let you load data from a text file then doesn't allow you to do anything with the data other than display it. Surely there must be a way you can do something the data imported ie pe…

---

## [Button on Rollover](https://forum.kirupa.com/t/button-on-rollover/283272)

<div class="topic-metadata">

**Author:** [@kerwint](https://forum.kirupa.com/u/kerwint)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 12:37pm UTC](https://forum.kirupa.com/t/button-on-rollover/283272 "2009-03-04T12:37:54Z")

</div>

Hi folks, I have a button (A) on the stage and upon rolling over, an empty mc on the same stage will load an external .swf (B) with a button (which is also an external .swf C) loaded into B). The problem is, when I r…

---

## [Accessibility and full screen flash site](https://forum.kirupa.com/t/accessibility-and-full-screen-flash-site/283270)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 11:47am UTC](https://forum.kirupa.com/t/accessibility-and-full-screen-flash-site/283270 "2009-03-04T11:47:21Z")

</div>

Hi all, Just finished our new site which is full screen Flash effort (link in my signature if you're interested), now I would really like to implement some accessibility features, bookmarking, history etc. The whole …

---

## [ModestMaps](https://forum.kirupa.com/t/modestmaps/283268)

<div class="topic-metadata">

**Author:** [@h\_fouad\_rasheed](https://forum.kirupa.com/u/h_fouad_rasheed)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 11:35am UTC](https://forum.kirupa.com/t/modestmaps/283268 "2009-03-04T11:35:53Z")

</div>

Hi everyone I asked about "image flash viewer" before, but unfortunately no response... but I am tried to find something to help me so I found something called http://modestmaps.com/ it has an open source flash fil…

---

## [Regenerate Random Animation](https://forum.kirupa.com/t/regenerate-random-animation/283267)

<div class="topic-metadata">

**Author:** [@karton](https://forum.kirupa.com/u/karton)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 11:35am UTC](https://forum.kirupa.com/t/regenerate-random-animation/283267 "2009-03-04T11:35:39Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hi,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\] \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I am trying to create random butterflies flying out of the frame and regenerating from the bottom.\[/FON…

---

## [Adding volume switch and stop on 1st frame](https://forum.kirupa.com/t/adding-volume-switch-and-stop-on-1st-frame/283264)

<div class="topic-metadata">

**Author:** [@StooB](https://forum.kirupa.com/u/StooB)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 8:53am UTC](https://forum.kirupa.com/t/adding-volume-switch-and-stop-on-1st-frame/283264 "2009-03-04T08:53:08Z")

</div>

Can anyone help me on how to add a volume bar that works on Flash 8 video? I have this script on the video: myVideo.seekBar=mySeek; myVideo.playPauseButton=myPlay; myVideo.volumeBar = myVolum; myVideo.stopButton = my…

---

## [Flash CS$4/ action script 3.0](https://forum.kirupa.com/t/flash-cs-4-action-script-3-0/283259)

<div class="topic-metadata">

**Author:** [@BaddieSana](https://forum.kirupa.com/u/BaddieSana)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 7:21am UTC](https://forum.kirupa.com/t/flash-cs-4-action-script-3-0/283259 "2009-03-04T07:21:53Z")

</div>

Dear Experts, i have a class that will not run in Flash CS4 myLabel.autoSize = TextFieldAutoSize.CENTER i have tried everything to get it to work, here is the code, i am runing it from flash with a class called main, i…

---

## [HTML Tags in XML loading into Flash](https://forum.kirupa.com/t/html-tags-in-xml-loading-into-flash/283256)

<div class="topic-metadata">

**Author:** [@joejozwowski](https://forum.kirupa.com/u/joejozwowski)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 6:28am UTC](https://forum.kirupa.com/t/html-tags-in-xml-loading-into-flash/283256 "2009-03-04T06:28:39Z")

</div>

Good Evening Flash Gurus, I've done as much research on this topic as I possibly can and I still can't get this to work. I'm importing an XML document into a flash movie. The XML is using HTML tags so that I can hig…

---

## [AS2 Slowmotion](https://forum.kirupa.com/t/as2-slowmotion/283253)

<div class="topic-metadata">

**Author:** [@xZeRo23](https://forum.kirupa.com/u/xZeRo23)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:15am UTC](https://forum.kirupa.com/t/as2-slowmotion/283253 "2009-03-04T05:15:46Z")

</div>

I have seen this used in many games like in matrix bullet time fighting. Im making a game where the ball has to bounce in order to get into its desired location. I want to apply the slowmotion in the ball script. Does a…

---

## [Avoiding Game hitTest](https://forum.kirupa.com/t/avoiding-game-hittest/283252)

<div class="topic-metadata">

**Author:** [@Saigo](https://forum.kirupa.com/u/Saigo)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 4:54am UTC](https://forum.kirupa.com/t/avoiding-game-hittest/283252 "2009-03-04T04:54:55Z")

</div>

Like so many others, this is my first flash game so please be gentle. \[smiley\] I am attempting to make an avoiding game by implementing the falling snow tutorial here: http://www.kirupa.com/developer/flash8/snow.htm …

---

## [Circle transition effect?](https://forum.kirupa.com/t/circle-transition-effect/283249)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.kirupa.com/u/Dave)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:51am UTC](https://forum.kirupa.com/t/circle-transition-effect/283249 "2009-03-04T03:51:43Z")

</div>

http://flashden.net/item/xml-circle-transition-by-quickyboy/10398 Does anyone know how to do this in code? Not using XML, just want a simple wipe. Just wondering if its possible to do with code instead of animating it …

---

## [PHP works, MySQL works, but AMFPHP wont connect](https://forum.kirupa.com/t/php-works-mysql-works-but-amfphp-wont-connect/283246)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 2:42am UTC](https://forum.kirupa.com/t/php-works-mysql-works-but-amfphp-wont-connect/283246 "2009-03-04T02:42:29Z")

</div>

I've created a mysql db on localhost, used php to get the data and echoed it successfully. Now when I try and run a service through AMFPHP, I get Unsupported data type: mysql link. This script works fine when viewing i…

---

## [AS3 Video Player from Scratch](https://forum.kirupa.com/t/as3-video-player-from-scratch/283244)

<div class="topic-metadata">

**Author:** [@sgpeters](https://forum.kirupa.com/u/sgpeters)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 2:34am UTC](https://forum.kirupa.com/t/as3-video-player-from-scratch/283244 "2009-03-04T02:34:21Z")

</div>

Does anyone know of any good tutorials that will walk me through building an as3 player from the ground up including: clickable seek/progress bar, volume control, and fullscreen support? Lee Brimelow has a great series…

---

## [Website Nav, Tween between pages in the same scene](https://forum.kirupa.com/t/website-nav-tween-between-pages-in-the-same-scene/283240)

<div class="topic-metadata">

**Author:** [@jeppy](https://forum.kirupa.com/u/jeppy)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 1:06am UTC](https://forum.kirupa.com/t/website-nav-tween-between-pages-in-the-same-scene/283240 "2009-03-04T01:06:20Z")

</div>

Hello, I am new to Actionscript and am working with AS3 in Flash CS3 to produce a portfolio website. Basically I have my flash set up with a 3x3 grid (9 boxes about 450px by 450px each box) and each box will have info a…

---

## [Is AS3 Messing with my Formatting?](https://forum.kirupa.com/t/is-as3-messing-with-my-formatting/283236)

<div class="topic-metadata">

**Author:** [@preciousroy](https://forum.kirupa.com/u/preciousroy)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 11:42pm UTC](https://forum.kirupa.com/t/is-as3-messing-with-my-formatting/283236 "2009-03-03T23:42:33Z")

</div>

This one is probably best handled visually. http://ninecommandments.com If you click on Botswana (it's the only country that's darkened) a menu drops down on the left. I'm trying to get all of the menu items the same…

---

## [SWF that draws outside its bounds](https://forum.kirupa.com/t/swf-that-draws-outside-its-bounds/283235)

<div class="topic-metadata">

**Author:** [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 11:24pm UTC](https://forum.kirupa.com/t/swf-that-draws-outside-its-bounds/283235 "2009-03-03T23:24:30Z")

</div>

I opened up the NY Times homepage, and they have this giant Apple addvertisement that has animations over the entire top half of the page, outside the area occupied by the swf. How do they do that? You can look at www.ny…

---

## [Same results?](https://forum.kirupa.com/t/same-results/283234)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 11:18pm UTC](https://forum.kirupa.com/t/same-results/283234 "2009-03-03T23:18:37Z")

</div>

I have a loop that is supposed to run a set of functions and output movieclips on a main movieclip. Each of these smaller movieclip is supposed to be a tile. The code below is supposed to make 50 movieClips each one from…

---

## [Help with simple avoiding game](https://forum.kirupa.com/t/help-with-simple-avoiding-game/283233)

<div class="topic-metadata">

**Author:** [@gothcube](https://forum.kirupa.com/u/gothcube)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 11:12pm UTC](https://forum.kirupa.com/t/help-with-simple-avoiding-game/283233 "2009-03-03T23:12:06Z")

</div>

Hey guys! I need your help! I'm trying to make a simple avoiding game. Kinda like a sneak-out-of-jail type scenario, where you have to avoid the guard's field of vision. I have a level set up, and a class object ins…

---

## [Timer not starting in LivePreview](https://forum.kirupa.com/t/timer-not-starting-in-livepreview/283227)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 10:12pm UTC](https://forum.kirupa.com/t/timer-not-starting-in-livepreview/283227 "2009-03-03T22:12:07Z")

</div>

Can anyone confirm that a Timer instance will not start in a LivePreview SWF? Or am I doing something incorrectly?

---

## [RemoveChild if exists](https://forum.kirupa.com/t/removechild-if-exists/283226)

<div class="topic-metadata">

**Author:** [@pardoner](https://forum.kirupa.com/u/pardoner)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 10:11pm UTC](https://forum.kirupa.com/t/removechild-if-exists/283226 "2009-03-03T22:11:41Z")

</div>

I'd like to remove a child of the display list if it exists before adding another to the stage. This gives me Error the first time I call it because 'myMC' doesn't exist. function callMc(){ if(myMc) removeChild(myMc)…

---

## [TotalFrames from Child](https://forum.kirupa.com/t/totalframes-from-child/283225)

<div class="topic-metadata">

**Author:** [@ImageMagician](https://forum.kirupa.com/u/ImageMagician)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 9:49pm UTC](https://forum.kirupa.com/t/totalframes-from-child/283225 "2009-03-03T21:49:59Z")

</div>

I am loading an external swf as a child and I want to get its "totalFrames", but I get the following error: "Property totalFrames not found on flash.display.Loader and there is no default value." Is there a way to get …

---

## [AS2-Change Instance Name of Array Item](https://forum.kirupa.com/t/as2-change-instance-name-of-array-item/283224)

<div class="topic-metadata">

**Author:** [@stanmc](https://forum.kirupa.com/u/stanmc)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 9:48pm UTC](https://forum.kirupa.com/t/as2-change-instance-name-of-array-item/283224 "2009-03-03T21:48:57Z")

</div>

Hello - I think this is easy, but haven't hit the right solution. Searched forum to no avail. I have an array of buttons. When an array item is clicked, it executes several lines of code. I want to also amend the item'…

---

## [AS3 Array element remove issue:](https://forum.kirupa.com/t/as3-array-element-remove-issue/283223)

<div class="topic-metadata">

**Author:** [@geck0](https://forum.kirupa.com/u/geck0)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 9:16pm UTC](https://forum.kirupa.com/t/as3-array-element-remove-issue/283223 "2009-03-03T21:16:57Z")

</div>

i have items drawn my stage dynamically and information regarding them in arrays. when i remove an item from the display list: a.target.graphics.clear(); i then use the ‘splice’ and index of method to locate chose…

---

## [TextField not working...?](https://forum.kirupa.com/t/textfield-not-working/283221)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 8:31pm UTC](https://forum.kirupa.com/t/textfield-not-working/283221 "2009-03-03T20:31:52Z")

</div>

I created a simple text field using something like this: ordi.text = "test"; ordi.selectable = false; addChild(ordi); myFormat.color = 0xFFFFFF; myFormat.size = 12; ordi.setTextFormat(myFormat); ordi.x =…

---

## [String Parse to Array Format](https://forum.kirupa.com/t/string-parse-to-array-format/283220)

<div class="topic-metadata">

**Author:** [@stickaforkinit](https://forum.kirupa.com/u/stickaforkinit)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 8:10pm UTC](https://forum.kirupa.com/t/string-parse-to-array-format/283220 "2009-03-03T20:10:58Z")

</div>

I am having trouble parsing a string to an array The string is as EXACTLY as follows: the\_string="\[\[5,6,2,0,0,0,0\],\[0,2,0,2,0,3,0\],\[0,0,0,0,0,0,0\],\[0,0,0,0,0,0,0\]\]"; I need it to go into an array like this level\[…

---

## [Trace works, but array not populating](https://forum.kirupa.com/t/trace-works-but-array-not-populating/283219)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 7:58pm UTC](https://forum.kirupa.com/t/trace-works-but-array-not-populating/283219 "2009-03-03T19:58:41Z")

</div>

K, I'm stumpered. I've got some xml that I want to use to populate the labels on an array of buttons that I'm putting in with attachMovie. the button(s) load (well, the first one does) and I've got a trace statement that…

---

## [Need help with timers](https://forum.kirupa.com/t/need-help-with-timers/283216)

<div class="topic-metadata">

**Author:** [@YouNoTakeCandle](https://forum.kirupa.com/u/YouNoTakeCandle)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 7:24pm UTC](https://forum.kirupa.com/t/need-help-with-timers/283216 "2009-03-03T19:24:46Z")

</div>

Hello everyone. This place is great, so I'm going to ask nicely if some of you guys can help me out with this. I have checked in some deep corners of the internet to find answers to this, I somehow got a bit of what I wa…

---

## [Loading an XML file and populating controls \*before\* application loads](https://forum.kirupa.com/t/loading-an-xml-file-and-populating-controls-before-application-loads/283213)

<div class="topic-metadata">

**Author:** [@moshecristel](https://forum.kirupa.com/u/moshecristel)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 6:35pm UTC](https://forum.kirupa.com/t/loading-an-xml-file-and-populating-controls-before-application-loads/283213 "2009-03-03T18:35:51Z")

</div>

I'm trying to create a flex application that preloads an XML file and populates some custom controls before displaying the page to the user. I'm trying to avoid having the controls resize as they populate while the user …

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

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