# programming

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

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

**Page:** 124

---

## [Dynamic Embed Loop](https://forum.kirupa.com/t/dynamic-embed-loop/330995)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [April 23, 2013, 1:26pm UTC](https://forum.kirupa.com/t/dynamic-embed-loop/330995 "2013-04-23T13:26:46Z")

</div>

I'm aware that embed works when compiling and not at runtime. Is there any way to have a loop within the class of a document that will embed dynamic content? I have embedded a master file list which will contain all of t…

---

## [White screen while loading swf](https://forum.kirupa.com/t/white-screen-while-loading-swf/330994)

<div class="topic-metadata">

**Author:** [@nhubbell](https://forum.kirupa.com/u/nhubbell)\
**Replies:** 0\
**Last updated:** [April 23, 2013, 11:55am UTC](https://forum.kirupa.com/t/white-screen-while-loading-swf/330994 "2013-04-23T11:55:59Z")

</div>

Any reason why an swf loads with a white screen for a moment then the loading bar appears and then the swf plays. The loading bar is visible on the first frame

---

## [How do I make the car slow down when touching walls?](https://forum.kirupa.com/t/how-do-i-make-the-car-slow-down-when-touching-walls/330990)

<div class="topic-metadata">

**Author:** [@gurre](https://forum.kirupa.com/u/gurre)\
**Replies:** 0\
**Last updated:** [April 22, 2013, 12:26pm UTC](https://forum.kirupa.com/t/how-do-i-make-the-car-slow-down-when-touching-walls/330990 "2013-04-22T12:26:03Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hello,\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I'm making a car game and I have made so the car moves when I press the keys. But now I want to car to slow down when it drives into the w…

---

## [MovieClip view area](https://forum.kirupa.com/t/movieclip-view-area/330988)

<div class="topic-metadata">

**Author:** [@Roman\_Ivanickij](https://forum.kirupa.com/u/Roman_Ivanickij)\
**Replies:** 0\
**Last updated:** [April 22, 2013, 6:21am UTC](https://forum.kirupa.com/t/movieclip-view-area/330988 "2013-04-22T06:21:29Z")

</div>

Good day Could you advise me, how can I set a movieClip display area? I got mask animation in my clip, so full width is about 1800px. My Mask got 800. In a fact I see that 800px area, but if I am tracing that Clip width-…

---

## [Class Path not working](https://forum.kirupa.com/t/class-path-not-working/330987)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [April 21, 2013, 4:24pm UTC](https://forum.kirupa.com/t/class-path-not-working/330987 "2013-04-21T16:24:11Z")

</div>

C:\\CollisionDetectionKit\_v15\\com\\coreyoneil\\collision\\CollisionList.as, Line 1 5001: The name of package\*\* 'com.coreyoneil.collision'\*\* does not reflect the location of this file. Please change the package definition's n…

---

## [as3 variable as attribute](https://forum.kirupa.com/t/as3-variable-as-attribute/330986)

<div class="topic-metadata">

**Author:** [@straris](https://forum.kirupa.com/u/straris)\
**Replies:** 0\
**Last updated:** [April 21, 2013, 10:42am UTC](https://forum.kirupa.com/t/as3-variable-as-attribute/330986 "2013-04-21T10:42:31Z")

</div>

Hi, I have a simple php- as3 communication where php returns the attributes live1, live2, live3 etc, in as3 i have event.target.data.live+i; where i is a simple counter that i want to use in order to have even…

---

## [hitTestPoint with nested MovieClips](https://forum.kirupa.com/t/hittestpoint-with-nested-movieclips/330984)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [April 20, 2013, 8:01pm UTC](https://forum.kirupa.com/t/hittestpoint-with-nested-movieclips/330984 "2013-04-20T20:01:17Z")

</div>

I having a problem using hittestPoint. I have a movieClip on the stage(back) that contains another movieclip with some constraints(collisions). I add enemy movieclips with their own class(Enemy) to (back) whic…

---

## [What have I done wrong?](https://forum.kirupa.com/t/what-have-i-done-wrong/330982)

<div class="topic-metadata">

**Author:** [@gurre](https://forum.kirupa.com/u/gurre)\
**Replies:** 0\
**Last updated:** [April 20, 2013, 3:08pm UTC](https://forum.kirupa.com/t/what-have-i-done-wrong/330982 "2013-04-20T15:08:18Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Hello,\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]I'm making a car move. First I imported an image to my document, then I made it in to a symbol. Then I right clicked on the layer and in a…

---

## [Bold / Italic tags not working in dynamic text field](https://forum.kirupa.com/t/bold-italic-tags-not-working-in-dynamic-text-field/330979)

<div class="topic-metadata">

**Author:** [@jiggy1965](https://forum.kirupa.com/u/jiggy1965)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 9:52pm UTC](https://forum.kirupa.com/t/bold-italic-tags-not-working-in-dynamic-text-field/330979 "2013-04-19T21:52:27Z")

</div>

This is driving me crazy, cause I know in theory it should work, but it doesn't. So I've place a dynamic textfield on stage with some fake text which will be replaced. I've imported two fonts: Eurocomic Regular and Eur…

---

## [Problem on line collision](https://forum.kirupa.com/t/problem-on-line-collision/330978)

<div class="topic-metadata">

**Author:** [@3pino](https://forum.kirupa.com/u/3pino)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 6:10pm UTC](https://forum.kirupa.com/t/problem-on-line-collision/330978 "2013-04-19T18:10:44Z")

</div>

Hi. I am creating a minigolf game, i need a collision detector whit free hand line but i cant figure out. Hittest take the boundary of the box. how can i do?

---

## [Call function in 'holder' swf from CLICK in 'loaded' swf](https://forum.kirupa.com/t/call-function-in-holder-swf-from-click-in-loaded-swf/330975)

<div class="topic-metadata">

**Author:** [@createcomm](https://forum.kirupa.com/u/createcomm)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 11:39am UTC](https://forum.kirupa.com/t/call-function-in-holder-swf-from-click-in-loaded-swf/330975 "2013-04-19T11:39:23Z")

</div>

What I want to achieve is this: I have a swf with a bunch of buttons (or mc with buttonmode). This swf is loaded into a 'holder' swf with a URLRequest into a loader. These holders need to go into the Google network and…

---

## [5006: An ActionScript file can not have more than one externally visible definition](https://forum.kirupa.com/t/5006-an-actionscript-file-can-not-have-more-than-one-externally-visible-definition/330974)

<div class="topic-metadata">

**Author:** [@Matt\_Brooking](https://forum.kirupa.com/u/Matt_Brooking)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 8:10am UTC](https://forum.kirupa.com/t/5006-an-actionscript-file-can-not-have-more-than-one-externally-visible-definition/330974 "2013-04-19T08:10:35Z")

</div>

Hi there, Basically I'm creating an application using AS3, its a group project at uni, and I was putting everyone's code together into the one file. The tinkering still isn't complete so I know there are other errors in …

---

## [Problem in sound when loading new SWF](https://forum.kirupa.com/t/problem-in-sound-when-loading-new-swf/330973)

<div class="topic-metadata">

**Author:** [@suj89](https://forum.kirupa.com/u/suj89)\
**Replies:** 0\
**Last updated:** [April 19, 2013, 7:51am UTC](https://forum.kirupa.com/t/problem-in-sound-when-loading-new-swf/330973 "2013-04-19T07:51:42Z")

</div>

import com.greensock.\*; import com.greensock.events.LoaderEvent; import com.greensock.loading.SWFLoader; var intro:SWFLoader = new SWFLoader("main.swf", {container:this, x:0, y:0}); SoundMixer.stopAll(); intro.load()…

---

## [How to load bitmaps fast?](https://forum.kirupa.com/t/how-to-load-bitmaps-fast/330971)

<div class="topic-metadata">

**Author:** [@SnailsAnimation](https://forum.kirupa.com/u/SnailsAnimation)\
**Replies:** 0\
**Last updated:** [April 18, 2013, 8:49pm UTC](https://forum.kirupa.com/t/how-to-load-bitmaps-fast/330971 "2013-04-18T20:49:25Z")

</div>

Hi, We've created a game designed for tablets (like the Kindle and Nook) which contains many bitmap images (200+ PNGs of around 400x800 pixels each). It's a dress-up game so basically when the user touches a button (le…

---

## [How to shuffle/draw cards?](https://forum.kirupa.com/t/how-to-shuffle-draw-cards/330968)

<div class="topic-metadata">

**Author:** [@nerdpocalypse](https://forum.kirupa.com/u/nerdpocalypse)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 6:26pm UTC](https://forum.kirupa.com/t/how-to-shuffle-draw-cards/330968 "2013-04-17T18:26:41Z")

</div>

This will probably end up being extensive, as I do not even really know where to begin. I need to make two decks of cards. One is for spawning zombies, one is for drawing equipment. The zombie card you will just click th…

---

## [How can I make a custom font viewable on different PCs?](https://forum.kirupa.com/t/how-can-i-make-a-custom-font-viewable-on-different-pcs/330967)

<div class="topic-metadata">

**Author:** [@samsoner](https://forum.kirupa.com/u/samsoner)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 6:26pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-custom-font-viewable-on-different-pcs/330967 "2013-04-17T18:26:33Z")

</div>

I embedded a font called League Gothic Regular on my website. I also uploaded various formats of the same font to my site. I used the @font-face method. When I looked at the font from another PC it downgraded to the n…

---

## [Is there any theory as to why using CSS may be better?](https://forum.kirupa.com/t/is-there-any-theory-as-to-why-using-css-may-be-better/330966)

<div class="topic-metadata">

**Author:** [@SoupHead](https://forum.kirupa.com/u/SoupHead)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 4:28pm UTC](https://forum.kirupa.com/t/is-there-any-theory-as-to-why-using-css-may-be-better/330966 "2013-04-17T16:28:39Z")

</div>

I'm currently trying to develop a website for my friends and my band. I have not really worked with HTML much and posted a question a week ago or so. In response I got some answers I was looking for, but I was also told …

---

## [Easy Design Question](https://forum.kirupa.com/t/easy-design-question/330964)

<div class="topic-metadata">

**Author:** [@coachswifetx](https://forum.kirupa.com/u/coachswifetx)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 2:00pm UTC](https://forum.kirupa.com/t/easy-design-question/330964 "2013-04-17T14:00:49Z")

</div>

Hi, I know this question is an easy answer so be easy on me. I am rusty with my jargon and can't remember much from my web design days. Anyways, how do I make a similar layout compared to the link listed below: http:/…

---

## [Need help editing a mouse trail](https://forum.kirupa.com/t/need-help-editing-a-mouse-trail/330962)

<div class="topic-metadata">

**Author:** [@feviffiles](https://forum.kirupa.com/u/feviffiles)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 5:50am UTC](https://forum.kirupa.com/t/need-help-editing-a-mouse-trail/330962 "2013-04-17T05:50:42Z")

</div>

Is there a way to "listen" or record a mouse trail animation, then export it or have it play automatically like a movie? I have a nice magic star mouse trail, but I need a magic star movie to play without a mouse. Thank…

---

## [Call random function from array](https://forum.kirupa.com/t/call-random-function-from-array/330959)

<div class="topic-metadata">

**Author:** [@daejeon](https://forum.kirupa.com/u/daejeon)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 1:41am UTC](https://forum.kirupa.com/t/call-random-function-from-array/330959 "2013-04-17T01:41:00Z")

</div>

Is it possible to have an array of functions, then call and perform a random function from the array on a button click?

---

## [Scoring help](https://forum.kirupa.com/t/scoring-help/330958)

<div class="topic-metadata">

**Author:** [@Thomas\_Macedo](https://forum.kirupa.com/u/Thomas_Macedo)\
**Replies:** 0\
**Last updated:** [April 17, 2013, 12:32am UTC](https://forum.kirupa.com/t/scoring-help/330958 "2013-04-17T00:32:43Z")

</div>

I'm making a simple game and i need to make scoring, that will save towards the levels. I want help with making: Collecting coins Dynamic text that will show the score (example: Score: 10) I hope you under stand me, …

---

## [Sprites & Gravity](https://forum.kirupa.com/t/sprites-gravity/330957)

<div class="topic-metadata">

**Author:** [@DeadManJoe33](https://forum.kirupa.com/u/DeadManJoe33)\
**Replies:** 0\
**Last updated:** [April 16, 2013, 10:22pm UTC](https://forum.kirupa.com/t/sprites-gravity/330957 "2013-04-16T22:22:29Z")

</div>

Ok so the issue I'm having is that I can't get the gravity working for this sprite. I tried attaching the script I have but I'll post it here too, package { import flash.display.MovieClip import flash.events.Event …

---

## [Insert a path and the moviclip's name inside an Array](https://forum.kirupa.com/t/insert-a-path-and-the-moviclips-name-inside-an-array/330955)

<div class="topic-metadata">

**Author:** [@iglota](https://forum.kirupa.com/u/iglota)\
**Replies:** 0\
**Last updated:** [April 16, 2013, 6:17pm UTC](https://forum.kirupa.com/t/insert-a-path-and-the-moviclips-name-inside-an-array/330955 "2013-04-16T18:17:00Z")

</div>

I was trying to put a 'position' in an Array // I Create the Array var matrizFunc:Array=new Array(); // I put what a need inside it matrizFunc \[0\] = 'Tela.AreaInterativaLogin.entrar'; //I call the Array element to …

---

## [Hidden menu: z-index problem maybe?](https://forum.kirupa.com/t/hidden-menu-z-index-problem-maybe/330951)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [April 16, 2013, 10:50am UTC](https://forum.kirupa.com/t/hidden-menu-z-index-problem-maybe/330951 "2013-04-16T10:50:17Z")

</div>

Hey, long time no post. I have just added a slidey image accordion type thing to a site I'm updating but it sits on top of my drop down menus. ('Services' and 'gallery' have drop downs, click on 'contact' to see them w…

---

## [Remove a group of Stage WebView](https://forum.kirupa.com/t/remove-a-group-of-stage-webview/330949)

<div class="topic-metadata">

**Author:** [@bradholz](https://forum.kirupa.com/u/bradholz)\
**Replies:** 0\
**Last updated:** [April 16, 2013, 1:56am UTC](https://forum.kirupa.com/t/remove-a-group-of-stage-webview/330949 "2013-04-16T01:56:14Z")

</div>

I Have 12 buttons that load a different WebView to the stage, And i want to have a button on the stage that disposes of them. not to sure, how to go about it cheers

---

## [Remove a StaticText-object](https://forum.kirupa.com/t/remove-a-statictext-object/330946)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [April 15, 2013, 2:59am UTC](https://forum.kirupa.com/t/remove-a-statictext-object/330946 "2013-04-15T02:59:43Z")

</div>

I am able to make my StaticText-object invisible by setting the visible option to false (goes away), but I don't seems to be able to remove it using removeChild. This is how I access it: var child:StaticText = conta…

---

## [All in one](https://forum.kirupa.com/t/all-in-one/330945)

<div class="topic-metadata">

**Author:** [@bourgas02](https://forum.kirupa.com/u/bourgas02)\
**Replies:** 0\
**Last updated:** [April 14, 2013, 8:27pm UTC](https://forum.kirupa.com/t/all-in-one/330945 "2013-04-14T20:27:58Z")

</div>

Why does Flash professional need so much extra "add ons" to make it function as a simple game platform (Scout, Flash builder, Starling etc.) can't they streamline it into for lack of a better description like a Game S…

---

## [VerifyError: Error #1014:](https://forum.kirupa.com/t/verifyerror-error-1014/330943)

<div class="topic-metadata">

**Author:** [@ventoline](https://forum.kirupa.com/u/ventoline)\
**Replies:** 0\
**Last updated:** [April 14, 2013, 5:41pm UTC](https://forum.kirupa.com/t/verifyerror-error-1014/330943 "2013-04-14T17:41:59Z")

</div>

Returning on Flash Builder after a while.. i cant get over this error \[SWF\] testDemos.swf - 2,764,491 bytes after decompression VerifyError: Error #1014: Class com.as3nui.nativeExtensions.air.kinect::Kinect could not …

---

## [XML Help - xml structure](https://forum.kirupa.com/t/xml-help-xml-structure/330942)

<div class="topic-metadata">

**Author:** [@daejeon](https://forum.kirupa.com/u/daejeon)\
**Replies:** 0\
**Last updated:** [April 14, 2013, 5:17am UTC](https://forum.kirupa.com/t/xml-help-xml-structure/330942 "2013-04-14T05:17:59Z")

</div>

I've started looking into an old project that I stopped midway. I've never been good with xml, and I can't remember for the life of me how I structured the xml for this particular file. function loadCategories(topic)…

---

## [ActionScript 3.0 Class Question](https://forum.kirupa.com/t/actionscript-3-0-class-question/330937)

<div class="topic-metadata">

**Author:** [@Ficho](https://forum.kirupa.com/u/Ficho)\
**Replies:** 0\
**Last updated:** [April 12, 2013, 8:59am UTC](https://forum.kirupa.com/t/actionscript-3-0-class-question/330937 "2013-04-12T08:59:41Z")

</div>

Hello! I got a question regarding actionscript classes. I want to know if there is anyway that i can have multiple classes in one fla? Or differenet classes on different frames or scenes? For example a tic-tac toe game o…

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

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