# programming

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

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

**Page:** 807

---

## [Can't Loop Music and Tween Problem](https://forum.kirupa.com/t/cant-loop-music-and-tween-problem/289005)

<div class="topic-metadata">

**Author:** [@OhMyGawd](https://forum.kirupa.com/u/OhMyGawd)\
**Replies:** 0\
**Last updated:** [May 25, 2009, 4:24am UTC](https://forum.kirupa.com/t/cant-loop-music-and-tween-problem/289005 "2009-05-25T04:24:37Z")

</div>

Hey all, I'm new here. I have searched the forum and Google and couldn't find a solution. Anyways, the first problem is when I create a new Tween/Graphic symbol it turns into an old tween I already used (Ex: Two tweens…

---

## [IMG Tag](https://forum.kirupa.com/t/img-tag/289001)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [May 25, 2009, 1:08am UTC](https://forum.kirupa.com/t/img-tag/289001 "2009-05-25T01:08:34Z")

</div>

I thought you could load an image into an html textField? I have HTML data that has IMG tags embedded into it, and I need a way to display them. Thanks for any leads!

---

## [Need Help with Flash Project](https://forum.kirupa.com/t/need-help-with-flash-project/288999)

<div class="topic-metadata">

**Author:** [@NateGr8ns](https://forum.kirupa.com/u/NateGr8ns)\
**Replies:** 0\
**Last updated:** [May 25, 2009, 12:17am UTC](https://forum.kirupa.com/t/need-help-with-flash-project/288999 "2009-05-25T00:17:10Z")

</div>

Hey guys. This is my first post and I feel like such a noob asking for help as my first post. I've been searching google for the last few hours and haven't found a single thing to help me. Currently I'm stumped on us…

---

## [TweenMax and Arrays](https://forum.kirupa.com/t/tweenmax-and-arrays/288998)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [May 25, 2009, 12:07am UTC](https://forum.kirupa.com/t/tweenmax-and-arrays/288998 "2009-05-25T00:07:39Z")

</div>

Is there any possibility to load the elements of an Array individually on stage with TweenMax? I mean to be loaded individually with a delay for ex. 3 sec each?

---

## [Preloader-fading](https://forum.kirupa.com/t/preloader-fading/288994)

<div class="topic-metadata">

**Author:** [@Diddan](https://forum.kirupa.com/u/Diddan)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 8:43pm UTC](https://forum.kirupa.com/t/preloader-fading/288994 "2009-05-24T20:43:37Z")

</div>

Hi everyone! New to this forum \[smile\] I could use some help. I'm making a preloader and I want to make a bitmap fade in with the percentage loaded as "reference". More precise I want the ALPHA-value of the bitmap to b…

---

## [removeChild from an array](https://forum.kirupa.com/t/removechild-from-an-array/288992)

<div class="topic-metadata">

**Author:** [@krimzondestiny](https://forum.kirupa.com/u/krimzondestiny)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 7:52pm UTC](https://forum.kirupa.com/t/removechild-from-an-array/288992 "2009-05-24T19:52:27Z")

</div>

I'm trying to figure out why I can't remove the child of the meteors immediately after they have hit the planet or a building so that it would only damage the building once. When I try to just 'removeChild(meteorArray\[k\]…

---

## [hitTest collision maze in AS3.0](https://forum.kirupa.com/t/hittest-collision-maze-in-as3-0/288991)

<div class="topic-metadata">

**Author:** [@screeg](https://forum.kirupa.com/u/screeg)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 6:56pm UTC](https://forum.kirupa.com/t/hittest-collision-maze-in-as3-0/288991 "2009-05-24T18:56:02Z")

</div>

I once created a functioning maze on a grid in AS2.0 wherein the avatar would move one square at a time via keyboard arrows. His new position was checked against an Array of individually named invisible blocks which ove…

---

## [Dynamic Masking for XML Driven Photo Gallery](https://forum.kirupa.com/t/dynamic-masking-for-xml-driven-photo-gallery/288988)

<div class="topic-metadata">

**Author:** [@dezamp](https://forum.kirupa.com/u/dezamp)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 5:43pm UTC](https://forum.kirupa.com/t/dynamic-masking-for-xml-driven-photo-gallery/288988 "2009-05-24T17:43:25Z")

</div>

I am creating a photo gallery using xml and a thumbnail bar at the side. I want each picture to fit into a square without distorting the image, so I will need to use masks. Currently I am using the loadClip metohd for lo…

---

## [Problem with button in as3](https://forum.kirupa.com/t/problem-with-button-in-as3/288982)

<div class="topic-metadata">

**Author:** [@xelaxam](https://forum.kirupa.com/u/xelaxam)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 4:34pm UTC](https://forum.kirupa.com/t/problem-with-button-in-as3/288982 "2009-05-24T16:34:20Z")

</div>

All rgiht, here i's a easy one ( for you not for me) . On the stage I have buttons that should load different swf. Usually I should put all the code on a single "action" layer. But, it is not what I want to do I have a…

---

## [How to add description tag](https://forum.kirupa.com/t/how-to-add-description-tag/288979)

<div class="topic-metadata">

**Author:** [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 2:29pm UTC](https://forum.kirupa.com/t/how-to-add-description-tag/288979 "2009-05-24T14:29:46Z")

</div>

Hello, I have an xml file that loads the pictures, but I want to add a description tag for each picture. Below is the xml file for this. Can anyone help me add a description tag that would work? Thanks, Tseyigai \<?xml …

---

## [How to pass more (like "...rest" unknown number) of args to another function?](https://forum.kirupa.com/t/how-to-pass-more-like-rest-unknown-number-of-args-to-another-function/288978)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 1:54pm UTC](https://forum.kirupa.com/t/how-to-pass-more-like-rest-unknown-number-of-args-to-another-function/288978 "2009-05-24T13:54:01Z")

</div>

I have a function: \[FONT="Courier New"\]function test(arg1:int, ...rest) { function anotherTest(rest); \[COLOR="Red"\]// -\> Seems not working // it's just passing an array …

---

## [Drupal: View ignored replacement patterns](https://forum.kirupa.com/t/drupal-view-ignored-replacement-patterns/288976)

<div class="topic-metadata">

**Author:** [@needesigner\_com](https://forum.kirupa.com/u/needesigner_com)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 12:17pm UTC](https://forum.kirupa.com/t/drupal-view-ignored-replacement-patterns/288976 "2009-05-24T12:17:19Z")

</div>

when i tried to output field "Node: Title" as a link, replacement patterns didn't work at all. But when i output field\_partner\_website, it works well. Why???? anyone helps? :bounce::m::m::m::m: SELECT node.nid AS nid, …

---

## [Whats the best way to preload a movie with AS3?](https://forum.kirupa.com/t/whats-the-best-way-to-preload-a-movie-with-as3/288973)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 11:41am UTC](https://forum.kirupa.com/t/whats-the-best-way-to-preload-a-movie-with-as3/288973 "2009-05-24T11:41:32Z")

</div>

Hi all, I have a large AS3 project which will need to be preloaded. Almost all examples i find use a frame based approach but surely there is a class based approach? Id appreciate your help on this, R

---

## [AS3 Migration issue:](https://forum.kirupa.com/t/as3-migration-issue/288969)

<div class="topic-metadata">

**Author:** [@Thunder\_one](https://forum.kirupa.com/u/Thunder_one)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 9:04am UTC](https://forum.kirupa.com/t/as3-migration-issue/288969 "2009-05-24T09:04:01Z")

</div>

Hello all… newbie looking for some helping hands… I am getting couples of Migration issue when compile in Adobe CS4… Warning: Warning: 1090: Migration issue: The onKeyDown event handler is not triggered automaticall…

---

## [Box2D PhysExplosion](https://forum.kirupa.com/t/box2d-physexplosion/288964)

<div class="topic-metadata">

**Author:** [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 5:15am UTC](https://forum.kirupa.com/t/box2d-physexplosion/288964 "2009-05-24T05:15:14Z")

</div>

Ive been trying to port a physexplosion function from C to AS3 and im getting a bit stuck and i was hoping that someone could help me out \[image\] . Here is my code so far, private function PhysExplosion(locationPnt,…

---

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

<div class="topic-metadata">

**Author:** [@evbarkley9](https://forum.kirupa.com/u/evbarkley9)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 2:40am UTC](https://forum.kirupa.com/t/help-with-calculating/288959 "2009-05-24T02:40:23Z")

</div>

If I have a mask that say is 200px tall. The object it is masking(call it listObject) can vary in height 200px to say 600(doesnt really matter). I have a button that when I scroll over I would like it to move the ListO…

---

## [Can I determine the MouseEvent that was fired?](https://forum.kirupa.com/t/can-i-determine-the-mouseevent-that-was-fired/288957)

<div class="topic-metadata">

**Author:** [@Spykes](https://forum.kirupa.com/u/Spykes)\
**Replies:** 0\
**Last updated:** [May 24, 2009, 12:59am UTC](https://forum.kirupa.com/t/can-i-determine-the-mouseevent-that-was-fired/288957 "2009-05-24T00:59:26Z")

</div>

So I have a button that I have attached 2 EventListeners to. It is listening for a MOUSE\_OVER and a MOUSE\_OUT. ECM\_button.addEventListener(MouseEvent.MOUSE\_OVER, RollOverECM); ECM\_button.addEventListener(MouseEvent.M…

---

## [Adding previous numeric values in Array during for loop](https://forum.kirupa.com/t/adding-previous-numeric-values-in-array-during-for-loop/288955)

<div class="topic-metadata">

**Author:** [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 9:40pm UTC](https://forum.kirupa.com/t/adding-previous-numeric-values-in-array-during-for-loop/288955 "2009-05-23T21:40:45Z")

</div>

Hello all... here a question. While a for loop runs through all the elements in an array I want to get the width of each element and add it to the sum of the width of all previous elements. Any ideas? Help would be…

---

## [Printing url file - help needed](https://forum.kirupa.com/t/printing-url-file-help-needed/288952)

<div class="topic-metadata">

**Author:** [@JinxBunny](https://forum.kirupa.com/u/JinxBunny)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 9:09pm UTC](https://forum.kirupa.com/t/printing-url-file-help-needed/288952 "2009-05-23T21:09:39Z")

</div>

ok so Is it possible to have a button that, when you click it, it automatically prints an image from a url.. rather than opening that image in a window and revealing it's address. basically just because I want to let…

---

## [Flash Image Gallery Sidescroll Help](https://forum.kirupa.com/t/flash-image-gallery-sidescroll-help/288950)

<div class="topic-metadata">

**Author:** [@promosedia](https://forum.kirupa.com/u/promosedia)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 7:54pm UTC](https://forum.kirupa.com/t/flash-image-gallery-sidescroll-help/288950 "2009-05-23T19:54:45Z")

</div>

\[FONT=Arial\] I need help making an online gallery similar to this one: \[/FONT\] \[FONT=Arial\] \[/FONT\] \[FONT=Arial\] http://www.marilynmanson.com/art/ \[/FONT\] \[FONT=Arial\] \[/FONT\] \[FONT=Arial\] Fro…

---

## [Exporting sounds from a .FLA](https://forum.kirupa.com/t/exporting-sounds-from-a-fla/288948)

<div class="topic-metadata">

**Author:** [@cmann](https://forum.kirupa.com/u/cmann)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 7:23pm UTC](https://forum.kirupa.com/t/exporting-sounds-from-a-fla/288948 "2009-05-23T19:23:28Z")

</div>

Here's a script to export all the sounds from your library. It should save them in the same directory as the FLA file. var out=fl.outputPanel; out.clear(); var doc=fl.getDocumentDOM(); var lib=doc.library; var saveDi…

---

## [Beginner needs help with tweens](https://forum.kirupa.com/t/beginner-needs-help-with-tweens/288946)

<div class="topic-metadata">

**Author:** [@davidtidwell86](https://forum.kirupa.com/u/davidtidwell86)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 6:38pm UTC](https://forum.kirupa.com/t/beginner-needs-help-with-tweens/288946 "2009-05-23T18:38:59Z")

</div>

Hello, I'm having issues with this simple program I made. There's two rectangles, a holder and a dragger. When you click the dragger, you can drag it until you mouse\_up and it will return back to the position of the ho…

---

## [rollOver class problem](https://forum.kirupa.com/t/rollover-class-problem/288942)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 5:09pm UTC](https://forum.kirupa.com/t/rollover-class-problem/288942 "2009-05-23T17:09:06Z")

</div>

Hello, I am trying to set up a .as package to handle all my rollover functions for my \_mc's that are acting as buttons in my fla file. Here is the code I have . package { import flash.display.MovieClip; import flash.…

---

## [URL Rewriting with .htaccess](https://forum.kirupa.com/t/url-rewriting-with-htaccess/288941)

<div class="topic-metadata">

**Author:** [@mkohne](https://forum.kirupa.com/u/mkohne)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 5:05pm UTC](https://forum.kirupa.com/t/url-rewriting-with-htaccess/288941 "2009-05-23T17:05:44Z")

</div>

Hello. I'm trying to clean up my URLs using mod\_rewrite but I cannot for the life of me get it to work. For example, I'm trying to rewriting profiles.php?attorney\_id=1 to attorney-1.html. Here is my code in my .htacc…

---

## [AS2: \*\*movieclip button\*\*](https://forum.kirupa.com/t/as2-movieclip-button/288940)

<div class="topic-metadata">

**Author:** [@adiosamigos](https://forum.kirupa.com/u/adiosamigos)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 4:23pm UTC](https://forum.kirupa.com/t/as2-movieclip-button/288940 "2009-05-23T16:23:45Z")

</div>

Hi I have created a movieclip that i am using as a button. The movieclip is inside another movieclip and i use an attachMovie script to add it. The actionscript that for this is in the timeline: //attaches moviecli…

---

## [Sound seeker](https://forum.kirupa.com/t/sound-seeker/288939)

<div class="topic-metadata">

**Author:** [@DASATRA\_SFX](https://forum.kirupa.com/u/DASATRA_SFX)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 3:57pm UTC](https://forum.kirupa.com/t/sound-seeker/288939 "2009-05-23T15:57:43Z")

</div>

BONJOUR.. Hey, I need a solution and some help to make an audio or sound seeker as well as in mp3 player.. Help me, please.. Thank you,,

---

## [AS2: counter variable - PLEASE HELP](https://forum.kirupa.com/t/as2-counter-variable-please-help/288938)

<div class="topic-metadata">

**Author:** [@adiosamigos](https://forum.kirupa.com/u/adiosamigos)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 1:54pm UTC](https://forum.kirupa.com/t/as2-counter-variable-please-help/288938 "2009-05-23T13:54:23Z")

</div>

Hi I am using the attachMovie script in as2 and I want to use a counter variable to increase the depth each time so it doesn't replace the last one. Every tutorial i've seen for attachMovie mentions this but I can't fi…

---

## [Looking for some advice on AS3](https://forum.kirupa.com/t/looking-for-some-advice-on-as3/288937)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 1:31pm UTC](https://forum.kirupa.com/t/looking-for-some-advice-on-as3/288937 "2009-05-23T13:31:58Z")

</div>

I am looking for some advice on what method I should complete part of a website with. This is my first site that I am building on the AS 3 platform and just want to hear some developers advice. I have a simple photo sli…

---

## [Draw rectangle with only 2 rounded corners?](https://forum.kirupa.com/t/draw-rectangle-with-only-2-rounded-corners/288933)

<div class="topic-metadata">

**Author:** [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 12:30pm UTC](https://forum.kirupa.com/t/draw-rectangle-with-only-2-rounded-corners/288933 "2009-05-23T12:30:28Z")

</div>

Hello Kirupians, is it possible to draw a rectangle specifying which corners should be rounded and which not in a simple manner? I appreciate your help. All the best.

---

## [One pixel off in IE - center div](https://forum.kirupa.com/t/one-pixel-off-in-ie-center-div/288930)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.kirupa.com/u/Dave)\
**Replies:** 0\
**Last updated:** [May 23, 2009, 11:24am UTC](https://forum.kirupa.com/t/one-pixel-off-in-ie-center-div/288930 "2009-05-23T11:24:10Z")

</div>

Hey guys, I can't work out why in IE, this center div is out by one pixel!! :sen: Anyone know how I can fix this? It's fine in firefox! Thanks \[smile\] http://www.creativelevel.com.au/test/

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

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