# programming

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

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

**Page:** 361

---

## [\[AS2\]Movieclip positioning and pagination problem](https://forum.kirupa.com/t/as2-movieclip-positioning-and-pagination-problem/317376)

<div class="topic-metadata">

**Author:** [@akshayhack0123](https://forum.kirupa.com/u/akshayhack0123)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 10:13am UTC](https://forum.kirupa.com/t/as2-movieclip-positioning-and-pagination-problem/317376 "2010-12-18T10:13:24Z")

</div>

i am trying to do some xml based driven search. i am right now stuck with positioning of movieclip inside movieclip and pagination for the same.Since the data is going beyond main movieclip container. i have just started…

---

## [Wait for Data?](https://forum.kirupa.com/t/wait-for-data/317375)

<div class="topic-metadata">

**Author:** [@qazmonk](https://forum.kirupa.com/u/qazmonk)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 4:41am UTC](https://forum.kirupa.com/t/wait-for-data/317375 "2010-12-18T04:41:55Z")

</div>

Ok so I made a server connection with AC3 and C, I need the client(AC3) to be able to send a 3 byte message to the server (C) and have the server return a resopnse. So far everything works except for the fact that the fe…

---

## [Loader / Array / Transfer of variable](https://forum.kirupa.com/t/loader-array-transfer-of-variable/317373)

<div class="topic-metadata">

**Author:** [@kumbpel](https://forum.kirupa.com/u/kumbpel)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 2:49am UTC](https://forum.kirupa.com/t/loader-array-transfer-of-variable/317373 "2010-12-18T02:49:19Z")

</div>

for(var i:Number=0; i\<amount; i++) { work = new WorkSlot(); imgArray.push(work); addChild (imgArray\*); var posY:Number = (i \* imgArray\*.height) + (i \* my\_thumb\_distance); imgArray\*.y = posY; …

---

## [Re-Evaluate Variables in a Conditional Loop](https://forum.kirupa.com/t/re-evaluate-variables-in-a-conditional-loop/317372)

<div class="topic-metadata">

**Author:** [@snotice](https://forum.kirupa.com/u/snotice)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 1:03am UTC](https://forum.kirupa.com/t/re-evaluate-variables-in-a-conditional-loop/317372 "2010-12-18T01:03:59Z")

</div>

Ive racked my brain on this one and I just cant seem to see what im doing wrong. I have 2 text boxes that need to be evaluated against each other. Both are input boxes that capture and store data into variables. I just…

---

## [ActionScript 3.0 inventory?](https://forum.kirupa.com/t/actionscript-3-0-inventory/317371)

<div class="topic-metadata">

**Author:** [@MetalZombie705](https://forum.kirupa.com/u/MetalZombie705)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 12:12am UTC](https://forum.kirupa.com/t/actionscript-3-0-inventory/317371 "2010-12-18T00:12:49Z")

</div>

I've been having trouble finding a tutorial online for a AS3 tutorial on making an in-game inventory for an overhead rpg game, the items go into your inventory after your character walks over them. I've only found Action…

---

## [Half Pixel Issue](https://forum.kirupa.com/t/half-pixel-issue/317370)

<div class="topic-metadata">

**Author:** [@KnightSaber](https://forum.kirupa.com/u/KnightSaber)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 11:53pm UTC](https://forum.kirupa.com/t/half-pixel-issue/317370 "2010-12-17T23:53:06Z")

</div>

I've finished a site that has a listener with no scaling. Basically its the typical /2 deal to keep the movie clip centered. On a few images I have a 1 pixel black frame so the images need to remain on whole pixel loca…

---

## [A slider to fade between two simultaneously playing mp3's?](https://forum.kirupa.com/t/a-slider-to-fade-between-two-simultaneously-playing-mp3s/317364)

<div class="topic-metadata">

**Author:** [@jerryisgood](https://forum.kirupa.com/u/jerryisgood)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 7:11pm UTC](https://forum.kirupa.com/t/a-slider-to-fade-between-two-simultaneously-playing-mp3s/317364 "2010-12-17T19:11:07Z")

</div>

Greetings! I have two mp3's that will play at the same time. One is a beat, the other is the vocals. What I would like to do is create a lever that would allow the user to fade between the two. So if the lever is in t…

---

## [The DependendDispatcher (custom class needing a few thoughts)](https://forum.kirupa.com/t/the-dependenddispatcher-custom-class-needing-a-few-thoughts/317361)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 5:27pm UTC](https://forum.kirupa.com/t/the-dependenddispatcher-custom-class-needing-a-few-thoughts/317361 "2010-12-17T17:27:59Z")

</div>

I have already created a class named the DependentDispatcher, the description of which can be found in the "Source/Experiments" section of the forum in order to keep this post as uncluttered as possible: http://www.kirup…

---

## [Detecting if an event has "stopped propagating" or been "cancelled"](https://forum.kirupa.com/t/detecting-if-an-event-has-stopped-propagating-or-been-cancelled/317360)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 5:18pm UTC](https://forum.kirupa.com/t/detecting-if-an-event-has-stopped-propagating-or-been-cancelled/317360 "2010-12-17T17:18:40Z")

</div>

If someone hands you a simple event, is there any way of telling if the event has been cancelled or if the stopPropagation() or stopImmediatePropagation() commands have been run yet? Or is all that handled and kept tra…

---

## [Bounce after rotation issue](https://forum.kirupa.com/t/bounce-after-rotation-issue/317358)

<div class="topic-metadata">

**Author:** [@civictjai](https://forum.kirupa.com/u/civictjai)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 4:52pm UTC](https://forum.kirupa.com/t/bounce-after-rotation-issue/317358 "2010-12-17T16:52:46Z")

</div>

Hi all, Hope someone can help me out with this: I have an Item() class which creates an ItemInfo() object. The ItemInfo is (for now) just a rect and extends from GestureCore() which contains only the Flick, Rotate & …

---

## [AS+XML: variable is "300" but early after "NaN"](https://forum.kirupa.com/t/as-xml-variable-is-300-but-early-after-nan/317357)

<div class="topic-metadata">

**Author:** [@kumbpel](https://forum.kirupa.com/u/kumbpel)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 4:46pm UTC](https://forum.kirupa.com/t/as-xml-variable-is-300-but-early-after-nan/317357 "2010-12-17T16:46:46Z")

</div>

inside the processXML-function the trace(my\_thumb\_distance) shows the right content: 300. outside the function it traces "NaN". why is the variable my\_thumb\_distance outside the function "not a number" anymore? thank…

---

## [Problem with getChildByName](https://forum.kirupa.com/t/problem-with-getchildbyname/317354)

<div class="topic-metadata">

**Author:** [@leeda111](https://forum.kirupa.com/u/leeda111)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 3:50pm UTC](https://forum.kirupa.com/t/problem-with-getchildbyname/317354 "2010-12-17T15:50:47Z")

</div>

\[COLOR="Red"\]Please Refer to Post #9 for complete details of the the code\[/COLOR\] Hi, I was working on a little code in which I am inserting a few movieclips within a scroll pane and then user is able to drag stuff(a…

---

## [AS3 dispatch event from loaded child with number of scenes?](https://forum.kirupa.com/t/as3-dispatch-event-from-loaded-child-with-number-of-scenes/317353)

<div class="topic-metadata">

**Author:** [@joshuacollinson](https://forum.kirupa.com/u/joshuacollinson)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 3:07pm UTC](https://forum.kirupa.com/t/as3-dispatch-event-from-loaded-child-with-number-of-scenes/317353 "2010-12-17T15:07:51Z")

</div>

Hi everyone,

---

## [Navigation and movieclip positioning help](https://forum.kirupa.com/t/navigation-and-movieclip-positioning-help/317349)

<div class="topic-metadata">

**Author:** [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 2:22pm UTC](https://forum.kirupa.com/t/navigation-and-movieclip-positioning-help/317349 "2010-12-17T14:22:41Z")

</div>

I have the main swf that loads my main menu this.createEmptyMovieClip("empty\_mc",1); empty\_mc.loadMovie("topmenu.swf"); The topmenu.swf contains my buttons (of course) and it should load the pages movieclips (abo…

---

## [AS3 startDrag setting negative bounds](https://forum.kirupa.com/t/as3-startdrag-setting-negative-bounds/317347)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 1:37pm UTC](https://forum.kirupa.com/t/as3-startdrag-setting-negative-bounds/317347 "2010-12-17T13:37:28Z")

</div>

Hi there I have a large movieclip (2336 x 1752) and a stage of 800 x 600. I want to be able to drag the movieclip around the stage so no white is visible: minimum x before I get whitespace: -1536 minimum y before I g…

---

## [Flash \[8\]..........help](https://forum.kirupa.com/t/flash-8-help/317344)

<div class="topic-metadata">

**Author:** [@Vikrant\_Aggarwa](https://forum.kirupa.com/u/Vikrant_Aggarwa)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 10:18am UTC](https://forum.kirupa.com/t/flash-8-help/317344 "2010-12-17T10:18:33Z")

</div>

i attached a tutorial from kriupa.com.......actually everything is perfect in this tutorial............but wot i want... i want in this tutorial...7 image...and this is xml gallery tutorial there is next and previous…

---

## [Hierarchy question](https://forum.kirupa.com/t/hierarchy-question/317342)

<div class="topic-metadata">

**Author:** [@alva](https://forum.kirupa.com/u/alva)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 9:41am UTC](https://forum.kirupa.com/t/hierarchy-question/317342 "2010-12-17T09:41:49Z")

</div>

I am a math teacher and I do small applications to use in education. Most of them give the user a problem, the users solves the problem and gets the next problem. I am fighting the battle of going from AS2 to AS3. One …

---

## [Click Counter](https://forum.kirupa.com/t/click-counter/317338)

<div class="topic-metadata">

**Author:** [@FlashFool](https://forum.kirupa.com/u/FlashFool)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 3:36am UTC](https://forum.kirupa.com/t/click-counter/317338 "2010-12-17T03:36:23Z")

</div>

I am a bit of a newbie and cannot seem to figure this out. I have tried various methods to no avail. I am trying to make a counter for everytime I click the button the counter goes up by one. I have attached the fla. f…

---

## [Tumblr theme help…](https://forum.kirupa.com/t/tumblr-theme-help/317335)

<div class="topic-metadata">

**Author:** [@jensou](https://forum.kirupa.com/u/jensou)\
**Replies:** 0\
**Last updated:** [December 17, 2010, 12:04am UTC](https://forum.kirupa.com/t/tumblr-theme-help/317335 "2010-12-17T00:04:58Z")

</div>

Hi there, I'm trying to design my own tumblr theme, but I'm hacking my way through it. I would really appreciate it if someone would mind taking the time to just look over what I have and point out the problems or reason…

---

## [Physics/Collision](https://forum.kirupa.com/t/physics-collision/317333)

<div class="topic-metadata">

**Author:** [@RightLegRed](https://forum.kirupa.com/u/RightLegRed)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 11:38pm UTC](https://forum.kirupa.com/t/physics-collision/317333 "2010-12-16T23:38:00Z")

</div>

I'm currently doing a course in which I have to make my own game and present it. I'm using Flash to make my game, but I've been having a problem with physics and collisions. I've tried to use BOX2D, but every time I save…

---

## [Simple database; xml?](https://forum.kirupa.com/t/simple-database-xml/317332)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 10:52pm UTC](https://forum.kirupa.com/t/simple-database-xml/317332 "2010-12-16T22:52:10Z")

</div>

What I'm trying to do is keep track of responses to several questions. In other words what I have is sort of like a quiz. Each question has a yes or no button and what I'd like to do is update a number in, say, an xml fi…

---

## [A Flash and Dreamweaver problem](https://forum.kirupa.com/t/a-flash-and-dreamweaver-problem/317331)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 9:48pm UTC](https://forum.kirupa.com/t/a-flash-and-dreamweaver-problem/317331 "2010-12-16T21:48:54Z")

</div>

Okay, There is something that I don't quite understand. I built a flash contact form in Flash CS4 and embedded the swf in my webpage using Dreamweaver CS4. I upload the files in my server but why it's not working? I crea…

---

## [ProblemsWith A Switch](https://forum.kirupa.com/t/problemswith-a-switch/317328)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 7:31pm UTC](https://forum.kirupa.com/t/problemswith-a-switch/317328 "2010-12-16T19:31:17Z")

</div>

this line trace(collisionsArray2\*.object2); returns: \[object BounceLefts\] and \[object BounceUps\] respectively but the switch doesn't return its traces i've also tried without the quotes case BounceUps: var …

---

## [\[AS2\]Advanced image gallery continous loop scroll help required](https://forum.kirupa.com/t/as2-advanced-image-gallery-continous-loop-scroll-help-required/317323)

<div class="topic-metadata">

**Author:** [@akshayhack0123](https://forum.kirupa.com/u/akshayhack0123)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 4:54pm UTC](https://forum.kirupa.com/t/as2-advanced-image-gallery-continous-loop-scroll-help-required/317323 "2010-12-16T16:54:53Z")

</div>

Hi, I just downloaded Blue Chi's advanced image gallery few days back and converted into grid gallery in AS2. However I am stuck with 2 things: 1) How to make the gallery endlessly scrollable in a efficient way. I us…

---

## [NFL jerseys of the future](https://forum.kirupa.com/t/nfl-jerseys-of-the-future/317321)

<div class="topic-metadata">

**Author:** [@nfl8nba8mlb1](https://forum.kirupa.com/u/nfl8nba8mlb1)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 4:48pm UTC](https://forum.kirupa.com/t/nfl-jerseys-of-the-future/317321 "2010-12-16T16:48:47Z")

</div>

\[NFL jerseys of the future?These images were linked to a message board on the Baltimore Sun's website. They purportedly include what could be Nike Pro Combat uniform designs for the 2012 season,\[url=http://www.nflwholesa…

---

## [Xmas News, Nike NFL Jersey Design for Patriots ons](https://forum.kirupa.com/t/xmas-news-nike-nfl-jersey-design-for-patriots-ons/317318)

<div class="topic-metadata">

**Author:** [@nfl8nba8mlb1](https://forum.kirupa.com/u/nfl8nba8mlb1)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 4:46pm UTC](https://forum.kirupa.com/t/xmas-news-nike-nfl-jersey-design-for-patriots-ons/317318 "2010-12-16T16:46:59Z")

</div>

Report: Nike \[NFL Jerseys Design for Patriots onsale nowThey look real, and it turns out,\[url=http://www.nflwholesalejerseys.net\]nfl youth jerseys, they're probably not.The Internet was abuzz Friday morning with news tha…

---

## [Using After Effects to export FLV or MOV - NO SOUND?!](https://forum.kirupa.com/t/using-after-effects-to-export-flv-or-mov-no-sound/317317)

<div class="topic-metadata">

**Author:** [@whenurstrange](https://forum.kirupa.com/u/whenurstrange)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 4:43pm UTC](https://forum.kirupa.com/t/using-after-effects-to-export-flv-or-mov-no-sound/317317 "2010-12-16T16:43:17Z")

</div>

Hi, There is sound (wav and mp3) in my SWF. I imported into after effects to export it as a FLV and a MOV. I'm doing this because Flash's export to MOV makes my animation fragmented. There is no sound in my FLV or …

---

## [Need help with pause/play sound and mc](https://forum.kirupa.com/t/need-help-with-pause-play-sound-and-mc/317314)

<div class="topic-metadata">

**Author:** [@mjacob1](https://forum.kirupa.com/u/mjacob1)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 3:55pm UTC](https://forum.kirupa.com/t/need-help-with-pause-play-sound-and-mc/317314 "2010-12-16T15:55:03Z")

</div>

I'm realtively new at this. I have a timeline of 30 frames, each it's own mc (page01\_mc, etc.). In each mc I show a picture or two and hear narration. I have a first, prev and next nav on the main timeline. I need to add…

---

## [Standard way to run the same code on multiple instances?](https://forum.kirupa.com/t/standard-way-to-run-the-same-code-on-multiple-instances/317313)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 3:47pm UTC](https://forum.kirupa.com/t/standard-way-to-run-the-same-code-on-multiple-instances/317313 "2010-12-16T15:47:16Z")

</div>

Hi all, quick question from an as2 newby. I'm creating a navigation menu, as the cursor hovers over each of the menu items I want them to behave in a certain way. They all behave the same way but obviously the text is …

---

## [How to Create a Skip Button for an External Intro](https://forum.kirupa.com/t/how-to-create-a-skip-button-for-an-external-intro/317312)

<div class="topic-metadata">

**Author:** [@killmerm](https://forum.kirupa.com/u/killmerm)\
**Replies:** 0\
**Last updated:** [December 16, 2010, 3:44pm UTC](https://forum.kirupa.com/t/how-to-create-a-skip-button-for-an-external-intro/317312 "2010-12-16T15:44:36Z")

</div>

Hi everyone! I'm building an interface and I have an external preloader and an external intro. The preloader calls the intro and the intro calls the interface. How can I create a skip button for the intro to go straigh…

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

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