# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=76

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

**Page:** 77

---

## [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; …

---

## [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 …

---

## [Ending the use of a class within AS3](https://forum.kirupa.com/t/ending-the-use-of-a-class-within-as3/327980)

<div class="topic-metadata">

**Author:** [@Campbells](https://forum.kirupa.com/u/Campbells)\
**Replies:** 0\
**Last updated:** [April 10, 2012, 7:36pm UTC](https://forum.kirupa.com/t/ending-the-use-of-a-class-within-as3/327980 "2012-04-10T19:36:25Z")

</div>

Hi Kirupa members, Long time reader, first time posting so hope my etiquette is in order. I have a program I am building that at the moment has two classes (more to add in later), a main class and a visual training…

---

## [Senocular: Layout Manager: AS3: example usage: code-only: how-to: construct mini-demo](https://forum.kirupa.com/t/senocular-layout-manager-as3-example-usage-code-only-how-to-construct-mini-demo/327975)

<div class="topic-metadata">

**Author:** [@Gary\_Bernstein](https://forum.kirupa.com/u/Gary_Bernstein)\
**Replies:** 0\
**Last updated:** [April 10, 2012, 10:42am UTC](https://forum.kirupa.com/t/senocular-layout-manager-as3-example-usage-code-only-how-to-construct-mini-demo/327975 "2012-04-10T10:42:00Z")

</div>

Hi, Issue: Senocular.com has this Layout demo of pretty much what I need. But where is the demo .as file that creates it using the Layout library? I only see some .fla files with a bit of code nestled therein (whi…

---

## [Flash CS5/AS3 :: Problem with playing audio loaded in an external swf](https://forum.kirupa.com/t/flash-cs5-as3-problem-with-playing-audio-loaded-in-an-external-swf/327971)

<div class="topic-metadata">

**Author:** [@vega](https://forum.kirupa.com/u/vega)\
**Replies:** 0\
**Last updated:** [April 10, 2012, 6:14am UTC](https://forum.kirupa.com/t/flash-cs5-as3-problem-with-playing-audio-loaded-in-an-external-swf/327971 "2012-04-10T06:14:03Z")

</div>

Hi, I am having a strange issue which seems to be happening because of a call to play an externally loaded audio clip. The setup is as follows: \[LIST\] \[\*\]The main container loads the configuration xml files, the swf…

---

## [Save Image](https://forum.kirupa.com/t/save-image/327967)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [April 9, 2012, 7:35pm UTC](https://forum.kirupa.com/t/save-image/327967 "2012-04-09T19:35:58Z")

</div>

Hey! I'm creating a tool where the user can create his own room. The part I'm working now is to save this room as a Jpeg. I've googled some and found some ways to do it, but they except it to be just one bitmap, but the …

---

## [Things don't snap to the guides like I think they should](https://forum.kirupa.com/t/things-dont-snap-to-the-guides-like-i-think-they-should/327963)

<div class="topic-metadata">

**Author:** [@edowney](https://forum.kirupa.com/u/edowney)\
**Replies:** 0\
**Last updated:** [April 9, 2012, 2:17pm UTC](https://forum.kirupa.com/t/things-dont-snap-to-the-guides-like-i-think-they-should/327963 "2012-04-09T14:17:08Z")

</div>

I just started using Flash CS3 over the weekend. I have a fair amount of experience working with Photoshop so some parts of Flash weren't a big stretch for me. What I seem to be having issues with is getting things to …

---

## [Make script work in As3](https://forum.kirupa.com/t/make-script-work-in-as3/327960)

<div class="topic-metadata">

**Author:** [@FuglyBastard](https://forum.kirupa.com/u/FuglyBastard)\
**Replies:** 0\
**Last updated:** [April 9, 2012, 3:23am UTC](https://forum.kirupa.com/t/make-script-work-in-as3/327960 "2012-04-09T03:23:06Z")

</div>

I have a script that makes a set of frames move back and forth by use of the mouse in As2 I would like to use it in As3 but couldnt figure out how to modify it. Could someone please help me make this work in As3 Thanks …

---

## [Fade out audio clip when clicking a button?](https://forum.kirupa.com/t/fade-out-audio-clip-when-clicking-a-button/327959)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [April 9, 2012, 3:17am UTC](https://forum.kirupa.com/t/fade-out-audio-clip-when-clicking-a-button/327959 "2012-04-09T03:17:22Z")

</div>

I have intro audio music playing on a project I am working on. The audio is in the timeline (but doesn't necessarily have to be), and when I click a button to move away from it, it just keeps playing. I can use SoundMixe…

---

## [Max/MinChars](https://forum.kirupa.com/t/max-minchars/327958)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [April 8, 2012, 6:05pm UTC](https://forum.kirupa.com/t/max-minchars/327958 "2012-04-08T18:05:44Z")

</div>

Hey all, I've noticed that AS3 doesn't seem to contain a way of defining a minimum amount of characters required but does have a maximum. Any way to do this with a textfield?

---

## [Concatination Fustulation](https://forum.kirupa.com/t/concatination-fustulation/327957)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [April 8, 2012, 5:33pm UTC](https://forum.kirupa.com/t/concatination-fustulation/327957 "2012-04-08T17:33:39Z")

</div>

A random number between 1 and 10 is generated. There are 10 soundclips with the names cb1,cb2,cb3 etc I want to concatinate(am I using that correctly?) the random number with cb to play one of those 10 sounds. The o…

---

## [Posting from AS3 to Twitter](https://forum.kirupa.com/t/posting-from-as3-to-twitter/327956)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [April 8, 2012, 3:12pm UTC](https://forum.kirupa.com/t/posting-from-as3-to-twitter/327956 "2012-04-08T15:12:51Z")

</div>

Hey all, I've got a main menu and a game which loads as a separate swf from that menu. So far when the player enters their name at the start on the main menu I can get this name to post to Twitter. Also when the player…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=75)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=77)
