# programming

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

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

**Page:** 689

---

## [AS3 Dynamic photo galleries Help](https://forum.kirupa.com/t/as3-dynamic-photo-galleries-help/296679)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 4:44am UTC](https://forum.kirupa.com/t/as3-dynamic-photo-galleries-help/296679 "2009-09-18T04:44:34Z")

</div>

I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. Right now the images are listed in an array. how would I make it so that different arrays could be loaded for different imag…

---

## [AS3 Help! Loading / Progress Bar](https://forum.kirupa.com/t/as3-help-loading-progress-bar/296678)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 4:39am UTC](https://forum.kirupa.com/t/as3-help-loading-progress-bar/296678 "2009-09-18T04:39:07Z")

</div>

I've created a photo gallery that dynamically loads images into a movieclip entitled 'gallery'. How do would I make it so that while the images are being loaded there would be a progress bar that would appear? stop();…

---

## [AS3 Photo Gallery Progress](https://forum.kirupa.com/t/as3-photo-gallery-progress/296677)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 4:34am UTC](https://forum.kirupa.com/t/as3-photo-gallery-progress/296677 "2009-09-18T04:34:25Z")

</div>

stop(); import gs.\*; import fl.transitions.\*; import fl.transitions.Tween; import fl.transitions.easing.\*; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; stage.align=Sta…

---

## [How to pass a string var to function in a for loop](https://forum.kirupa.com/t/how-to-pass-a-string-var-to-function-in-a-for-loop/296675)

<div class="topic-metadata">

