# programming

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

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

**Page:** 1112

---

## [Fast way to compact array?](https://forum.kirupa.com/t/fast-way-to-compact-array/268685)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 6:44am UTC](https://forum.kirupa.com/t/fast-way-to-compact-array/268685 "2008-08-17T06:44:03Z")

</div>

Is there a faster way to compact this array than creating an array, and looping over and over again? The method I just created that works... var damagesArray = new Array(); damagesArray\[0\] = {Who:12, Amount:17}; d…

---

## [As3 AS2 problem](https://forum.kirupa.com/t/as3-as2-problem/268680)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 5:15am UTC](https://forum.kirupa.com/t/as3-as2-problem/268680 "2008-08-17T05:15:39Z")

</div>

I have a SWF that is AS3 loading a SWF that is AS2 that loads a XML file and several images. Any clue how I could get that to work, or am I gonna have to redo the whole time thing in AS3?

---

## [\[Flash CS3\] Help getting XML Photo gallery to adapt to different thumbnail size](https://forum.kirupa.com/t/flash-cs3-help-getting-xml-photo-gallery-to-adapt-to-different-thumbnail-size/268679)

<div class="topic-metadata">

**Author:** [@Inneri](https://forum.kirupa.com/u/Inneri)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 5:07am UTC](https://forum.kirupa.com/t/flash-cs3-help-getting-xml-photo-gallery-to-adapt-to-different-thumbnail-size/268679 "2008-08-17T05:07:01Z")

</div>

NOTE: This is all done using\*\* AS2\*\* So after studying the wonderful tutorial on how to use XML to make a photo gallery, I made one. And it loads and everything \[smile\] The problem comes in when I try and load thumbn…

---

## [addChild + "export in first frame" unchecked](https://forum.kirupa.com/t/addchild-export-in-first-frame-unchecked/268678)

<div class="topic-metadata">

**Author:** [@samroni](https://forum.kirupa.com/u/samroni)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 4:54am UTC](https://forum.kirupa.com/t/addchild-export-in-first-frame-unchecked/268678 "2008-08-17T04:54:41Z")

</div>

Hi all, i've got this problem that i can't figured out. i've tried google and adobe website, but no luck. i guess the people here could help me \[smiley\] this is about addchild and export in first frame. i wanna call …

---

## [Programming: a skill tree](https://forum.kirupa.com/t/programming-a-skill-tree/268674)

<div class="topic-metadata">

**Author:** [@TCAtect](https://forum.kirupa.com/u/TCAtect)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 3:15am UTC](https://forum.kirupa.com/t/programming-a-skill-tree/268674 "2008-08-17T03:15:56Z")

</div>

Here's something that's been bothering me for a while. In many modern (heck, even old) RPG, tactical RPG, or strategy games, there is a wealth of skills available to players. However, some skills must be earned while oth…

---

## [Painfully dumb question](https://forum.kirupa.com/t/painfully-dumb-question/268672)

<div class="topic-metadata">

**Author:** [@GenericUserName](https://forum.kirupa.com/u/GenericUserName)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 1:27am UTC](https://forum.kirupa.com/t/painfully-dumb-question/268672 "2008-08-17T01:27:09Z")

</div>

I'm certain that this has been addressed here somewhere in the threads, but various searches proved fruitless. I am building a pretty basic javascript-css menu interface (I want to call it "drop-down" but that may be inc…

---

## [Combine UPDATE with INSERT...SELECT](https://forum.kirupa.com/t/combine-update-with-insert-select/268668)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 12:42am UTC](https://forum.kirupa.com/t/combine-update-with-insert-select/268668 "2008-08-17T00:42:57Z")

</div>

Compeltely frustrated with this but I'm looking to add some deleting (a book from a list of books that someone might be selling) functionality. I have a list a books in a table, but when the user deletes that book, I w…

---

## [Progressive Video works when tested from Flash but fails once deployed on server](https://forum.kirupa.com/t/progressive-video-works-when-tested-from-flash-but-fails-once-deployed-on-server/268667)

<div class="topic-metadata">

**Author:** [@Gar\_Fonz](https://forum.kirupa.com/u/Gar_Fonz)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 12:33am UTC](https://forum.kirupa.com/t/progressive-video-works-when-tested-from-flash-but-fails-once-deployed-on-server/268667 "2008-08-17T00:33:50Z")

</div>

Heres the code that I'm using var videoURL:URLRequest = new URLRequest(""); var connection:NetConnection; var stream:NetStream; function sec(e:IOErrorEvent){ trace(e); } var videoX:int = 0; var videoY:int = 0; var …

---

## [Err, how do you attach MC's from the library?](https://forum.kirupa.com/t/err-how-do-you-attach-mcs-from-the-library/268664)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 12:06am UTC](https://forum.kirupa.com/t/err-how-do-you-attach-mcs-from-the-library/268664 "2008-08-17T00:06:29Z")

</div>

\*Edit: Let's say I import a class into my document class. I know the document class has access to the root library, but does every other class I import into the class have access to it too?

---

## [Querying a query?](https://forum.kirupa.com/t/querying-a-query/268662)

<div class="topic-metadata">

**Author:** [@Sage\_of\_Fire](https://forum.kirupa.com/u/Sage_of_Fire)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 11:25pm UTC](https://forum.kirupa.com/t/querying-a-query/268662 "2008-08-16T23:25:52Z")

</div>

I'm just getting started with the whole php/mysql interaction, but I still don't want to make a second-rate script just because I don't know a better way. I built a standard, ugly procedural script for reading from a st…

---

## [Dynamic MovieClip Events](https://forum.kirupa.com/t/dynamic-movieclip-events/268660)

<div class="topic-metadata">

**Author:** [@tokyoboy](https://forum.kirupa.com/u/tokyoboy)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 10:26pm UTC](https://forum.kirupa.com/t/dynamic-movieclip-events/268660 "2008-08-16T22:26:44Z")

</div>

Hi all, I've been trying to create a vertical navigation bar. Each button on the bar is dynamically created by the fadeRecsIn() function. Each button is also populated with a text field that populates from the Array of…

---

## [Text filtration](https://forum.kirupa.com/t/text-filtration/268658)

<div class="topic-metadata">

**Author:** [@saxx](https://forum.kirupa.com/u/saxx)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 9:41pm UTC](https://forum.kirupa.com/t/text-filtration/268658 "2008-08-16T21:41:52Z")

</div>

How? I’ve googled to death and the only stuff i see is ‘text filters’ as in it filters the text with blur filters and such. but if i want to replace certain characters, then what? edit Nevermind i was searching the wro…

---

## [Batch creation and placement of instances?](https://forum.kirupa.com/t/batch-creation-and-placement-of-instances/268657)

<div class="topic-metadata">

**Author:** [@llodyall](https://forum.kirupa.com/u/llodyall)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 9:19pm UTC](https://forum.kirupa.com/t/batch-creation-and-placement-of-instances/268657 "2008-08-16T21:19:22Z")

</div>

Is there a way to create instances and name them in in large batches and also use a formula to place them in a grid using actionscript? I'm new to flash but I think there must be a quicker way than creating hundreds of i…

---

## [Passing a hexadecimal - Data type?](https://forum.kirupa.com/t/passing-a-hexadecimal-data-type/268654)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 8:34pm UTC](https://forum.kirupa.com/t/passing-a-hexadecimal-data-type/268654 "2008-08-16T20:34:46Z")

</div>

I'm trying to pass a hexadecimal number into a function so that it can be used to format a text field. Does anyone know the correct syntax/data type to use here? package { public function process(answerSprites:Dis…

---

## [Watermark problem!](https://forum.kirupa.com/t/watermark-problem/268651)

<div class="topic-metadata">

**Author:** [@suraj652004](https://forum.kirupa.com/u/suraj652004)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 7:32pm UTC](https://forum.kirupa.com/t/watermark-problem/268651 "2008-08-16T19:32:53Z")

</div>

Hi ppl.. I'm currently designing a site for my university using Joomla! CMS. I thought of adding a flash introduction and i found one at http://www.highpowergraphics.com/flashintros.html for free. It's really great for …

---

## [Problem Embedding Flash Photo Gallery In Aspx file](https://forum.kirupa.com/t/problem-embedding-flash-photo-gallery-in-aspx-file/268649)

<div class="topic-metadata">

**Author:** [@Ladytech](https://forum.kirupa.com/u/Ladytech)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 6:44pm UTC](https://forum.kirupa.com/t/problem-embedding-flash-photo-gallery-in-aspx-file/268649 "2008-08-16T18:44:28Z")

</div>

Evening I was wondering whether anyone could help me I'm trying to embed my flash photogallery in my website. I've used the following code which copied from the html file when i published the photo gallery however the ph…

---

## [Zoom effect with motion tweening](https://forum.kirupa.com/t/zoom-effect-with-motion-tweening/268647)

<div class="topic-metadata">

**Author:** [@Marblez](https://forum.kirupa.com/u/Marblez)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 5:29pm UTC](https://forum.kirupa.com/t/zoom-effect-with-motion-tweening/268647 "2008-08-16T17:29:31Z")

</div>

Hi all, I am new to this forum and to Flash. I am working on a simple Flash animation and I was wondering if it is possible to create a zoom effect with motion tweening. Let's say I have an image of a box and I want …

---

## [I want my scrolling Thumbnail still on its load-up!](https://forum.kirupa.com/t/i-want-my-scrolling-thumbnail-still-on-its-load-up/268645)

<div class="topic-metadata">

**Author:** [@Mr\_Tooley](https://forum.kirupa.com/u/Mr_Tooley)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 4:56pm UTC](https://forum.kirupa.com/t/i-want-my-scrolling-thumbnail-still-on-its-load-up/268645 "2008-08-16T16:56:54Z")

</div>

Firstly hey all hope you can help me with what is hopefully an easy question. Firstly I've made a vertical scrolling verison based on the below Tutorial (2nd Link).. However because of the lopped motion Tween it begins…

---

## [Can the Slideshow Using XML and Flash tutorial randomly load the images?](https://forum.kirupa.com/t/can-the-slideshow-using-xml-and-flash-tutorial-randomly-load-the-images/268644)

<div class="topic-metadata">

**Author:** [@dmacster](https://forum.kirupa.com/u/dmacster)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 2:50pm UTC](https://forum.kirupa.com/t/can-the-slideshow-using-xml-and-flash-tutorial-randomly-load-the-images/268644 "2008-08-16T14:50:33Z")

</div>

Hi, I've been using this slideshow from the tutorial http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm MX only version. Does anyone know how to add or change so that the images are random? I don't need previous or…

---

## [Loading swf into container](https://forum.kirupa.com/t/loading-swf-into-container/268641)

<div class="topic-metadata">

**Author:** [@Brutium](https://forum.kirupa.com/u/Brutium)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 2:16pm UTC](https://forum.kirupa.com/t/loading-swf-into-container/268641 "2008-08-16T14:16:34Z")

</div>

Help if you please.... I have been working on a project where three swf need to be loaded into three different containers on my stage as soon as I press a button. So far all I managed to accomplish is that only one of…

---

## [Away3D or Papervision3D?](https://forum.kirupa.com/t/away3d-or-papervision3d/268640)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 1:41pm UTC](https://forum.kirupa.com/t/away3d-or-papervision3d/268640 "2008-08-16T13:41:31Z")

</div>

I don't really like to start these kind of threads, but lately I've been very confused. I want to try my hand at 3D in Flash.. I've noticed that Papervision and Away3d are very popular OS engines.. but which do you rec…

---

## [How can I pass a parameter from a class to an object created in the .fla file?](https://forum.kirupa.com/t/how-can-i-pass-a-parameter-from-a-class-to-an-object-created-in-the-fla-file/268638)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 11:45am UTC](https://forum.kirupa.com/t/how-can-i-pass-a-parameter-from-a-class-to-an-object-created-in-the-fla-file/268638 "2008-08-16T11:45:40Z")

</div>

Hi, I have this class, which is working fine, but I would like to pass a parameter to the objects in my .fla file and I have no idea how. This is a class that can be apply to any object to fade it, the problem is th…

---

## [CSS clearing an entire row](https://forum.kirupa.com/t/css-clearing-an-entire-row/268637)

<div class="topic-metadata">

**Author:** [@tanel96](https://forum.kirupa.com/u/tanel96)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 10:55am UTC](https://forum.kirupa.com/t/css-clearing-an-entire-row/268637 "2008-08-16T10:55:52Z")

</div>

I uploaded a small test page: http://fritz.planet.ee/test.html \<html\> \<head\> \<title\>Test page\</title\> \<style type="text/css"\> .container{ float:left; margin-right:10px; width:90px; background-color:#FFCC33; margi…

---

## [Getting started with 3d](https://forum.kirupa.com/t/getting-started-with-3d/268632)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 6:53am UTC](https://forum.kirupa.com/t/getting-started-with-3d/268632 "2008-08-16T06:53:57Z")

</div>

Does anyone have any good tutorials/pointers for someone who has no idea how to do 3d in flash... Ive looked a bit at papervision3d and five3d, but firstly, im looking to do 3d in AS2 for now. Mainly what i want to a…

---

## [For Loop & If/then statement](https://forum.kirupa.com/t/for-loop-if-then-statement/268628)

<div class="topic-metadata">

**Author:** [@Soig](https://forum.kirupa.com/u/Soig)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 4:59am UTC](https://forum.kirupa.com/t/for-loop-if-then-statement/268628 "2008-08-16T04:59:03Z")

</div>

I have a For Loop that runs through 12 possible buttons. It checks to see if each one is supposed to be loaded and if not, it animates them to fade out. The for loop works fine, but the Outupt window displays the follo…

---

## [SoundTransform](https://forum.kirupa.com/t/soundtransform/268625)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [August 16, 2008, 3:02am UTC](https://forum.kirupa.com/t/soundtransform/268625 "2008-08-16T03:02:20Z")

</div>

http://www.helmutgranda.com/2008/02/11/stop-sound-of-loaded-swfs-in-as3/ I found this code through google search. I tried adapting it to my current code and I'm having trouble. Is it because this essentially creates …

---

## [Flash in webpage designing?](https://forum.kirupa.com/t/flash-in-webpage-designing/268620)

<div class="topic-metadata">

**Author:** [@rejoice489](https://forum.kirupa.com/u/rejoice489)\
**Replies:** 0\
**Last updated:** [August 15, 2008, 11:44pm UTC](https://forum.kirupa.com/t/flash-in-webpage-designing/268620 "2008-08-15T23:44:44Z")

</div>

So how exactly do you make a web page flash-based? What software do you use? Is it ridiculously complicated? I:-) Help? (This is me being merely curious)

---

## [Linking buttons to SWF files?](https://forum.kirupa.com/t/linking-buttons-to-swf-files/268619)

<div class="topic-metadata">

**Author:** [@Rinny](https://forum.kirupa.com/u/Rinny)\
**Replies:** 0\
**Last updated:** [August 15, 2008, 11:32pm UTC](https://forum.kirupa.com/t/linking-buttons-to-swf-files/268619 "2008-08-15T23:32:57Z")

</div>

Hi I was wondering if this is possible... I have a swf file inserted into an html page. The swf file has a navigation menu that have buttons and I am trying to get the buttons when clicked to load another swf file in p…

---

## [Flash Lag \<\<- tips?](https://forum.kirupa.com/t/flash-lag-tips/268618)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [August 15, 2008, 11:00pm UTC](https://forum.kirupa.com/t/flash-lag-tips/268618 "2008-08-15T23:00:03Z")

</div>

hi, I have this RPG-like screen where you have a character walking through.. the forest or something.. and the thing is.. it's lagging.. LOTS.. On that scene.. there are quite a lot of Tree graphics and grass graphic…

---

## [Gettings Thumbnails to scroll when placed inside a movie clip](https://forum.kirupa.com/t/gettings-thumbnails-to-scroll-when-placed-inside-a-movie-clip/268617)

<div class="topic-metadata">

**Author:** [@nilros](https://forum.kirupa.com/u/nilros)\
**Replies:** 0\
**Last updated:** [August 15, 2008, 10:17pm UTC](https://forum.kirupa.com/t/gettings-thumbnails-to-scroll-when-placed-inside-a-movie-clip/268617 "2008-08-15T22:17:29Z")

</div>

Hello All! I've done the tutorial on XML photo gallery and everything works great! However, because I normally program my flash sites to be full browser, I need to place everything inside movieclips so I can manage the…

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

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