# programming

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

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

**Page:** 1213

---

## [Randomly Generate 3 unique numbers](https://forum.kirupa.com/t/randomly-generate-3-unique-numbers/262121)

<div class="topic-metadata">

**Author:** [@brostd](https://forum.kirupa.com/u/brostd)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 6:19pm UTC](https://forum.kirupa.com/t/randomly-generate-3-unique-numbers/262121 "2008-06-03T18:19:23Z")

</div>

I need to generate 3 unique numbers that will allow me to call from an array that has a list of FLVs with links, title and maybe a description. I know how to make random numbers but i need to know how to make sure that t…

---

## [XML Random Image Slideshow w/ Crossfades - URL Button problem](https://forum.kirupa.com/t/xml-random-image-slideshow-w-crossfades-url-button-problem/262003)

<div class="topic-metadata">

**Author:** [@futil](https://forum.kirupa.com/u/futil)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 5:52pm UTC](https://forum.kirupa.com/t/xml-random-image-slideshow-w-crossfades-url-button-problem/262003 "2008-06-03T17:52:45Z")

</div>

This is the great slideshow from Noponies and I wanted to add a url link by XML to the whole image. I'm pretty close by now but I just can't seem to link it to the xml. Please Help!

---

## [HTML tages (table) inside Flash](https://forum.kirupa.com/t/html-tages-table-inside-flash/262000)

<div class="topic-metadata">

**Author:** [@flashservices](https://forum.kirupa.com/u/flashservices)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 5:51pm UTC](https://forum.kirupa.com/t/html-tages-table-inside-flash/262000 "2008-06-03T17:51:21Z")

</div>

HI, I am trying to render HTML tags , but having no success. I wish to know if we could render Table inside flash from HTML. The content would all come from XML file. Hemant

---

## [\[AS 2\] Key Listener Not Working](https://forum.kirupa.com/t/as-2-key-listener-not-working/262137)

<div class="topic-metadata">

**Author:** [@WeHelpSchools](https://forum.kirupa.com/u/WeHelpSchools)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 5:49pm UTC](https://forum.kirupa.com/t/as-2-key-listener-not-working/262137 "2008-06-03T17:49:03Z")

</div>

I have this movie with a listener on the main time line included from an actionscript file. var myListenerKey:Object = new Object(); myListenerKey.onKeyDown = function() { trace = "hello" } This simple cod…

---

## [How to create a scrollbar?](https://forum.kirupa.com/t/how-to-create-a-scrollbar/262127)

<div class="topic-metadata">

**Author:** [@postman1](https://forum.kirupa.com/u/postman1)\
**Replies:** 5\
**Last updated:** [June 3, 2008, 5:48pm UTC](https://forum.kirupa.com/t/how-to-create-a-scrollbar/262127 "2008-06-03T17:48:28Z")

</div>

Hello I have a scroll bar which includes, in my MX 2004 library, movie clips such as 'thumb middle', 'Scroll track' and 'down arrow disabled'. Altogether there are more than 60 movie clips associated with the scroll ba…

---

## [Trouble refreshing message posts](https://forum.kirupa.com/t/trouble-refreshing-message-posts/260604)

<div class="topic-metadata">

**Author:** [@Buzzology](https://forum.kirupa.com/u/Buzzology)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 5:46pm UTC](https://forum.kirupa.com/t/trouble-refreshing-message-posts/260604 "2008-06-03T17:46:35Z")

</div>

Basically i've got a simple flash message board made using asp, access and flash. The problem i've encountered however is that once a comment has been submitted it can't be viewed until the page has been closed and then …

---

## [Changing Stacking Order - swapDepths](https://forum.kirupa.com/t/changing-stacking-order-swapdepths/262139)

<div class="topic-metadata">

**Author:** [@jameshague](https://forum.kirupa.com/u/jameshague)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 5:44pm UTC](https://forum.kirupa.com/t/changing-stacking-order-swapdepths/262139 "2008-06-03T17:44:17Z")

</div>

Hi, I've just completed this tutorial: http://www.kirupa.com/developer/actionscript/swapdepth.htm It's been really useful and I'm really nearly there. One thing is causing me a problem though. I've basically got a …

---

## [Loading images only once for a slideshow?](https://forum.kirupa.com/t/loading-images-only-once-for-a-slideshow/262061)

<div class="topic-metadata">

**Author:** [@ibsen](https://forum.kirupa.com/u/ibsen)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 5:24pm UTC](https://forum.kirupa.com/t/loading-images-only-once-for-a-slideshow/262061 "2008-06-03T17:24:09Z")

</div>

I'm building a slideshow using only ActionScript, but the computer running it will only have access to the files when the show is first started. So I need to somehow load all the images initially, and call on them from w…

---

## [removeMovieClip issues - can't figure out what's wrong](https://forum.kirupa.com/t/removemovieclip-issues-cant-figure-out-whats-wrong/262134)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 5:23pm UTC](https://forum.kirupa.com/t/removemovieclip-issues-cant-figure-out-whats-wrong/262134 "2008-06-03T17:23:22Z")

</div>

ok, this is bugging me... I can't figure out what I'm doing wrong. :crying: :drool: briefly: I've got a function wich is invoked onPress and loads content into an image gallery. no problem as for that: there's a loop…

---

## [Flash MX - send javascript variable to flash application](https://forum.kirupa.com/t/flash-mx-send-javascript-variable-to-flash-application/262112)

<div class="topic-metadata">

**Author:** [@Lacertine\_Fores](https://forum.kirupa.com/u/Lacertine_Fores)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 5:21pm UTC](https://forum.kirupa.com/t/flash-mx-send-javascript-variable-to-flash-application/262112 "2008-06-03T17:21:09Z")

</div>

I'm still pretty new to flash, and I haven't figured out the best (or any way) to accomplish this: Get a variable from one application and call a function of another flash application using this variable value as a par…

---

## [Dynamic shadow](https://forum.kirupa.com/t/dynamic-shadow/262105)

<div class="topic-metadata">

**Author:** [@maaartin](https://forum.kirupa.com/u/maaartin)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 4:48pm UTC](https://forum.kirupa.com/t/dynamic-shadow/262105 "2008-06-03T16:48:21Z")

</div>

Okay, so I keep bumping in to challenges with my litte game. On the scene there is now a movieclip that is now being rotated around. This movieclip is shaped like a rectangle. And at the bottom of the screen is a shado…

---

## [Design pattern question...is this the best way?](https://forum.kirupa.com/t/design-pattern-question-is-this-the-best-way/262040)

<div class="topic-metadata">

**Author:** [@slopps](https://forum.kirupa.com/u/slopps)\
**Replies:** 8\
**Last updated:** [June 3, 2008, 4:42pm UTC](https://forum.kirupa.com/t/design-pattern-question-is-this-the-best-way/262040 "2008-06-03T16:42:50Z")

</div>

I have multiple instances of a square class that will all be clickable to link to things when clicked. However, when the user changes to "editMode" in my application, all the squares should become draggable and temporar…

---

## [ComboBox Component Problem](https://forum.kirupa.com/t/combobox-component-problem/262109)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 11\
**Last updated:** [June 3, 2008, 4:11pm UTC](https://forum.kirupa.com/t/combobox-component-problem/262109 "2008-06-03T16:11:35Z")

</div>

I have a combo box on the stage in a main SWF...when the user selects an item in the dropdown list a child SWF is launched into level0 using loadMovieNum and data is left behind using \_global variables for the child SWF …

---

## [Exchanging data between swfs WEIRD](https://forum.kirupa.com/t/exchanging-data-between-swfs-weird/262129)

<div class="topic-metadata">

**Author:** [@dunger99us](https://forum.kirupa.com/u/dunger99us)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 4:08pm UTC](https://forum.kirupa.com/t/exchanging-data-between-swfs-weird/262129 "2008-06-03T16:08:16Z")

</div>

Ok, I have a main swf where I have 2 loader components: loader 1 is named "world" loader 2 is named "continent" loader 1 loads the main world map loader 2 will have to load correct continent when the appropriate sele…

---

## [FP9 with Swfobject 1.5](https://forum.kirupa.com/t/fp9-with-swfobject-1-5/261993)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 4:07pm UTC](https://forum.kirupa.com/t/fp9-with-swfobject-1-5/261993 "2008-06-03T16:07:34Z")

</div>

Is this known to be incompatible? I did some AS3 stuff over the weekend, copied in one of my SWFOb1.5 HTML pages, and nothing, changed the player number to 9 etc, it acts as if the movie is loaded but nothing happens, ju…

---

## ["outside stage content" of swf shown as transparent area in flipbook](https://forum.kirupa.com/t/outside-stage-content-of-swf-shown-as-transparent-area-in-flipbook/262125)

<div class="topic-metadata">

**Author:** [@jabirraju](https://forum.kirupa.com/u/jabirraju)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 3:27pm UTC](https://forum.kirupa.com/t/outside-stage-content-of-swf-shown-as-transparent-area-in-flipbook/262125 "2008-06-03T15:27:32Z")

</div>

Hi I have a flipbook on stage it loads external swf. The problem is that after loading the external swf's into the flipbook, it shows transparent area in lowerside and to the right. This transparent space is actually in …

---

## [\[help\] Flash xml check](https://forum.kirupa.com/t/help-flash-xml-check/261520)

<div class="topic-metadata">

**Author:** [@korpela2](https://forum.kirupa.com/u/korpela2)\
**Replies:** 15\
**Last updated:** [June 3, 2008, 2:52pm UTC](https://forum.kirupa.com/t/help-flash-xml-check/261520 "2008-06-03T14:52:42Z")

</div>

Hi all, I wonder is there a way to check through Flash if a XML file contains a certain piece of data. (like a password check) I know you would usually use a MySQL database for this, but I’m wondering is there a si…

---

## [Interactive Image Pan positioning](https://forum.kirupa.com/t/interactive-image-pan-positioning/211264)

<div class="topic-metadata">

**Author:** [@mizako](https://forum.kirupa.com/u/mizako)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 2:24pm UTC](https://forum.kirupa.com/t/interactive-image-pan-positioning/211264 "2008-06-03T14:24:10Z")

</div>

Hi. I'm quite new in ActionScript (but I know the basics). Well anyway, I have a small problem. I'm doing this fake panorama to my site and I've used this Interactive Image Panning code I found here at kirupa.com. Now I …

---

## [New in Flash cs3..AS 3 question](https://forum.kirupa.com/t/new-in-flash-cs3-as-3-question/262106)

<div class="topic-metadata">

**Author:** [@sharki](https://forum.kirupa.com/u/sharki)\
**Replies:** 3\
**Last updated:** [June 3, 2008, 2:18pm UTC](https://forum.kirupa.com/t/new-in-flash-cs3-as-3-question/262106 "2008-06-03T14:18:39Z")

</div>

which changes it has from the AS2? When I try to write action for button,the flash dosen't allow me that..why? tnx :\]

---

## [Adobe Connect SDK](https://forum.kirupa.com/t/adobe-connect-sdk/262110)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [June 3, 2008, 1:36pm UTC](https://forum.kirupa.com/t/adobe-connect-sdk/262110 "2008-06-03T13:36:22Z")

</div>

Hey gang, I just downloaded the Adobe Acrobat Connect SDK and I'm hella pissed that its built for Flash 8/Flash MX? Really? REALLY? I was wondering if anyone has worked with it and/or if they know about anything ab…

---

## [XML Menu (giving mc unique instance name)](https://forum.kirupa.com/t/xml-menu-giving-mc-unique-instance-name/262057)

<div class="topic-metadata">

**Author:** [@craig\_clayton](https://forum.kirupa.com/u/craig_clayton)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 1:27pm UTC](https://forum.kirupa.com/t/xml-menu-giving-mc-unique-instance-name/262057 "2008-06-03T13:27:07Z")

</div>

Ok so I found this tutorial for building an XML menu but what it fails to do explain how to give each nav an instance name so I can bring in content or whatever. Can anyone please tell me what I need to do so that I can…

---

## [Slicing Images not working in php site](https://forum.kirupa.com/t/slicing-images-not-working-in-php-site/262078)

<div class="topic-metadata">

**Author:** [@Kay1021](https://forum.kirupa.com/u/Kay1021)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 1:18pm UTC](https://forum.kirupa.com/t/slicing-images-not-working-in-php-site/262078 "2008-06-03T13:18:47Z")

</div>

I'm having trouble with some space between images. I used photoshop to slice my image and saved it for web by html and images. If I take that html and images and put it on my server it works fine...looks perfect. Now…

---

## [\*I can't locate the file(s) for this](https://forum.kirupa.com/t/i-cant-locate-the-file-s-for-this/262104)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 1\
**Last updated:** [June 3, 2008, 1:09pm UTC](https://forum.kirupa.com/t/i-cant-locate-the-file-s-for-this/262104 "2008-06-03T13:09:15Z")

</div>

Hello, I have been trying to locate the "IMAGE TITLE #1, --16 in this template. Can someone help me here? I've located extensively through it and can't find it. \[URL="http://www.angelfire.com/in/HansonArtGallery/main5.zi…

---

## [Click a display object to remove it](https://forum.kirupa.com/t/click-a-display-object-to-remove-it/261867)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 1:00pm UTC](https://forum.kirupa.com/t/click-a-display-object-to-remove-it/261867 "2008-06-03T13:00:51Z")

</div>

Hey all, I would like to add some sort of event listener to an object upon its addition to the display list, such that clicking on the object removes it. How do I do that? It would look something like this, although …

---

## [Reading Variables From SWFOBJECT and display xml content](https://forum.kirupa.com/t/reading-variables-from-swfobject-and-display-xml-content/261834)

<div class="topic-metadata">

**Author:** [@mediaman12](https://forum.kirupa.com/u/mediaman12)\
**Replies:** 9\
**Last updated:** [June 3, 2008, 12:38pm UTC](https://forum.kirupa.com/t/reading-variables-from-swfobject-and-display-xml-content/261834 "2008-06-03T12:38:19Z")

</div>

I want to pass the state and city variable to the swf file from the swfobject and then display the content of the variable from the xml file. SWFOBJECT \<script type="text/javascript"\> YUE.onDOMReady(function() {var so …

---

## [Disappearing AS generated movieclips and textfields](https://forum.kirupa.com/t/disappearing-as-generated-movieclips-and-textfields/262052)

<div class="topic-metadata">

**Author:** [@mvatki](https://forum.kirupa.com/u/mvatki)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 12:31pm UTC](https://forum.kirupa.com/t/disappearing-as-generated-movieclips-and-textfields/262052 "2008-06-03T12:31:04Z")

</div>

This issue seems rather bizarre to me but I suspect that what I am missing is something obvious. The visual output that I would expect from the code below is a diagonal string of ten number signs each followed by its own…

---

## [How to load external image with transition effect?](https://forum.kirupa.com/t/how-to-load-external-image-with-transition-effect/261651)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 6\
**Last updated:** [June 3, 2008, 12:28pm UTC](https://forum.kirupa.com/t/how-to-load-external-image-with-transition-effect/261651 "2008-06-03T12:28:36Z")

</div>

Hi, How can I do some transition effect while loading the external image. The following code is not working. The “picture.png” only waits 3 seconds and appear without any transition effect. import fl.transitions.; …

---

## [How to Youtube?](https://forum.kirupa.com/t/how-to-youtube/262082)

<div class="topic-metadata">

**Author:** [@sportier](https://forum.kirupa.com/u/sportier)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 12:03pm UTC](https://forum.kirupa.com/t/how-to-youtube/262082 "2008-06-03T12:03:09Z")

</div>

Anyone know how to do the animation "video being watched right now" in youtube or where to find a script?

---

## [Pushing a movieclip around / collision detection ++](https://forum.kirupa.com/t/pushing-a-movieclip-around-collision-detection/261887)

<div class="topic-metadata">

**Author:** [@maaartin](https://forum.kirupa.com/u/maaartin)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 11:19am UTC](https://forum.kirupa.com/t/pushing-a-movieclip-around-collision-detection/261887 "2008-06-03T11:19:53Z")

</div>

Hi, So, I'm working on a banner which will be using a lot of techniques usually used in games, such as collision detection and user interaction to change the direction and of a movieclip. I have a movieclip on the sc…

---

## [Constant rotation of an object](https://forum.kirupa.com/t/constant-rotation-of-an-object/262086)

<div class="topic-metadata">

**Author:** [@maaartin](https://forum.kirupa.com/u/maaartin)\
**Replies:** 4\
**Last updated:** [June 3, 2008, 11:18am UTC](https://forum.kirupa.com/t/constant-rotation-of-an-object/262086 "2008-06-03T11:18:34Z")

</div>

I'm trying to get a movieclip to constantly rotate either left or right. At first I set this.\_rotation=-1 Then I was thinking of using \[COLOR=Blue\] if (this.\_rotation==1) { this.\_rotation = -1;…

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

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