**Author:** [@ziggaloop](https://forum.kirupa.com/u/ziggaloop)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 2:11am UTC](https://forum.kirupa.com/t/how-to-pass-a-string-var-to-function-in-a-for-loop/296675 "2009-09-18T02:11:48Z")

</div>

the XML file: \<?xml version="1.0" encoding="utf-8"?\> \<XML\> \<myXMLList\> &lt;ListItem&gt; &lt;itemImage&gt;img/francois.jpg&lt;/itemImage&gt; &lt;itemUrl&gt;http://www.consulting.xerox.com/Track/thoughtleaders+…

---

## [MovieClip Facing Mouse Issue](https://forum.kirupa.com/t/movieclip-facing-mouse-issue/296673)

<div class="topic-metadata">

**Author:** [@Foodstuff](https://forum.kirupa.com/u/Foodstuff)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 1:28am UTC](https://forum.kirupa.com/t/movieclip-facing-mouse-issue/296673 "2009-09-18T01:28:26Z")

</div>

I'm making a top down shooter and I'm encountering some interesting code lag with the function I'm using to make the player face the mouse. //The function is called through a ENTER\_FRAME listener. //mX & mY are the cu…

---

## [Thumbnail Size and Order](https://forum.kirupa.com/t/thumbnail-size-and-order/296672)

<div class="topic-metadata">

**Author:** [@meln](https://forum.kirupa.com/u/meln)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 1:15am UTC](https://forum.kirupa.com/t/thumbnail-size-and-order/296672 "2009-09-18T01:15:54Z")

</div>

Hi, I use kirupa's xml gallery with thumbnails. I'm trying to do something but couldn't manage yet. What i am trying to do is different widths for thumbnails. I managed to do thumbnails with different widths(same hei…

---

## [Preloader question - movie already half over!](https://forum.kirupa.com/t/preloader-question-movie-already-half-over/296671)

<div class="topic-metadata">

**Author:** [@tdq](https://forum.kirupa.com/u/tdq)\
**Replies:** 0\
**Last updated:** [September 18, 2009, 1:12am UTC](https://forum.kirupa.com/t/preloader-question-movie-already-half-over/296671 "2009-09-18T01:12:05Z")

</div>

I have a preloader which loads an external swf (an animation I created in flash) This works fine, except that when the movie plays, it's already halfway through. Here's the code.. var myContent:URLRequest = new URLRequ…

---

## [How to add a child to a particular scene's stage?](https://forum.kirupa.com/t/how-to-add-a-child-to-a-particular-scenes-stage/296669)

<div class="topic-metadata">

**Author:** [@darren884](https://forum.kirupa.com/u/darren884)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 11:45pm UTC](https://forum.kirupa.com/t/how-to-add-a-child-to-a-particular-scenes-stage/296669 "2009-09-17T23:45:40Z")

</div>

I have to scenes, dashboard and game. I want to add a child just to game's stage. Can someone tell me the syntax for this?

---

## [F8 - Can't access external loaded clip](https://forum.kirupa.com/t/f8-cant-access-external-loaded-clip/296665)

<div class="topic-metadata">

**Author:** [@kumba](https://forum.kirupa.com/u/kumba)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 9:38pm UTC](https://forum.kirupa.com/t/f8-cant-access-external-loaded-clip/296665 "2009-09-17T21:38:05Z")

</div>

No matter what I try to access this swf...\_root, \_parent, \_level0, etc...I can't get to it. I did a targetPath and it returned "level0"...so I'm not sure what I'm missing. Any ideas? var player1holder:MovieClip = \_r…

---

## [Need help with this shopping cart code please](https://forum.kirupa.com/t/need-help-with-this-shopping-cart-code-please/296663)

<div class="topic-metadata">

**Author:** [@md\_\_](https://forum.kirupa.com/u/md__)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 9:19pm UTC](https://forum.kirupa.com/t/need-help-with-this-shopping-cart-code-please/296663 "2009-09-17T21:19:05Z")

</div>

when i try and view the output of my code in the fla file i get an error does anyone know why This my as file class com.ahfx.Product { //Instance Variables private var price:Number; private var desc:String; …

---

## [To load Movieclip from the library](https://forum.kirupa.com/t/to-load-movieclip-from-the-library/296659)

<div class="topic-metadata">

**Author:** [@dmind](https://forum.kirupa.com/u/dmind)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 8:27pm UTC](https://forum.kirupa.com/t/to-load-movieclip-from-the-library/296659 "2009-09-17T20:27:55Z")

</div>

Hello guys, I just want to ask if is it possible to load a movieclip from the library using the Loader class together with the URLRequest and then use gotoAndPlay method? Do i need to use the String? If so, can y…

---

## [Stage scaling](https://forum.kirupa.com/t/stage-scaling/296658)

<div class="topic-metadata">

**Author:** [@jackOD](https://forum.kirupa.com/u/jackOD)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 8:21pm UTC](https://forum.kirupa.com/t/stage-scaling/296658 "2009-09-17T20:21:10Z")

</div>

hello, i am trying to centre my flash site i have used the following code: \[COLOR=#000000\]\[COLOR=#0000BB\]stage\[/COLOR\]\[COLOR=#007700\].\[/COLOR\]\[COLOR=#0000BB\]scaleMode \[/COLOR\]\[COLOR=#007700\]= \[/COLOR\]\[COLOR=#0000BB\]Sta…

---

## [Tweenlight z axis](https://forum.kirupa.com/t/tweenlight-z-axis/296656)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 8:06pm UTC](https://forum.kirupa.com/t/tweenlight-z-axis/296656 "2009-09-17T20:06:07Z")

</div>

I just upgraded to CS4. I'm now trying to figure out how the z axis works. I have a little project in which I have multiple different colored squares that, when rolled over scale up with tweenlite. However as it is ri…

---

## [Attaching a CSS stylesheet to an XML file in Flash](https://forum.kirupa.com/t/attaching-a-css-stylesheet-to-an-xml-file-in-flash/296654)

<div class="topic-metadata">

**Author:** [@prone](https://forum.kirupa.com/u/prone)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 7:55pm UTC](https://forum.kirupa.com/t/attaching-a-css-stylesheet-to-an-xml-file-in-flash/296654 "2009-09-17T19:55:37Z")

</div>

Hello! I was wondering if this can be done? I want to format my content that's in an XML file, being loaded to a dynamic text box using AS3? I've been trying to do this and find any information on the this task. Whe…

---

## [F4V video will does autoplay but won't show with autoplay "false"](https://forum.kirupa.com/t/f4v-video-will-does-autoplay-but-wont-show-with-autoplay-false/296652)

<div class="topic-metadata">

**Author:** [@init4fun](https://forum.kirupa.com/u/init4fun)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 7:46pm UTC](https://forum.kirupa.com/t/f4v-video-will-does-autoplay-but-wont-show-with-autoplay-false/296652 "2009-09-17T19:46:49Z")

</div>

I've developed a form application using screens for a portfolio. On one screen, is a multimedia (video) piece that appears on "stage" once visitors click the "multimedia" text button. The screen appears fine and the vi…

---

## [How to make an object of a class?](https://forum.kirupa.com/t/how-to-make-an-object-of-a-class/296651)

<div class="topic-metadata">

**Author:** [@luwin](https://forum.kirupa.com/u/luwin)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 7:07pm UTC](https://forum.kirupa.com/t/how-to-make-an-object-of-a-class/296651 "2009-09-17T19:07:04Z")

</div>

Hi all! I am still quite new to AS3, but trying to learn the essentials. What I have trouble with is this: I have a box on the stage (or frame 1 in timeline). Inside this box I made a dynamic textfield. I made a m…

---

## [FLV video skin SeekBarHandle doesn't move during playback (as2)](https://forum.kirupa.com/t/flv-video-skin-seekbarhandle-doesnt-move-during-playback-as2/296650)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 6:59pm UTC](https://forum.kirupa.com/t/flv-video-skin-seekbarhandle-doesnt-move-during-playback-as2/296650 "2009-09-17T18:59:17Z")

</div>

Hi, I'm using Flash CS3 Actionscript2 I'm using the FLVPlayback component and using SteelExternalAll as my skin. I noticed that the SeekBarHandle does not move while the video is playing. I can drag the handle to …

---

## [FLV video skin SeekBarHandle doesn't move during playback](https://forum.kirupa.com/t/flv-video-skin-seekbarhandle-doesnt-move-during-playback/296649)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 6:58pm UTC](https://forum.kirupa.com/t/flv-video-skin-seekbarhandle-doesnt-move-during-playback/296649 "2009-09-17T18:58:44Z")

</div>

Hi, I'm using Flash CS3 Actionscript2 I'm using the FLVPlayback component and using SteelExternalAll as my skin. I noticed that the SeekBarHandle does not move while the video is playing. I can drag the handle to …

---

## [Help - scrollbar on dynamic text from external txt file?](https://forum.kirupa.com/t/help-scrollbar-on-dynamic-text-from-external-txt-file/296648)

<div class="topic-metadata">

**Author:** [@codetalker](https://forum.kirupa.com/u/codetalker)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 6:44pm UTC](https://forum.kirupa.com/t/help-scrollbar-on-dynamic-text-from-external-txt-file/296648 "2009-09-17T18:44:11Z")

</div>

I have a dynamic text box with text imported from an external .txt file and I'm trying to add a scrollbar using the scrollbar component. The scrollbar works fine if I simply paste the text into the box, but does not work…

---

## [Adding 3rdd layer of script to stage](https://forum.kirupa.com/t/adding-3rdd-layer-of-script-to-stage/296646)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 6:29pm UTC](https://forum.kirupa.com/t/adding-3rdd-layer-of-script-to-stage/296646 "2009-09-17T18:29:23Z")

</div>

I don't really know how to explain well here. Basically I have 3 as files. Let's call it A, B & C A is the menu files B is the files that gets the data from A, and tell C and others what to do C is the data After I'v…

---

## [How to open a directory browser?](https://forum.kirupa.com/t/how-to-open-a-directory-browser/296644)

<div class="topic-metadata">

**Author:** [@lorenz82](https://forum.kirupa.com/u/lorenz82)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 5:24pm UTC](https://forum.kirupa.com/t/how-to-open-a-directory-browser/296644 "2009-09-17T17:24:34Z")

</div>

Is it possible with Flash AS3 to load an image that the user can select from theire harddisk with a directory browser?

---

## [Getting Images from ScrollPane to UI Loader](https://forum.kirupa.com/t/getting-images-from-scrollpane-to-ui-loader/296643)

<div class="topic-metadata">

**Author:** [@Rosey500](https://forum.kirupa.com/u/Rosey500)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 4:07pm UTC](https://forum.kirupa.com/t/getting-images-from-scrollpane-to-ui-loader/296643 "2009-09-17T16:07:53Z")

</div>

Hello all, I have a ScrollPane instance on the stage, which is made up of six images stacked vertically, and combined into a movieClip called thumbs1\_mc. This movieClip is exported to Actionscript in the library, (cl…

---

## [Bones: Change the color of an IK Shape](https://forum.kirupa.com/t/bones-change-the-color-of-an-ik-shape/296639)

<div class="topic-metadata">

**Author:** [@nfh](https://forum.kirupa.com/u/nfh)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 3:34pm UTC](https://forum.kirupa.com/t/bones-change-the-color-of-an-ik-shape/296639 "2009-09-17T15:34:59Z")

</div>

Hi, I have an animation created with the Bones tool. I'm using a bone system to deform a shape. In the meantime I decided that the color of the IK shape should be other than the current one. Nonetheless I can't fin…

---

## [Load folder images as movieclips?](https://forum.kirupa.com/t/load-folder-images-as-movieclips/296637)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 3:30pm UTC](https://forum.kirupa.com/t/load-folder-images-as-movieclips/296637 "2009-09-17T15:30:16Z")

</div>

If I have a folder with a random number of images in it, how could I add each image to its own movieClip?

---

## [Preloader loaderInfo variables](https://forum.kirupa.com/t/preloader-loaderinfo-variables/296636)

<div class="topic-metadata">

**Author:** [@benkyma](https://forum.kirupa.com/u/benkyma)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 3:19pm UTC](https://forum.kirupa.com/t/preloader-loaderinfo-variables/296636 "2009-09-17T15:19:01Z")

</div>

How can I pass loaderInfo parameters from a preloader to the child .swf that it loads in and adds to the stage? I'm grabbing variables from a Facebook page loader for my app, but now I want to put in a preloader, so I …

---

## [Image with transparency image](https://forum.kirupa.com/t/image-with-transparency-image/296634)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 2:51pm UTC](https://forum.kirupa.com/t/image-with-transparency-image/296634 "2009-09-17T14:51:14Z")

</div>

Hi Tried to make the rollover effect seen at this site: www.theverve.co.uk wheren the mouse over makes a play image to appear in front of the thumb. Tried to make this but didn´t worked out the solution. Does anybody…

---

## [CS4 file saving](https://forum.kirupa.com/t/cs4-file-saving/296633)

<div class="topic-metadata">

**Author:** [@kdteacher](https://forum.kirupa.com/u/kdteacher)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 2:44pm UTC](https://forum.kirupa.com/t/cs4-file-saving/296633 "2009-09-17T14:44:54Z")

</div>

I am a high school web design teacher and quite the novice with CS4 (I felt very comfortable with Macromedia 8). I have students whose flash file works until it is saved. For instance, they create a untitled.fla file,…

---

## [Graphics.lineTo with custom Style](https://forum.kirupa.com/t/graphics-lineto-with-custom-style/296631)

<div class="topic-metadata">

**Author:** [@this](https://forum.kirupa.com/u/this)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 1:55pm UTC](https://forum.kirupa.com/t/graphics-lineto-with-custom-style/296631 "2009-09-17T13:55:09Z")

</div>

Hi guys, using pencil tool inside flash i can create stippled line style, well, im using graphics.lineTo(mouseX, mouseY) to create a drawing API but i need use some in this line a style like stippled stroke, or if is pos…

---

## [Help with recreation](https://forum.kirupa.com/t/help-with-recreation/296630)

<div class="topic-metadata">

**Author:** [@tenspeedtodd](https://forum.kirupa.com/u/tenspeedtodd)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 1:45pm UTC](https://forum.kirupa.com/t/help-with-recreation/296630 "2009-09-17T13:45:07Z")

</div>

I have been playing a flash game called Drunken Master ( http://armorgames.com/play/983/drunken-masters ) and I want to be able to recreate the pouring action from it. I want to be able to have a bottle that rotates with…

---

## [Make a grid from images?](https://forum.kirupa.com/t/make-a-grid-from-images/296629)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [September 17, 2009, 1:43pm UTC](https://forum.kirupa.com/t/make-a-grid-from-images/296629 "2009-09-17T13:43:53Z")

</div>

I'm having trouble getting my mind around this. I need to take images randomly from a folder, and add them to the stage arranged in a grid. I know how to get the images from the folder onto the stage, but how would I wri…

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

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