# flash

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

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

**Page:** 740

---

## [hitTestObject - any child](https://forum.kirupa.com/t/hittestobject-any-child/279404)

<div class="topic-metadata">

**Author:** [@trickeyd](https://forum.kirupa.com/u/trickeyd)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 12:39pm UTC](https://forum.kirupa.com/t/hittestobject-any-child/279404 "2009-01-14T12:39:22Z")

</div>

Hi, I was wondering if there is a way to run a hit test on any child within a MovieClip. I am trying to create a maze MovieClip which contains a number of Wall children. I have an object that needs to know when it hi…

---

## [McCain Potato Parade...how?](https://forum.kirupa.com/t/mccain-potato-parade-how/279399)

<div class="topic-metadata">

**Author:** [@wesleybramwell](https://forum.kirupa.com/u/wesleybramwell)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:52am UTC](https://forum.kirupa.com/t/mccain-potato-parade-how/279399 "2009-01-14T11:52:37Z")

</div>

Hi guys I'm sure most have seen www.potatoparade.com, my question is how does one go about creating the text from user input, and getting it displayed over an image/video?

---

## [Papervision - get 2D bounding rectangle](https://forum.kirupa.com/t/papervision-get-2d-bounding-rectangle/279397)

<div class="topic-metadata">

**Author:** [@Myung](https://forum.kirupa.com/u/Myung)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:32am UTC](https://forum.kirupa.com/t/papervision-get-2d-bounding-rectangle/279397 "2009-01-14T11:32:59Z")

</div>

Hi! Does anyone know how do I get the 2D dimensions of a 3D Object? I know I can get the position of the center point with the .screen property, but when with all the geom rect? TNX!

---

## [Drawing with Mouse](https://forum.kirupa.com/t/drawing-with-mouse/279396)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:17am UTC](https://forum.kirupa.com/t/drawing-with-mouse/279396 "2009-01-14T11:17:19Z")

</div>

Hi All, I've got a problem with my code and I'm not to sure whats wrong. It seems like it's drawing behind the MC. I've attached the files. Thanks vxd

---

## [CS4 interface](https://forum.kirupa.com/t/cs4-interface/279395)

<div class="topic-metadata">

**Author:** [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 11:15am UTC](https://forum.kirupa.com/t/cs4-interface/279395 "2009-01-14T11:15:23Z")

</div>

Hey Kirupians Ive been really fond of the new version of flash, with features like workspaces, AIR and the likes. But the new way of docking windows is.. not me. I usually work with an extra monitor only containing the…

---

## [What is the default component label font](https://forum.kirupa.com/t/what-is-the-default-component-label-font/279391)

<div class="topic-metadata">

**Author:** [@simononestop](https://forum.kirupa.com/u/simononestop)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 8:01am UTC](https://forum.kirupa.com/t/what-is-the-default-component-label-font/279391 "2009-01-14T08:01:29Z")

</div>

Any one know what the default label font that flash uses when you add a component???? Ive searched around Im trying ti match it as it looks much better than other fonts???

---

## [AS3 What is a static class?](https://forum.kirupa.com/t/as3-what-is-a-static-class/279385)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 5:47am UTC](https://forum.kirupa.com/t/as3-what-is-a-static-class/279385 "2009-01-14T05:47:37Z")

</div>

I was wandering whether is it required that all the functions and variables must be static in order to be a static class. Like Math.random() Or having 1 function or variable in a class is static makes it as "static cl…

---

## ['else' encountered without matching 'if' error](https://forum.kirupa.com/t/else-encountered-without-matching-if-error/279384)

<div class="topic-metadata">

**Author:** [@strawhat](https://forum.kirupa.com/u/strawhat)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 5:43am UTC](https://forum.kirupa.com/t/else-encountered-without-matching-if-error/279384 "2009-01-14T05:43:13Z")

</div>

checkTheMouse = function() { cursor\_mc.\_x = \_xmouse; cursor\_mc.\_y = \_ymouse; if (\_xmouse &lt; centerX-10) { panLeft(cursor\_mc.gotoAndStop(2)); } else if (\_xmouse &gt; centerX+10 ) { panRight(cursor\_mc…

---

## [Check what's under the mouse?](https://forum.kirupa.com/t/check-whats-under-the-mouse/279380)

<div class="topic-metadata">

**Author:** [@cholin](https://forum.kirupa.com/u/cholin)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 4:04am UTC](https://forum.kirupa.com/t/check-whats-under-the-mouse/279380 "2009-01-14T04:04:28Z")

</div>

I have a movieclip that lists a bunch of song artists, and I need to find out which movieclip is underneath the mouse at a given time. They are all different sizes so I can't run a simple for loop. The only thing I c…

---

## [checkPolicyFile = true;](https://forum.kirupa.com/t/checkpolicyfile-true/279378)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 3:44am UTC](https://forum.kirupa.com/t/checkpolicyfile-true/279378 "2009-01-14T03:44:30Z")

</div>

var context:LoaderContext = new LoaderContext(); context.checkPolicyFile = true; var loader:Loader = new Loader(); //Security.checkPolicyFile = true; var img\_url:String = img\_src; var reques…

---

## [Question on pop up windows Flash8](https://forum.kirupa.com/t/question-on-pop-up-windows-flash8/279377)

<div class="topic-metadata">

**Author:** [@Guarie](https://forum.kirupa.com/u/Guarie)\
**Replies:** 0\
**Last updated:** [January 14, 2009, 3:16am UTC](https://forum.kirupa.com/t/question-on-pop-up-windows-flash8/279377 "2009-01-14T03:16:17Z")

</div>

Hi guys I am in the middle of a commercial job for a client and I am becoming unstuck in getting it all finished. I'm hoping someone here can point me in the right direction... hope you can stick with me through my lon…

---

## [Line spacing changes when movie is compiled](https://forum.kirupa.com/t/line-spacing-changes-when-movie-is-compiled/279367)

<div class="topic-metadata">

**Author:** [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 11:35pm UTC](https://forum.kirupa.com/t/line-spacing-changes-when-movie-is-compiled/279367 "2009-01-13T23:35:38Z")

</div>

EDIT: Bah, it looks like static text boxes can't do justified text... Hey, I'm having an annoying issue... I have some simple static text in a simple swf, but when I test the movie, the line spacing becomes much less t…

---

## [Fullscreen on Multiple Monitors](https://forum.kirupa.com/t/fullscreen-on-multiple-monitors/279366)

<div class="topic-metadata">

**Author:** [@icio](https://forum.kirupa.com/u/icio)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 11:35pm UTC](https://forum.kirupa.com/t/fullscreen-on-multiple-monitors/279366 "2009-01-13T23:35:00Z")

</div>

Does Actionscript 3 have, or are there methods of, getting a list of the monitors connected to a PC and selecting which one you would like to go to fullscreen in? Thanks

---

## [Passing Variables from PHP to Flash](https://forum.kirupa.com/t/passing-variables-from-php-to-flash/279365)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 11:27pm UTC](https://forum.kirupa.com/t/passing-variables-from-php-to-flash/279365 "2009-01-13T23:27:12Z")

</div>

I have never had a problem passing variables from PHP to flash until now. The difference is that I'm trying to pass an IP Address. Action Script 3: var url:String = "http://localhost:8888/TheTest.php"; var request:U…

---

## [Embedded fonts stopped working](https://forum.kirupa.com/t/embedded-fonts-stopped-working/279364)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 11:19pm UTC](https://forum.kirupa.com/t/embedded-fonts-stopped-working/279364 "2009-01-13T23:19:43Z")

</div>

Hey, I am trying to embed a couple of fonts into a movie. I have created the symbols in the library and set their linkage values. In my code, I have them defined as follows: var businessNameFont:Font = new BusinessNam…

---

## [Removing Dynamic SWF Question](https://forum.kirupa.com/t/removing-dynamic-swf-question/279361)

<div class="topic-metadata">

**Author:** [@coloradocelt](https://forum.kirupa.com/u/coloradocelt)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 11:10pm UTC](https://forum.kirupa.com/t/removing-dynamic-swf-question/279361 "2009-01-13T23:10:51Z")

</div>

Hey all, I am placing an external swf files with the following code: var removeSpaces0:RegExp = / /g; var noSpaces0:String = String(itemZero); var structureName0:String = (noSpaces0.replace(removeS…

---

## [(Flash MX) Need help with a hitTest](https://forum.kirupa.com/t/flash-mx-need-help-with-a-hittest/279360)

<div class="topic-metadata">

**Author:** [@Oboe\_Passion](https://forum.kirupa.com/u/Oboe_Passion)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 10:45pm UTC](https://forum.kirupa.com/t/flash-mx-need-help-with-a-hittest/279360 "2009-01-13T22:45:53Z")

</div>

I am making a mouse avoider game and I have a mc (cursor) that follows the mouse with a very small delay and I have a mc (lvl) which the cursor must navigate through. When I run a normal hitTest function it doesn't discr…

---

## [gotoAndPlay(20) going to frame 1](https://forum.kirupa.com/t/gotoandplay-20-going-to-frame-1/279357)

<div class="topic-metadata">

**Author:** [@rachel\_612](https://forum.kirupa.com/u/rachel_612)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 10:06pm UTC](https://forum.kirupa.com/t/gotoandplay-20-going-to-frame-1/279357 "2009-01-13T22:06:26Z")

</div>

I am using Flash CS3 with AS2 to write code that will fade images in and out, looping from the last frame back to frame 20. Loading the images with XML is working, as is the fading in and out. Unfortunately, when it rea…

---

## [Problem with flash player in IE](https://forum.kirupa.com/t/problem-with-flash-player-in-ie/279350)

<div class="topic-metadata">

**Author:** [@PearlWhiteMedia](https://forum.kirupa.com/u/PearlWhiteMedia)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 8:15pm UTC](https://forum.kirupa.com/t/problem-with-flash-player-in-ie/279350 "2009-01-13T20:15:08Z")

</div>

I embedded a flash player onto my customers website. Works in firefox but in IE it shows a red X. How would i go about fixing this? Also in firefox the video works but shows a box with the url in it in the background…

---

## [Error #1069: Property \_scale not found on scope.SiteTextUi and there is no default va](https://forum.kirupa.com/t/error-1069-property--scale-not-found-on-scope-sitetextui-and-there-is-no-default-va/279349)

<div class="topic-metadata">

**Author:** [@jrealist](https://forum.kirupa.com/u/jrealist)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 8:14pm UTC](https://forum.kirupa.com/t/error-1069-property--scale-not-found-on-scope-sitetextui-and-there-is-no-default-va/279349 "2009-01-13T20:14:11Z")

</div>

I really need help fixing this error ... ReferenceError: Error #1069: Property \_scale not found on scope.SiteTextUi and there is no default value. I am using Caurina Tweener I've been informed on other forums tha…

---

## [Timeline based animation runs choppy in some browsers](https://forum.kirupa.com/t/timeline-based-animation-runs-choppy-in-some-browsers/279347)

<div class="topic-metadata">

**Author:** [@kwolf](https://forum.kirupa.com/u/kwolf)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 7:22pm UTC](https://forum.kirupa.com/t/timeline-based-animation-runs-choppy-in-some-browsers/279347 "2009-01-13T19:22:32Z")

</div>

Try to wrap my head around why sometimes a timeline base animation will run choppy in some browsers. Is it processor speed vs frame rate. I boosted my framerate to 29.97 but on older computers the animation is very arth…

---

## [Flash MX drop down menu (help required)](https://forum.kirupa.com/t/flash-mx-drop-down-menu-help-required/279343)

<div class="topic-metadata">

**Author:** [@keepitcool17](https://forum.kirupa.com/u/keepitcool17)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 6:53pm UTC](https://forum.kirupa.com/t/flash-mx-drop-down-menu-help-required/279343 "2009-01-13T18:53:57Z")

</div>

hello , i am develping a flash website in flash mx. in this site i have placed a drop down menu movie clip. i am working with scenes. i am facing a problem that the simple buttons are able to shift from one scene to the …

---

## [FLVPlayback with captions off by default](https://forum.kirupa.com/t/flvplayback-with-captions-off-by-default/279342)

<div class="topic-metadata">

**Author:** [@gameredb](https://forum.kirupa.com/u/gameredb)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 6:38pm UTC](https://forum.kirupa.com/t/flvplayback-with-captions-off-by-default/279342 "2009-01-13T18:38:09Z")

</div>

I have captioning working with the FLVPlayback/FLVPlaybackCaptioning components. My skin has a caption button, and it toggles the captions on and off. What I can't figure out is how to get the player to start with captio…

---

## [Scrolling text tutorial?](https://forum.kirupa.com/t/scrolling-text-tutorial/279341)

<div class="topic-metadata">

**Author:** [@marcelomdsc](https://forum.kirupa.com/u/marcelomdsc)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 5:59pm UTC](https://forum.kirupa.com/t/scrolling-text-tutorial/279341 "2009-01-13T17:59:52Z")

</div>

Hello, I need to learn how to create scrolling text. I´ve looked around on the web but I can´t seem to find a good tutorial on it. The text does not need to be dynamic, I must be able to choose different fonts and colors…

---

## [Loader for swf](https://forum.kirupa.com/t/loader-for-swf/279337)

<div class="topic-metadata">

**Author:** [@David\_Great](https://forum.kirupa.com/u/David_Great)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 5:42pm UTC](https://forum.kirupa.com/t/loader-for-swf/279337 "2009-01-13T17:42:53Z")

</div>

I have a .swf in as2, how can I create loader for it. this is the flash link http://armillion.com

---

## [Send var into as2 inside a as3 container](https://forum.kirupa.com/t/send-var-into-as2-inside-a-as3-container/279334)

<div class="topic-metadata">

**Author:** [@oskaraqp](https://forum.kirupa.com/u/oskaraqp)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 4:39pm UTC](https://forum.kirupa.com/t/send-var-into-as2-inside-a-as3-container/279334 "2009-01-13T16:39:47Z")

</div>

Hi, do you know some way to send a var into a as2 swf loaded inside an as3 container without using localConnection or externalInterface? just like the old way you did it normally on as2 where you load the external swf an…

---

## [Simple Code Problem (Trace MC Name)](https://forum.kirupa.com/t/simple-code-problem-trace-mc-name/279330)

<div class="topic-metadata">

**Author:** [@matius](https://forum.kirupa.com/u/matius)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 3:32pm UTC](https://forum.kirupa.com/t/simple-code-problem-trace-mc-name/279330 "2009-01-13T15:32:50Z")

</div>

All trace functions below work except for the last, buttonSix. The code, unless I'm missing something blatent is exactly the same in each else statement, and the MC is labeled correctly. I just wanted to post this to…

---

## [Windows Application Built with Flash Function While Other Apps Running?](https://forum.kirupa.com/t/windows-application-built-with-flash-function-while-other-apps-running/279324)

<div class="topic-metadata">

**Author:** [@fcastro](https://forum.kirupa.com/u/fcastro)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 2:16pm UTC](https://forum.kirupa.com/t/windows-application-built-with-flash-function-while-other-apps-running/279324 "2009-01-13T14:16:05Z")

</div>

Hi all, Is it possible to build an application in flash that can then be exported as say an exe and then be used in the background while another application is running? I know that sounds complicated so let me further …

---

## [Output values for buttons in loop](https://forum.kirupa.com/t/output-values-for-buttons-in-loop/279323)

<div class="topic-metadata">

**Author:** [@2\_C](https://forum.kirupa.com/u/2_C)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 1:45pm UTC](https://forum.kirupa.com/t/output-values-for-buttons-in-loop/279323 "2009-01-13T13:45:08Z")

</div>

I have this little loop that creates buttons. My aim is to change value of variable 'thevalue' on everytime button is pressed, first button should give value 0, second 1, third 2 and so on. for (jo=0; jo\<xmlData…

---

## [Loading swf to a UILoader on stage](https://forum.kirupa.com/t/loading-swf-to-a-uiloader-on-stage/279321)

<div class="topic-metadata">

**Author:** [@Amiridon](https://forum.kirupa.com/u/Amiridon)\
**Replies:** 0\
**Last updated:** [January 13, 2009, 1:37pm UTC](https://forum.kirupa.com/t/loading-swf-to-a-uiloader-on-stage/279321 "2009-01-13T13:37:24Z")

</div>

Im trying to get a loader on stage to open external swf files. I have my nav buttons inside of a movieclip but I'm doing something wrong. Here's the code I have on an actionscript layer inside of the nav movieclip v…

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

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