# programming

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

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

**Page:** 225

---

## [Multiple masks movieclips](https://forum.kirupa.com/t/multiple-masks-movieclips/325330)

<div class="topic-metadata">

**Author:** [@Delpierooo](https://forum.kirupa.com/u/Delpierooo)\
**Replies:** 0\
**Last updated:** [October 10, 2011, 7:23am UTC](https://forum.kirupa.com/t/multiple-masks-movieclips/325330 "2011-10-10T07:23:00Z")

</div>

Hey there.. I am creating movieclips and there holes(deselected areas using masks) dynamicly. Is there a way I can assign one movieclip moer than one mask? Maybe by somehow saving the moviclip with the first hole(mask)…

---

## [Solve the PPT of Flash animation will not play](https://forum.kirupa.com/t/solve-the-ppt-of-flash-animation-will-not-play/325329)

<div class="topic-metadata">

**Author:** [@jookwood1](https://forum.kirupa.com/u/jookwood1)\
**Replies:** 0\
**Last updated:** [October 10, 2011, 7:19am UTC](https://forum.kirupa.com/t/solve-the-ppt-of-flash-animation-will-not-play/325329 "2011-10-10T07:19:15Z")

</div>

The location of the powerpoint forenglish move after inserting Flash animation can't play, what reason is this?

---

## [I in FLASH animation, made a in software inside what content can be out of the](https://forum.kirupa.com/t/i-in-flash-animation-made-a-in-software-inside-what-content-can-be-out-of-the/325328)

<div class="topic-metadata">

**Author:** [@jookwood1](https://forum.kirupa.com/u/jookwood1)\
**Replies:** 0\
**Last updated:** [October 10, 2011, 7:17am UTC](https://forum.kirupa.com/t/i-in-flash-animation-made-a-in-software-inside-what-content-can-be-out-of-the/325328 "2011-10-10T07:17:25Z")

</div>

I in FLASH animation, made a in software inside what content can be out of the (text, pictures, etc.) all normal, but I generate SWF format why my words after didn't.

---

## [getTimer() returns the same value on two subsequent frames](https://forum.kirupa.com/t/gettimer-returns-the-same-value-on-two-subsequent-frames/325323)

<div class="topic-metadata">

**Author:** [@reptangle](https://forum.kirupa.com/u/reptangle)\
**Replies:** 0\
**Last updated:** [October 10, 2011, 12:28am UTC](https://forum.kirupa.com/t/gettimer-returns-the-same-value-on-two-subsequent-frames/325323 "2011-10-10T00:28:44Z")

</div>

Hello Kirupa! While making a flash game, I'm encoutering something pretty weird. My framerate is set to 60 and I have a function that listens to enterFrame events and calls getTimer() to calculate the time between step…

---

## [RPG-esque dialogue](https://forum.kirupa.com/t/rpg-esque-dialogue/325322)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [October 9, 2011, 11:00pm UTC](https://forum.kirupa.com/t/rpg-esque-dialogue/325322 "2011-10-09T23:00:18Z")

</div>

How would I go about doing it? I have this (speach is the variable for the text box) speach = "Hello there traveler, have you come to save us?" speach.length = 0; onEnterFrame = function(){ speach.length++ } but it d…

---

## [CS5 crashes when I am importing an image sequence](https://forum.kirupa.com/t/cs5-crashes-when-i-am-importing-an-image-sequence/325319)

<div class="topic-metadata">

**Author:** [@samueljonasson](https://forum.kirupa.com/u/samueljonasson)\
**Replies:** 0\
**Last updated:** [October 9, 2011, 5:03pm UTC](https://forum.kirupa.com/t/cs5-crashes-when-i-am-importing-an-image-sequence/325319 "2011-10-09T17:03:43Z")

</div>

Hi, actually I am trying to create a pretty big image sequence so this is just a memory issue I think. I guess I am looking for suggestions on how to create this image sequence or work around the problem in a different…

---

## [Problems with Arrays - 2 arrays seem to be clashing](https://forum.kirupa.com/t/problems-with-arrays-2-arrays-seem-to-be-clashing/325314)

<div class="topic-metadata">

**Author:** [@stevie7](https://forum.kirupa.com/u/stevie7)\
**Replies:** 0\
**Last updated:** [October 9, 2011, 9:54am UTC](https://forum.kirupa.com/t/problems-with-arrays-2-arrays-seem-to-be-clashing/325314 "2011-10-09T09:54:39Z")

</div>

Hi There, I am new to AS3 and I'm struggling through arrays at the moment....I'm sure it is something simple I am doing wrong but I can't for the life of me see it.... I am creating a simple swf that allows a kid to …

---

## [Table of Contents button array needs to respond to a "next" button](https://forum.kirupa.com/t/table-of-contents-button-array-needs-to-respond-to-a-next-button/325310)

<div class="topic-metadata">

**Author:** [@sslat](https://forum.kirupa.com/u/sslat)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 11:47pm UTC](https://forum.kirupa.com/t/table-of-contents-button-array-needs-to-respond-to-a-next-button/325310 "2011-10-08T23:47:31Z")

</div>

I have an array of movieclip buttons that is a table of contents for a module. I am using a loop function to maintain their down state when clicked. All of the event listeners for each content heading in the table of con…

---

## [Resizing Stage3D Dynamically?](https://forum.kirupa.com/t/resizing-stage3d-dynamically/325309)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 11:33pm UTC](https://forum.kirupa.com/t/resizing-stage3d-dynamically/325309 "2011-10-08T23:33:06Z")

</div>

Is there a way to change the size of the 3D stage with the flash window size dynamically? When using Starling going into fullscreen I can't seem to get the 3d content to either zoom or have the stage increase in side. 3D…

---

## [I can't get the dice to stop continuously generating a new numbe - loops constantly?!](https://forum.kirupa.com/t/i-cant-get-the-dice-to-stop-continuously-generating-a-new-numbe-loops-constantly/325308)

<div class="topic-metadata">

**Author:** [@stevie7](https://forum.kirupa.com/u/stevie7)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 9:53pm UTC](https://forum.kirupa.com/t/i-cant-get-the-dice-to-stop-continuously-generating-a-new-numbe-loops-constantly/325308 "2011-10-08T21:53:16Z")

</div>

I am new to AS3. Trying to create a dice that generates a random number. Almost got there, but I can't get the dice to stop continuously generating a new number. I'm sure it is something simple but I just can't figur…

---

## [Tell a Flasher how you would build this music player in HTML](https://forum.kirupa.com/t/tell-a-flasher-how-you-would-build-this-music-player-in-html/325306)

<div class="topic-metadata">

**Author:** [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 7:23pm UTC](https://forum.kirupa.com/t/tell-a-flasher-how-you-would-build-this-music-player-in-html/325306 "2011-10-08T19:23:24Z")

</div>

MySpace has a neat player now \[URL="http://www.myspace.com/music/player"\]http://www.myspace.com/music/player Clicking the right mouse button it seems it is made in HTML although in the source code there is a line cal…

---

## [1087: Syntax error: extra characters found after end of programme](https://forum.kirupa.com/t/1087-syntax-error-extra-characters-found-after-end-of-programme/325305)

<div class="topic-metadata">

**Author:** [@stevie7](https://forum.kirupa.com/u/stevie7)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 7:08pm UTC](https://forum.kirupa.com/t/1087-syntax-error-extra-characters-found-after-end-of-programme/325305 "2011-10-08T19:08:43Z")

</div>

I am trying to import a .as file to my swf but I get the error below: 1087: Syntax error: extra characters found after end of programme In my FLA I have a keyframe with: import "NumbersAndMath.As" In the same fol…

---

## [1084: Syntax error: expecting identifier before this](https://forum.kirupa.com/t/1084-syntax-error-expecting-identifier-before-this/325298)

<div class="topic-metadata">

**Author:** [@bachpro89](https://forum.kirupa.com/u/bachpro89)\
**Replies:** 0\
**Last updated:** [October 8, 2011, 7:05am UTC](https://forum.kirupa.com/t/1084-syntax-error-expecting-identifier-before-this/325298 "2011-10-08T07:05:58Z")

</div>

I have fixed the two errors, now is an error 1084: Syntax error: Expecting identifier before this. Is it all is correct please help me study. I have put up the original files in attachments package { import fl.…

---

## [Moving a Shape made by graphic class drawing](https://forum.kirupa.com/t/moving-a-shape-made-by-graphic-class-drawing/325295)

<div class="topic-metadata">

**Author:** [@DSlish](https://forum.kirupa.com/u/DSlish)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 2:48pm UTC](https://forum.kirupa.com/t/moving-a-shape-made-by-graphic-class-drawing/325295 "2011-10-07T14:48:50Z")

</div>

I drew a line (stepVoltage) in a fla using the graphics class. Once drawn, I want to move it to the right in an update function, but am having trouble. I tride just moving the line with statements like “stepVoltage.x…

---

## [Multiple Choice Quiz - Help needed - Actionscript 3](https://forum.kirupa.com/t/multiple-choice-quiz-help-needed-actionscript-3/325292)

<div class="topic-metadata">

**Author:** [@GatesheadSmog](https://forum.kirupa.com/u/GatesheadSmog)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 10:55am UTC](https://forum.kirupa.com/t/multiple-choice-quiz-help-needed-actionscript-3/325292 "2011-10-07T10:55:42Z")

</div>

hi folks, I download a multiple quiz (included xml and ascript file) The condensed code within the actions layer is: import fl.controls.Label; var urlRequest:URLRequest = new URLRequest("Questions.xml"); var urlLoader:…

---

## [Piecemaker tutorial or url button](https://forum.kirupa.com/t/piecemaker-tutorial-or-url-button/325291)

<div class="topic-metadata">

**Author:** [@nikodio3](https://forum.kirupa.com/u/nikodio3)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 10:07am UTC](https://forum.kirupa.com/t/piecemaker-tutorial-or-url-button/325291 "2011-10-07T10:07:30Z")

</div>

Hello my friends, I am sure many of you have heard already about a banner rotator Piecemaker.Very good job from the guy.All I want to ask is if there is a tutorial somewhere to do something close to this.Not with so …

---

## [Starling in Flash CS5.5?](https://forum.kirupa.com/t/starling-in-flash-cs5-5/325290)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 7:17am UTC](https://forum.kirupa.com/t/starling-in-flash-cs5-5/325290 "2011-10-07T07:17:49Z")

</div>

I was trying to get starling working for a few hours the other day then gave up on it. Does anyone know how to get it configured properly? I downloaded the new global player, got the new .swc libraries. It stopped thro…

---

## [Connecting to PHPAMF from air app](https://forum.kirupa.com/t/connecting-to-phpamf-from-air-app/325289)

<div class="topic-metadata">

**Author:** [@mrpercival](https://forum.kirupa.com/u/mrpercival)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 5:56am UTC](https://forum.kirupa.com/t/connecting-to-phpamf-from-air-app/325289 "2011-10-07T05:56:53Z")

</div>

I have a flash app that I have running from within a browser. I use PHPAMF to push and pull data from the server. I am converting this to an air app and with the air version, while it seems to be pushing info to the s…

---

## [Tutorial Problem: Accessing Parent from child](https://forum.kirupa.com/t/tutorial-problem-accessing-parent-from-child/325287)

<div class="topic-metadata">

**Author:** [@RZ1](https://forum.kirupa.com/u/RZ1)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 2:46am UTC](https://forum.kirupa.com/t/tutorial-problem-accessing-parent-from-child/325287 "2011-10-07T02:46:17Z")

</div>

In Blend I am getting Compile error when using method described in http://www.kirupa.com/blend\_silverlight/accessing\_parent\_pg1.htm = The Type or namespace name "MainPage" could not be found (are you missing a dir…

---

## [slideTogle](https://forum.kirupa.com/t/slidetogle/325286)

<div class="topic-metadata">

**Author:** [@jakepeg](https://forum.kirupa.com/u/jakepeg)\
**Replies:** 0\
**Last updated:** [October 7, 2011, 2:11am UTC](https://forum.kirupa.com/t/slidetogle/325286 "2011-10-07T02:11:38Z")

</div>

I'm using jquery slide toggle to display a description over an image there is a title div that is always visible at the bottom of the image, mouseover the title and a description will slide up, pushing the title up so …

---

## [Facebook connection using Flash IDE](https://forum.kirupa.com/t/facebook-connection-using-flash-ide/325285)

<div class="topic-metadata">

**Author:** [@tenchy](https://forum.kirupa.com/u/tenchy)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 10:29pm UTC](https://forum.kirupa.com/t/facebook-connection-using-flash-ide/325285 "2011-10-06T22:29:49Z")

</div>

Hi, Ok so for many months now I have still been trying to find a decent tutorial on how to make a connection with Facebook using AS3 and the Flash IDE. I must of tried over 50 tuts by now and none seem to work. Obv…

---

## [JPGEncoder AS3 + PHP](https://forum.kirupa.com/t/jpgencoder-as3-php/325283)

<div class="topic-metadata">

**Author:** [@Piruka](https://forum.kirupa.com/u/Piruka)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 8:20pm UTC](https://forum.kirupa.com/t/jpgencoder-as3-php/325283 "2011-10-06T20:20:23Z")

</div>

Hi I'm having difficulty using the JPGEncoder to save a photo taken by webcam user's hard drive. I need that when the user clicks save photo finish in HD, following my AS3 code below: private function savingImage()…

---

## [ComboBox Height insanity](https://forum.kirupa.com/t/combobox-height-insanity/325282)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 6:39pm UTC](https://forum.kirupa.com/t/combobox-height-insanity/325282 "2011-10-06T18:39:24Z")

</div>

Hello all - every time I add a combobox to a sprite, the sprite grows by 100 pixels in height even though the combobox itself is only about 28 pixels in height. Has anyone else run into this before?

---

## [AS3 preloader - code only, no stage. Help!](https://forum.kirupa.com/t/as3-preloader-code-only-no-stage-help/325279)

<div class="topic-metadata">

**Author:** [@designCannon](https://forum.kirupa.com/u/designCannon)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 4:41pm UTC](https://forum.kirupa.com/t/as3-preloader-code-only-no-stage-help/325279 "2011-10-06T16:41:55Z")

</div>

(how do I preserve the line breaks in my code for this post?)I am trying to add a preloader to my slideshow app to show the amount of load progress for the stage itself. My Preloader() event is firing, but loadProgress i…

---

## [GTween animation not always animating](https://forum.kirupa.com/t/gtween-animation-not-always-animating/325275)

<div class="topic-metadata">

**Author:** [@tinestram](https://forum.kirupa.com/u/tinestram)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 1:26pm UTC](https://forum.kirupa.com/t/gtween-animation-not-always-animating/325275 "2011-10-06T13:26:21Z")

</div>

I'm using a GTween to move a character across the screen, so it's only tweening the x value. I want the character to 'jump' when it's tapped, so I made another GTween object to handle that animation. I've set it up like …

---

## [Datatype syntax](https://forum.kirupa.com/t/datatype-syntax/325273)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 10:20am UTC](https://forum.kirupa.com/t/datatype-syntax/325273 "2011-10-06T10:20:11Z")

</div>

hiy'all I have a ref to an object in the library var ballClass:Class = Ball; then later on populating it like so: var obj:\* = new ballClass(); what does this :\* mean? ..................///!

---

## [Stage3D - Not possible to put content underneath?](https://forum.kirupa.com/t/stage3d-not-possible-to-put-content-underneath/325272)

<div class="topic-metadata">

**Author:** [@reppinfreedom](https://forum.kirupa.com/u/reppinfreedom)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 8:19am UTC](https://forum.kirupa.com/t/stage3d-not-possible-to-put-content-underneath/325272 "2011-10-06T08:19:19Z")

</div>

Is it completely impossible to put movieclips and sprites underneath the 3D layer? Eg, you can't load a swf with 3D content and show it on top?

---

## [How to stop an event after 10 seconds by using timer?](https://forum.kirupa.com/t/how-to-stop-an-event-after-10-seconds-by-using-timer/325271)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [October 6, 2011, 5:19am UTC](https://forum.kirupa.com/t/how-to-stop-an-event-after-10-seconds-by-using-timer/325271 "2011-10-06T05:19:23Z")

</div>

Hi, The following code for starting an event is quite okay. But how can I \*\*stop \*\*it after \*\*10 \*\*seconds as it won't require anymore after 10 seconds of animation. I am using actionscript 3. Please help me in this…

---

## [Garbage Collection, Processor and Memory Efficiency Q's](https://forum.kirupa.com/t/garbage-collection-processor-and-memory-efficiency-qs/325266)

<div class="topic-metadata">

**Author:** [@tmb](https://forum.kirupa.com/u/tmb)\
**Replies:** 0\
**Last updated:** [October 5, 2011, 10:05pm UTC](https://forum.kirupa.com/t/garbage-collection-processor-and-memory-efficiency-qs/325266 "2011-10-05T22:05:50Z")

</div>

I can use a few suggestions on how to handle a bind I may have worked myself into on a current Flash project. I am working in Actionscript 3.0 for only the second time and have run up against a processor utilization and…

---

## [URGENT: Trouble loading and unloading movieclips in the same button - only works once](https://forum.kirupa.com/t/urgent-trouble-loading-and-unloading-movieclips-in-the-same-button-only-works-once/325263)

<div class="topic-metadata">

**Author:** [@jen\_wen](https://forum.kirupa.com/u/jen_wen)\
**Replies:** 0\
**Last updated:** [October 5, 2011, 3:11pm UTC](https://forum.kirupa.com/t/urgent-trouble-loading-and-unloading-movieclips-in-the-same-button-only-works-once/325263 "2011-10-05T15:11:55Z")

</div>

Hello all, I'm trying to load and unload a MovieClip with the same button. And it works, but it will only let me load and unload the MC once. After the first time, it stops loading. I believe this is because after the f…

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

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