# programming

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

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

**Page:** 177

---

## [Flash navigation for Flex website](https://forum.kirupa.com/t/flash-navigation-for-flex-website/328046)

<div class="topic-metadata">

**Author:** [@Domen](https://forum.kirupa.com/u/Domen)\
**Replies:** 0\
**Last updated:** [April 15, 2012, 2:41pm UTC](https://forum.kirupa.com/t/flash-navigation-for-flex-website/328046 "2012-04-15T14:41:09Z")

</div>

I made an navigation in Flash which than loaded (embed swf) to Flash Builder project (where I made all other content). First test - everithing worked fine, but than I need to make few aesthetic changes with navigation.…

---

## [I am IN HUGE Trouble](https://forum.kirupa.com/t/i-am-in-huge-trouble/328045)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [April 15, 2012, 6:29am UTC](https://forum.kirupa.com/t/i-am-in-huge-trouble/328045 "2012-04-15T06:29:38Z")

</div>

I publish my swf, everything works great. I make a preloader that seems to run well and here are the actions: var l:Loader=new Loader();l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,loop); l.contentLoad…

---

## [Export Animated Gif With Internal MovieClips](https://forum.kirupa.com/t/export-animated-gif-with-internal-movieclips/328043)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [April 15, 2012, 4:32am UTC](https://forum.kirupa.com/t/export-animated-gif-with-internal-movieclips/328043 "2012-04-15T04:32:06Z")

</div>

Im having a problem where i have a project with 1 frame but in that 1 frame is a movie clip that has more frames inside of it but when i export as a gif it only shows the 1 frame. how can i export my project to an animat…

---

## [Passing FlashVars for testing](https://forum.kirupa.com/t/passing-flashvars-for-testing/328041)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [April 15, 2012, 3:03am UTC](https://forum.kirupa.com/t/passing-flashvars-for-testing/328041 "2012-04-15T03:03:04Z")

</div>

Is there a there a way to run a movie with url variables passed? So instead of test.swf, it would run as test.swf?var=1&var2=2

---

## [I'm stuck! Please help... Its those pesky button arrays](https://forum.kirupa.com/t/im-stuck-please-help-its-those-pesky-button-arrays/328038)

<div class="topic-metadata">

**Author:** [@seth42](https://forum.kirupa.com/u/seth42)\
**Replies:** 0\
**Last updated:** [April 14, 2012, 11:52pm UTC](https://forum.kirupa.com/t/im-stuck-please-help-its-those-pesky-button-arrays/328038 "2012-04-14T23:52:52Z")

</div>

Hello, I have been trying to solve this for a week now, sadly to no avail. I need to change the box format that this code puts my buttons into. I would like it just to be one line of buttons. //////// Code: fm\_button…

---

## [Packing and repacking an APK file](https://forum.kirupa.com/t/packing-and-repacking-an-apk-file/328035)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [April 14, 2012, 6:45pm UTC](https://forum.kirupa.com/t/packing-and-repacking-an-apk-file/328035 "2012-04-14T18:45:16Z")

</div>

I'm creating a software that will guide the user through a few steps, to publish an android application (APK file). The way I am doing this, is that the APK file is already compiled, and all I need to do is replace an …

---

## [Pitiful Preloader Problem](https://forum.kirupa.com/t/pitiful-preloader-problem/328034)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [April 14, 2012, 6:45pm UTC](https://forum.kirupa.com/t/pitiful-preloader-problem/328034 "2012-04-14T18:45:04Z")

</div>

I'm using flashDevelop and I chose the as3 project with preloader but: A. It dosen't work. It gives me this line in my application class\> import flash.net.registerClassAlias; /\*\* \* ... \* @author Ro…

---

## [How to solve the resizing problem?](https://forum.kirupa.com/t/how-to-solve-the-resizing-problem/328032)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [April 14, 2012, 12:56pm UTC](https://forum.kirupa.com/t/how-to-solve-the-resizing-problem/328032 "2012-04-14T12:56:20Z")

</div>

Hi, I am resizing my .swf file according to browser size using AS3. It is working fine. But problem occurs only when an object goes x=-300 (x, or y but in negative numbers) on stage. Means when the object goes up the s…

---

## [Loop video but play audio once only](https://forum.kirupa.com/t/loop-video-but-play-audio-once-only/328029)

<div class="topic-metadata">

**Author:** [@johnjarvis](https://forum.kirupa.com/u/johnjarvis)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 11:00pm UTC](https://forum.kirupa.com/t/loop-video-but-play-audio-once-only/328029 "2012-04-13T23:00:19Z")

</div>

Hi there, I need to create a flash video for a website of a product rotating through 360 degrees - looping seamlessly. This will be 100 frames long. I then need to add a 500 frame voice over. I need to optimize file …

---

## [Lining up buttons over progressive video download with cue points](https://forum.kirupa.com/t/lining-up-buttons-over-progressive-video-download-with-cue-points/328028)

<div class="topic-metadata">

**Author:** [@johnjarvis](https://forum.kirupa.com/u/johnjarvis)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 10:58pm UTC](https://forum.kirupa.com/t/lining-up-buttons-over-progressive-video-download-with-cue-points/328028 "2012-04-13T22:58:36Z")

</div>

Hi All, I'm not a noobie to flash but I havent used it for a few years...so very rusty! I am looking to create something like this: http://www.wintertale.cartier.co.uk/#/en-uk/precious-objects-for-her Basically a v…

---

## [Need help with AS2 accordion feature](https://forum.kirupa.com/t/need-help-with-as2-accordion-feature/328025)

<div class="topic-metadata">

**Author:** [@avaughn](https://forum.kirupa.com/u/avaughn)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 4:34pm UTC](https://forum.kirupa.com/t/need-help-with-as2-accordion-feature/328025 "2012-04-13T16:34:25Z")

</div>

I have developed this accordion display. If you run it you will see it works nicely however I want to limit it to only having one panel open at a time. Ideally if you click on "A" (it opens) then you click on any one of …

---

## [What is the best way to do drag/drop? Should I use hit test code?](https://forum.kirupa.com/t/what-is-the-best-way-to-do-drag-drop-should-i-use-hit-test-code/328021)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 1:03pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-do-drag-drop-should-i-use-hit-test-code/328021 "2012-04-13T13:03:55Z")

</div>

Hello, I am trying to do a fairly simple drag/drop. I have it mostly working but when I drop the draggable object, the mouse must be directly over the target object in order for it to 'see' the target object. In other …

---

## [iOS embed video in ipa, sluggish? flash CS5](https://forum.kirupa.com/t/ios-embed-video-in-ipa-sluggish-flash-cs5/328020)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 10:05am UTC](https://forum.kirupa.com/t/ios-embed-video-in-ipa-sluggish-flash-cs5/328020 "2012-04-13T10:05:39Z")

</div>

I have a video 1024x560 that is an flv, and on the device, the video has a very sluggish playback. I can't seem to find any iOS specific resources on how to succesfully embed a video in the iOS export?

---

## [AS3: clear a single line graphics from its multiple instance upon click](https://forum.kirupa.com/t/as3-clear-a-single-line-graphics-from-its-multiple-instance-upon-click/328018)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 8:45am UTC](https://forum.kirupa.com/t/as3-clear-a-single-line-graphics-from-its-multiple-instance-upon-click/328018 "2012-04-13T08:45:13Z")

</div>

hello Everybody, I am trying to delete a single line using graphics.clear() method but it clears all the instance of lines created by lineTo() method. I want to remove a single line upon click from bunch of its multiple …

---

## [Problem while exporting swf](https://forum.kirupa.com/t/problem-while-exporting-swf/328017)

<div class="topic-metadata">

**Author:** [@trnghosh](https://forum.kirupa.com/u/trnghosh)\
**Replies:** 0\
**Last updated:** [April 13, 2012, 2:27am UTC](https://forum.kirupa.com/t/problem-while-exporting-swf/328017 "2012-04-13T02:27:32Z")

</div>

While trying to exporting swf in a flash AS 3 template I got this error. C:\\Documents and Settings\\INDIA\\Desktop\\finalSiteV1\\flash\\Main.as, Line 136 1046: Type was not found or was not a compile-time constant: Templ…

---

## [How do you write the following Flex code to AS3?](https://forum.kirupa.com/t/how-do-you-write-the-following-flex-code-to-as3/328014)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 8:23pm UTC](https://forum.kirupa.com/t/how-do-you-write-the-following-flex-code-to-as3/328014 "2012-04-12T20:23:58Z")

</div>

\[Embed(source="/assets/green\_word.png")\] private var greenTexture:Class;

---

## [XML Loader](https://forum.kirupa.com/t/xml-loader/328013)

<div class="topic-metadata">

**Author:** [@jbsosbj](https://forum.kirupa.com/u/jbsosbj)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 7:30pm UTC](https://forum.kirupa.com/t/xml-loader/328013 "2012-04-12T19:30:18Z")

</div>

Hi. I want to create a flash movie that uses XML to load some data. I want each line of data to appear one by one when a user clicks on the screen. So far I have all my data added to the screen but I'm not sure how to wr…

---

## [CS5.5 Font embedding horror (bug, not "does anyone know how to embed fonts?")](https://forum.kirupa.com/t/cs5-5-font-embedding-horror-bug-not-does-anyone-know-how-to-embed-fonts/328011)

<div class="topic-metadata">

**Author:** [@magarik](https://forum.kirupa.com/u/magarik)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 6:17pm UTC](https://forum.kirupa.com/t/cs5-5-font-embedding-horror-bug-not-does-anyone-know-how-to-embed-fonts/328011 "2012-04-12T18:17:50Z")

</div>

I am using three fonts of the Helvetica typeface, embedding them with the embed metatag, font files inside project, openType. I noticed that for some reason the bold font looks identical to the roman font. After 4 ho…

---

## [Load external image to fill movieclip bg](https://forum.kirupa.com/t/load-external-image-to-fill-movieclip-bg/328009)

<div class="topic-metadata">

**Author:** [@Sesinet](https://forum.kirupa.com/u/Sesinet)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 8:01am UTC](https://forum.kirupa.com/t/load-external-image-to-fill-movieclip-bg/328009 "2012-04-12T08:01:25Z")

</div>

Hi guys, I need to fill some movieclip with an external image in AS3. I know how to use an image contained in the FLA's library as background filling, but I don't know how to do this with an external loaded image. Than…

---

## [Dynamically embedded swf, externalInterface call](https://forum.kirupa.com/t/dynamically-embedded-swf-externalinterface-call/328005)

<div class="topic-metadata">

**Author:** [@seanad](https://forum.kirupa.com/u/seanad)\
**Replies:** 0\
**Last updated:** [April 12, 2012, 5:14am UTC](https://forum.kirupa.com/t/dynamically-embedded-swf-externalinterface-call/328005 "2012-04-12T05:14:09Z")

</div>

Hi all, I have tried this for a couple of days. I created a swf object in window.onload (also tried load it directly), call an as function from js. statically embedded swf works for both IE8 and FF, FF also fine for dyna…

---

## [Maze Tower Defense AI](https://forum.kirupa.com/t/maze-tower-defense-ai/328001)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 8:54pm UTC](https://forum.kirupa.com/t/maze-tower-defense-ai/328001 "2012-04-11T20:54:24Z")

</div>

I am trying to create a tower defense game where the player can place towers anywhere on the stage. Therefore, there is no set path for the enemies to follow, as the map is always changing. I was able to program the en…

---

## [Flash Trivia Game Timer](https://forum.kirupa.com/t/flash-trivia-game-timer/327999)

<div class="topic-metadata">

**Author:** [@Rajab\_Ahmed](https://forum.kirupa.com/u/Rajab_Ahmed)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 5:52pm UTC](https://forum.kirupa.com/t/flash-trivia-game-timer/327999 "2012-04-11T17:52:03Z")

</div>

\[COLOR=#000000\]\[FONT=arial\]Hi their! \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=arial\]I am attempting to make a Flash AS3 trivia game using dynamic text fields etc. I'm struggling with the timer. I have attached the files to …

---

## [Flash Slide presentation - stop/play embedded videos](https://forum.kirupa.com/t/flash-slide-presentation-stop-play-embedded-videos/327998)

<div class="topic-metadata">

**Author:** [@MIRADORO](https://forum.kirupa.com/u/MIRADORO)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 5:17pm UTC](https://forum.kirupa.com/t/flash-slide-presentation-stop-play-embedded-videos/327998 "2012-04-11T17:17:54Z")

</div>

Hi As i am creating my scenes on flash i notice embedded videos do not stop when going into the next slide...is there a way to stop movies when going to the next slide? If i go backwards movie should replay itself fr…

---

## [Flash as powerpoint - Responding to mouse and keyword arrows](https://forum.kirupa.com/t/flash-as-powerpoint-responding-to-mouse-and-keyword-arrows/327996)

<div class="topic-metadata">

**Author:** [@MIRADORO](https://forum.kirupa.com/u/MIRADORO)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 2:18pm UTC](https://forum.kirupa.com/t/flash-as-powerpoint-responding-to-mouse-and-keyword-arrows/327996 "2012-04-11T14:18:43Z")

</div>

Hi Is it posible to custom flash to behave like powerpoint ? can it move to next and previous scene by clicking on keyboard arrows or by using the mouse wheel? \[LEFT\]\[COLOR=#333333\]\[FONT=Arial\]i am working in AS2\[/…

---

## [\[Help\] How to resize MovieClip proportionally?](https://forum.kirupa.com/t/help-how-to-resize-movieclip-proportionally/327995)

<div class="topic-metadata">

**Author:** [@CodeKid23](https://forum.kirupa.com/u/CodeKid23)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 2:03pm UTC](https://forum.kirupa.com/t/help-how-to-resize-movieclip-proportionally/327995 "2012-04-11T14:03:27Z")

</div>

Hi, how to resize movieclip propotionally by dragging the edge of the movie clip? Thanks.

---

## [Acess the properties of a MovieClip inside a Class](https://forum.kirupa.com/t/acess-the-properties-of-a-movieclip-inside-a-class/327992)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 12:27pm UTC](https://forum.kirupa.com/t/acess-the-properties-of-a-movieclip-inside-a-class/327992 "2012-04-11T12:27:04Z")

</div>

I want to turn my previous background in a platform game with his alpha as 0, so i tried this: CurrentStage.newRockyHills.alpha =0; But it doens't work. I also try to remove it (since it is the best option for memory…

---

## [Replace the setChildByIndex order](https://forum.kirupa.com/t/replace-the-setchildbyindex-order/327991)

<div class="topic-metadata">

**Author:** [@MFRS](https://forum.kirupa.com/u/MFRS)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 11:43am UTC](https://forum.kirupa.com/t/replace-the-setchildbyindex-order/327991 "2012-04-11T11:43:44Z")

</div>

I have my background added in the first world of my platform based game like this: else if (lvlArray\* == 'ROCKYHILLS') { var newRockyHills:backRocky = new backRocky; …

---

## [Align in div](https://forum.kirupa.com/t/align-in-div/327990)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 10:53am UTC](https://forum.kirupa.com/t/align-in-div/327990 "2012-04-11T10:53:26Z")

</div>

Hello. Basically, on this page (http://www.media displays.tv/cs.php)I simply want to align the text/link 'read case study' to the bottom of that section. So that it is inline with the bottom of the image to the left of i…

---

## [Dynamic text & superscript](https://forum.kirupa.com/t/dynamic-text-superscript/327989)

<div class="topic-metadata">

**Author:** [@Tiesiog\_Jazokas](https://forum.kirupa.com/u/Tiesiog_Jazokas)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 10:27am UTC](https://forum.kirupa.com/t/dynamic-text-superscript/327989 "2012-04-11T10:27:06Z")

</div>

Any ideas. I have xml prices in dynamic text fiels so I need that after dot(.) will be super class symbols E.g : 100.\[SUP\]33 \[/SUP\]lt

---

## [How do I addChild dynamically using a variable?](https://forum.kirupa.com/t/how-do-i-addchild-dynamically-using-a-variable/327984)

<div class="topic-metadata">

**Author:** [@shava304](https://forum.kirupa.com/u/shava304)\
**Replies:** 0\
**Last updated:** [April 11, 2012, 1:32am UTC](https://forum.kirupa.com/t/how-do-i-addchild-dynamically-using-a-variable/327984 "2012-04-11T01:32:46Z")

</div>

hi AS3 experts, I want to addChild to stage dynamically using a variable. In AS2, i would have done it using eval(). In the attached page1.as file, I want to be able to use the for() loop instead of the commented out …

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

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