# programming

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

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

**Page:** 1067

---

## [Random photo gallery - error opening URL](https://forum.kirupa.com/t/random-photo-gallery-error-opening-url/271663)

<div class="topic-metadata">

**Author:** [@Reean917](https://forum.kirupa.com/u/Reean917)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 3:02am UTC](https://forum.kirupa.com/t/random-photo-gallery-error-opening-url/271663 "2008-09-26T03:02:32Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]I know this topic has been beat to death. I can tell by all the searching I've done thus far. I apologize in advance. I've created a gallery that works almost the way I want it to. I compiled a…

---

## [Tween and Garbage Collection problem](https://forum.kirupa.com/t/tween-and-garbage-collection-problem/271662)

<div class="topic-metadata">

**Author:** [@elliottg](https://forum.kirupa.com/u/elliottg)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 2:47am UTC](https://forum.kirupa.com/t/tween-and-garbage-collection-problem/271662 "2008-09-26T02:47:56Z")

</div>

No matter what I do I cannot solve a tween AS3 Garbage Collection problem I am having that is wreaking havoc on my tween instances working correctly/consistently. Some Sprites never tween at all, some do but only part wa…

---

## [Action Script Help!](https://forum.kirupa.com/t/action-script-help/271658)

<div class="topic-metadata">

**Author:** [@rajpar3](https://forum.kirupa.com/u/rajpar3)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 12:33am UTC](https://forum.kirupa.com/t/action-script-help/271658 "2008-09-26T00:33:34Z")

</div>

Hi All, I have 2 files- Main.swf and web.swf. Web.swf contains thumbnails, which when clicked will load movieclips that contain images. Loading is done on the fly based on the thumbnail clicked. Each movie clip is be…

---

## [\[tween class\] Creating multiple tweens and assign variable names](https://forum.kirupa.com/t/tween-class-creating-multiple-tweens-and-assign-variable-names/271656)

<div class="topic-metadata">

**Author:** [@hugot](https://forum.kirupa.com/u/hugot)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 12:19am UTC](https://forum.kirupa.com/t/tween-class-creating-multiple-tweens-and-assign-variable-names/271656 "2008-09-26T00:19:52Z")

</div>

Hi there: I'm trying to create various tween for various movies, comething like this: import mx.transitions.Tween; import mx.transitions.easing.\*; function fade\_anim(mc, max, min, tempo) { var bot\_alpha:Tween = n…

---

## [Unloading .swfs ! need help!](https://forum.kirupa.com/t/unloading-swfs-need-help/271655)

<div class="topic-metadata">

**Author:** [@spooks222](https://forum.kirupa.com/u/spooks222)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 12:19am UTC](https://forum.kirupa.com/t/unloading-swfs-need-help/271655 "2008-09-26T00:19:31Z")

</div>

I can't figure this out, I think i'm trying to remove the child to early. anyways, heres my code without any attempt to remove the child. thank you very much stop(); about.buttonMode = true; contact.buttonMode = true…

---

## [Client updating text only](https://forum.kirupa.com/t/client-updating-text-only/271654)

<div class="topic-metadata">

**Author:** [@lrom2008](https://forum.kirupa.com/u/lrom2008)\
**Replies:** 0\
**Last updated:** [September 26, 2008, 12:04am UTC](https://forum.kirupa.com/t/client-updating-text-only/271654 "2008-09-26T00:04:28Z")

</div>

How can the client update the text on the website without having the .fla files? Please note that the client has no knowledge of flash and just wants to update once in a while text information. One more question, how wa…

---

## [FLA suddenly CRASHES FLASH 8](https://forum.kirupa.com/t/fla-suddenly-crashes-flash-8/271653)

<div class="topic-metadata">

**Author:** [@justinflux](https://forum.kirupa.com/u/justinflux)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 11:40pm UTC](https://forum.kirupa.com/t/fla-suddenly-crashes-flash-8/271653 "2008-09-25T23:40:25Z")

</div>

Hi there I have a FLA that is suddenly crashing FLASH 8 Can i email it to someone to open in Flash CS3 or Flash 8 and resave for me (if possible???) That would be so great Cheers Justin

---

## [preg\_replace regex help, questions and issues](https://forum.kirupa.com/t/preg-replace-regex-help-questions-and-issues/271652)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 11:36pm UTC](https://forum.kirupa.com/t/preg-replace-regex-help-questions-and-issues/271652 "2008-09-25T23:36:59Z")

</div>

Hi all Hope your all well. I was hope someone could give me a hand with this question. I'll explain what i need to do first. I have a string that contains copy that will be displayed on a web page. Now this copy co…

---

## [Can I do a typeof find a custom class?](https://forum.kirupa.com/t/can-i-do-a-typeof-find-a-custom-class/271648)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 8:19pm UTC](https://forum.kirupa.com/t/can-i-do-a-typeof-find-a-custom-class/271648 "2008-09-25T20:19:04Z")

</div>

I want to trace through all the items on the stage and find every instance of MyCustomClip instances. Can I do that? if(typeof(clip.getChildAt(i)) == "MyCustomClip"){ do something}

---

## [PLEASE HELP with "taking pictures" in game!](https://forum.kirupa.com/t/please-help-with-taking-pictures-in-game/271645)

<div class="topic-metadata">

**Author:** [@coldementia](https://forum.kirupa.com/u/coldementia)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 7:35pm UTC](https://forum.kirupa.com/t/please-help-with-taking-pictures-in-game/271645 "2008-09-25T19:35:41Z")

</div>

Hi everyone. I recently had an idea to add a "picture taking" feature to my game. I want to have an option for the player to click a camera icon, and it goes into "picture taking" mode, and when they hit a "snapshot" or …

---

## [As3 Xml Gallery](https://forum.kirupa.com/t/as3-xml-gallery/271643)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 6:44pm UTC](https://forum.kirupa.com/t/as3-xml-gallery/271643 "2008-09-25T18:44:57Z")

</div>

Hi, I need help, i certainly spent too long on this one, now smoke is coming out of my ears and my poor restricted brain needs a break. I'm trying -hard- to do a xml as3 gallery. I'm stuck on very basic things, my ques…

---

## [Dispatching Custom Events](https://forum.kirupa.com/t/dispatching-custom-events/271642)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 6:41pm UTC](https://forum.kirupa.com/t/dispatching-custom-events/271642 "2008-09-25T18:41:11Z")

</div>

Hello I want to dispatch a custom event and also a string value which can be used by the listener function. I dont know for some reason I have been getting this error. "1138: Required parameters are not permitted …

---

## [Controlling items in Panel A from Panel B \[Flex3/AS3\]](https://forum.kirupa.com/t/controlling-items-in-panel-a-from-panel-b-flex3-as3/271641)

<div class="topic-metadata">

**Author:** [@BlackShadow](https://forum.kirupa.com/u/BlackShadow)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 6:23pm UTC](https://forum.kirupa.com/t/controlling-items-in-panel-a-from-panel-b-flex3-as3/271641 "2008-09-25T18:23:11Z")

</div>

Hi all, Currently I am working on a project that seems a bit daunting to someone that's quite new to Flex 3 and the Flex Builder 3. I'm trying to create a Build Your Jacket app that will allow the user to create a "Let…

---

## [Process help](https://forum.kirupa.com/t/process-help/271640)

<div class="topic-metadata">

**Author:** [@JAAO](https://forum.kirupa.com/u/JAAO)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 6:12pm UTC](https://forum.kirupa.com/t/process-help/271640 "2008-09-25T18:12:21Z")

</div>

Hey all, hope someone can help me out a little. since i'm the only one in my office who knows the basics of Flash I have been givien this project and i'm not quite sure how to approch it. Here it goes: I have to do a b…

---

## [Text Field Capturing Mouse Events](https://forum.kirupa.com/t/text-field-capturing-mouse-events/271634)

<div class="topic-metadata">

**Author:** [@webmaster4u](https://forum.kirupa.com/u/webmaster4u)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 5:15pm UTC](https://forum.kirupa.com/t/text-field-capturing-mouse-events/271634 "2008-09-25T17:15:29Z")

</div>

I have a text field that needs to capture mouse events. What I want to do is be able to know when a user clicks on the text box to edit the text. The text box is created dynamically, and right now I have the event hand…

---

## [.swf opening up .swf and its document class!](https://forum.kirupa.com/t/swf-opening-up-swf-and-its-document-class/271631)

<div class="topic-metadata">

**Author:** [@spooks222](https://forum.kirupa.com/u/spooks222)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 4:19pm UTC](https://forum.kirupa.com/t/swf-opening-up-swf-and-its-document-class/271631 "2008-09-25T16:19:13Z")

</div>

I have one problem left! which i can't seem to find the answer for. I have a main.swf that should open up portfolio.swf and contact.swf. Portfolio.swf opens up fine(as it does not have an .as attached to its document…

---

## [Moving on from MX 2004 and MovieClips](https://forum.kirupa.com/t/moving-on-from-mx-2004-and-movieclips/271630)

<div class="topic-metadata">

**Author:** [@DangerousDan](https://forum.kirupa.com/u/DangerousDan)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 3:46pm UTC](https://forum.kirupa.com/t/moving-on-from-mx-2004-and-movieclips/271630 "2008-09-25T15:46:34Z")

</div>

As the title suggests I'm ready to move on to bitmap drawing methods and flash 8, does anyone have some good resources for me to use while I try to make this transition?

---

## [Video Gallery Carousel](https://forum.kirupa.com/t/video-gallery-carousel/271629)

<div class="topic-metadata">

**Author:** [@xstevenx](https://forum.kirupa.com/u/xstevenx)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 3:42pm UTC](https://forum.kirupa.com/t/video-gallery-carousel/271629 "2008-09-25T15:42:58Z")

</div>

I'm working on a project that's already been completed, not by me, except now another operation has to be added. Basically there is carousel that has thumbnails and when you click a thumbnail an external video loads and …

---

## [Help with Lagging Frames](https://forum.kirupa.com/t/help-with-lagging-frames/271627)

<div class="topic-metadata">

**Author:** [@jemma\_jemma](https://forum.kirupa.com/u/jemma_jemma)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 3:19pm UTC](https://forum.kirupa.com/t/help-with-lagging-frames/271627 "2008-09-25T15:19:19Z")

</div>

Hi, First I want to start off with Thanking everyone who helps out. It means a lot to me!! Second, here is my issue. I am creating a training course in flash. I have 9 different .fla files ( the reason for this is …

---

## [Projectile physics question](https://forum.kirupa.com/t/projectile-physics-question/271626)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 3:04pm UTC](https://forum.kirupa.com/t/projectile-physics-question/271626 "2008-09-25T15:04:27Z")

</div>

I've created a very simple ballistics game, where a projectile can be thrown with varying force along a scrolling background - very much along the lines of a 'penguin throwing' game. So far so good... but at the moment t…

---

## [Firstborn cables](https://forum.kirupa.com/t/firstborn-cables/271624)

<div class="topic-metadata">

**Author:** [@pacificdigital](https://forum.kirupa.com/u/pacificdigital)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 2:35pm UTC](https://forum.kirupa.com/t/firstborn-cables/271624 "2008-09-25T14:35:20Z")

</div>

Respected Gurus, I came across this latest version of FirstBorn Multimedia website http://www.firstbornmultimedia.com/ and am keen since then to know how does this strechable elastic-like navigation. I will be gratef…

---

## [Difference bw array.length() & array.length](https://forum.kirupa.com/t/difference-bw-array-length-array-length/271623)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 2:05pm UTC](https://forum.kirupa.com/t/difference-bw-array-length-array-length/271623 "2008-09-25T14:05:58Z")

</div>

Hello I have a question about AS3 array length method. sometimes if you use array.length() it gives error while other times it works fine and same is the case with array.length can anyone explain the difference please? …

---

## [Baloons going up de screen with mouse interactivity](https://forum.kirupa.com/t/baloons-going-up-de-screen-with-mouse-interactivity/271622)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 2:04pm UTC](https://forum.kirupa.com/t/baloons-going-up-de-screen-with-mouse-interactivity/271622 "2008-09-25T14:04:59Z")

</div>

Hi I'm trying to do the following: Make several baloons, with random collors and sizes, to go up the screen, from the bottom to the top. If the mouse cursor colides with one the this baloons, the baloon have to int…

---

## [AI in racing game](https://forum.kirupa.com/t/ai-in-racing-game/271617)

<div class="topic-metadata">

**Author:** [@jahanpanah](https://forum.kirupa.com/u/jahanpanah)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 12:29pm UTC](https://forum.kirupa.com/t/ai-in-racing-game/271617 "2008-09-25T12:29:30Z")

</div>

hello........ i'm devloping a game in which the enemy car need to chase player's car....... so i need to use some AI for enemy car......... can u plz give me some idea tht how can i do tht???? it's somewht urgent…

---

## [Solution to removing extras comma from array](https://forum.kirupa.com/t/solution-to-removing-extras-comma-from-array/271615)

<div class="topic-metadata">

**Author:** [@vijay7002](https://forum.kirupa.com/u/vijay7002)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 12:09pm UTC](https://forum.kirupa.com/t/solution-to-removing-extras-comma-from-array/271615 "2008-09-25T12:09:35Z")

</div>

Enjoy:bu: var arr:Array = \[\]; var id:Array = \[\]; arr\[0\] = "0df"; arr\[1\] = "1df"; arr\[2\] = "2"; arr\[3\] = ""; arr\[4\] = ""; arr\[5\] = "vijay"; arr\[6\] = ""; arr\[7\] = "nete"; //arr\[8\] = "nete1"; //arr\[9\] = "doneit"; arr\[10\] = …

---

## [How do i save my .FLA or the .SWF to .FLV](https://forum.kirupa.com/t/how-do-i-save-my-fla-or-the-swf-to-flv/271613)

<div class="topic-metadata">

**Author:** [@paul1976](https://forum.kirupa.com/u/paul1976)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-do-i-save-my-fla-or-the-swf-to-flv/271613 "2008-09-25T12:01:52Z")

</div>

I have created a 3 mintue movie in FLASH and exported it as a .SWF. What I want to do next is import it as a video in order to use the Video Player controls Flash has to offer. Export Movie doesnt give choice to expo…

---

## [When are custom component parameters enumerated?](https://forum.kirupa.com/t/when-are-custom-component-parameters-enumerated/271611)

<div class="topic-metadata">

**Author:** [@Matt5](https://forum.kirupa.com/u/Matt5)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 11:40am UTC](https://forum.kirupa.com/t/when-are-custom-component-parameters-enumerated/271611 "2008-09-25T11:40:11Z")

</div>

Hi, I have been doing some tracing around some components I have created and I have found that the \[Inspectable\] parameters are not read until some time after the constructor has been processed. That is I have traced…

---

## [Flash to start playing when div is made visible in javascript](https://forum.kirupa.com/t/flash-to-start-playing-when-div-is-made-visible-in-javascript/271609)

<div class="topic-metadata">

**Author:** [@onion](https://forum.kirupa.com/u/onion)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 11:00am UTC](https://forum.kirupa.com/t/flash-to-start-playing-when-div-is-made-visible-in-javascript/271609 "2008-09-25T11:00:16Z")

</div>

I have some javascript on some text links that displays a new flash banner when I rollover the link. Thisbasically just hides/shows one of several flash animations on the page. When I first go to the page and rolloever a…

---

## [Passing Vars for Flash Player 6 to Flash Player 8](https://forum.kirupa.com/t/passing-vars-for-flash-player-6-to-flash-player-8/271608)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 10:39am UTC](https://forum.kirupa.com/t/passing-vars-for-flash-player-6-to-flash-player-8/271608 "2008-09-25T10:39:45Z")

</div>

Hello, I am using a movie published for Flash Player 6 (anything higher does not work) and load an external movie published for Flash Player 8 (anything lower and it will loose its effects) var langdir:String = "Fran…

---

## [AS3 Xml Gallery, looping through objects](https://forum.kirupa.com/t/as3-xml-gallery-looping-through-objects/271606)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [September 25, 2008, 10:22am UTC](https://forum.kirupa.com/t/as3-xml-gallery-looping-through-objects/271606 "2008-09-25T10:22:45Z")

</div>

Hi, i'm quite new to coding, so some basics are still a bit ob scur to me... I'm creating a xml gallery of thumbnails, and got stuck passing an argument, basically it all works but I don't know how to get the info of m…

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

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