# programming

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

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

**Page:** 403

---

## [Set Stage Height to Browser Height](https://forum.kirupa.com/t/set-stage-height-to-browser-height/314785)

<div class="topic-metadata">

**Author:** [@t3553r](https://forum.kirupa.com/u/t3553r)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 6:02pm UTC](https://forum.kirupa.com/t/set-stage-height-to-browser-height/314785 "2010-10-08T18:02:53Z")

</div>

Is it possible to get the browser height via flash and set the stage height to that value? I know you can set the height to 100% in publish settings, however one of my scroller scripts needs the stage height to be exactl…

---

## [FrameRate drop with MovieClips](https://forum.kirupa.com/t/framerate-drop-with-movieclips/314782)

<div class="topic-metadata">

**Author:** [@coggia](https://forum.kirupa.com/u/coggia)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 3:26pm UTC](https://forum.kirupa.com/t/framerate-drop-with-movieclips/314782 "2010-10-08T15:26:07Z")

</div>

Hello, I'm currently trying to make a little game but I experience now some loss of framerate while adding "bullets" in the game I'll not enter in the full code source as it will take some time but basically I got a …

---

## [Drag – Limiting mc to be dragged horizontally or vertically](https://forum.kirupa.com/t/drag-limiting-mc-to-be-dragged-horizontally-or-vertically/314781)

<div class="topic-metadata">

**Author:** [@neys](https://forum.kirupa.com/u/neys)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 2:54pm UTC](https://forum.kirupa.com/t/drag-limiting-mc-to-be-dragged-horizontally-or-vertically/314781 "2010-10-08T14:54:18Z")

</div>

Hey guys, I the following problem which I hope you can answer, since the many hours I've spent googling it hasn't helped out \[frowning\] I got a movieclip which should be dragable horizontally and vertically, however it…

---

## [1009 error XML slideshow function](https://forum.kirupa.com/t/1009-error-xml-slideshow-function/314777)

<div class="topic-metadata">

**Author:** [@nasir1123](https://forum.kirupa.com/u/nasir1123)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 10:05am UTC](https://forum.kirupa.com/t/1009-error-xml-slideshow-function/314777 "2010-10-08T10:05:47Z")

</div>

Hello all, I am using this code for my XML slideshow. Problem is that I want to switch to the next frame after the last slide is loaded. Now I managed to do that, only Flash doesn't like the code much and throws me a 1…

---

## [Handler only recieving some Key Down Events](https://forum.kirupa.com/t/handler-only-recieving-some-key-down-events/314776)

<div class="topic-metadata">

**Author:** [@Alpha\_eX](https://forum.kirupa.com/u/Alpha_eX)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 9:56am UTC](https://forum.kirupa.com/t/handler-only-recieving-some-key-down-events/314776 "2010-10-08T09:56:33Z")

</div>

I've added an event listener to my stage like this: //key event listeners stage.addEventListener(KeyboardEvent.KEY\_DOWN, engine.keyDown, false,0,true); stage.addEventListener(KeyboardEve…

---

## [Thumbnail Scroller/Slider](https://forum.kirupa.com/t/thumbnail-scroller-slider/314771)

<div class="topic-metadata">

**Author:** [@gennybeans](https://forum.kirupa.com/u/gennybeans)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 5:16am UTC](https://forum.kirupa.com/t/thumbnail-scroller-slider/314771 "2010-10-08T05:16:43Z")

</div>

Hi! I hope I have the correct forum (if not, feel free to move this). I am helping someone update a website, and she wants the thumbnail slider to be slowed down. As you can see, when you rollover the right side, it sp…

---

## [Please help me with the Condition Loop](https://forum.kirupa.com/t/please-help-me-with-the-condition-loop/314768)

<div class="topic-metadata">

**Author:** [@tinale](https://forum.kirupa.com/u/tinale)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 1:00am UTC](https://forum.kirupa.com/t/please-help-me-with-the-condition-loop/314768 "2010-10-08T01:00:01Z")

</div>

I want to create a loop to reject the email addresses that start or end with an @ character, contain multiple @ characters or contain no . (dot) characters. I have a problem with the condition for contain multiple @ char…

---

## [BitmapData.histogram() explanation?](https://forum.kirupa.com/t/bitmapdata-histogram-explanation/314766)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [October 8, 2010, 12:17am UTC](https://forum.kirupa.com/t/bitmapdata-histogram-explanation/314766 "2010-10-08T00:17:59Z")

</div>

I've found some very useful ways to use BitmapData.histogram() however, I'm hoping someone can explain something proper terms/explanation for me. Let's assume I have a 100x100 GIF in Flash, it only contains Green (#00…

---

## [Compiling with variable components](https://forum.kirupa.com/t/compiling-with-variable-components/314765)

<div class="topic-metadata">

**Author:** [@oreth](https://forum.kirupa.com/u/oreth)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 11:57pm UTC](https://forum.kirupa.com/t/compiling-with-variable-components/314765 "2010-10-07T23:57:22Z")

</div>

I'm using the same document class for two different flash deliverables. We'll call my document class Template. I have a 300x250 deliverable and a 300x600 deliverable. The 300x600 has a component that's been created in…

---

## [Flash Question](https://forum.kirupa.com/t/flash-question/314764)

<div class="topic-metadata">

**Author:** [@ilouie](https://forum.kirupa.com/u/ilouie)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 11:48pm UTC](https://forum.kirupa.com/t/flash-question/314764 "2010-10-07T23:48:33Z")

</div>

Guys, I am working on the code for a contact form in flash. I don't get any errors, but, I can't get the code to do certain things. The code shows the "thank you for inquiry" within the "status" box but it will not show …

---

## [The logistics of RTMFP / multiplayer in Flash](https://forum.kirupa.com/t/the-logistics-of-rtmfp-multiplayer-in-flash/314760)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 9:27pm UTC](https://forum.kirupa.com/t/the-logistics-of-rtmfp-multiplayer-in-flash/314760 "2010-10-07T21:27:13Z")

</div>

Hello people, I'm rather ignorant on the world of multiplayer programming, or any kind of back end/server side stuff in general. It's not the sort of thing I'm good at either. So for those of you with more experience…

---

## [Access function loaded swf with bulkloader](https://forum.kirupa.com/t/access-function-loaded-swf-with-bulkloader/314758)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:51pm UTC](https://forum.kirupa.com/t/access-function-loaded-swf-with-bulkloader/314758 "2010-10-07T20:51:54Z")

</div>

Hi, i've a preloader that load an swf with bulkloader. How can i access to a function of the loaded swf? Many thanks.

---

## [Pause Sound in External SWF](https://forum.kirupa.com/t/pause-sound-in-external-swf/314755)

<div class="topic-metadata">

**Author:** [@Crystal](https://forum.kirupa.com/u/Crystal)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:00pm UTC](https://forum.kirupa.com/t/pause-sound-in-external-swf/314755 "2010-10-07T20:00:25Z")

</div>

Hello- I am hoping someone can possibly help me here! Kinda stuck on this issue... I have created a Flash container that cycles through an array loading in several external swf files. What I need to be able to do, …

---

## [How can I tell a movie clip to play inside a swf?](https://forum.kirupa.com/t/how-can-i-tell-a-movie-clip-to-play-inside-a-swf/314751)

<div class="topic-metadata">

**Author:** [@KateH](https://forum.kirupa.com/u/KateH)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 4:08pm UTC](https://forum.kirupa.com/t/how-can-i-tell-a-movie-clip-to-play-inside-a-swf/314751 "2010-10-07T16:08:56Z")

</div>

Hi, I have an empty\_MC on my main.swf. In that empty\_MC I'm loading 1.swf. In 1.swf I have a movie clip on scene 1 called fade\_MC. If I put a button on my main.swf how can I tell fade\_MC to play? This is what I'm us…

---

## [Simple question : classes](https://forum.kirupa.com/t/simple-question-classes/314749)

<div class="topic-metadata">

**Author:** [@blirette](https://forum.kirupa.com/u/blirette)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 3:34pm UTC](https://forum.kirupa.com/t/simple-question-classes/314749 "2010-10-07T15:34:14Z")

</div>

Hi, I'm trying to start a simple AS3 program. I'm trying to make some movieClip appear on the scene. The MC are in the Library. I want it to have the class Bouton.as attached to it and I'm not sure how to do it. I seem…

---

## [How to set loaderInfo params from flash](https://forum.kirupa.com/t/how-to-set-loaderinfo-params-from-flash/314748)

<div class="topic-metadata">

**Author:** [@laaptu](https://forum.kirupa.com/u/laaptu)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 3:25pm UTC](https://forum.kirupa.com/t/how-to-set-loaderinfo-params-from-flash/314748 "2010-10-07T15:25:02Z")

</div>

This is my case 1: I have two swf : a.swf n b.swf 2: I can't do any coding on a.swf but I can code on b.swf 3: b.swf loads a.swf 4: a.swf takes some params from html 5: Since b.swf now loads a.swf,how can I set loaderi…

---

## [Read and Write xml in a google gadget](https://forum.kirupa.com/t/read-and-write-xml-in-a-google-gadget/314745)

<div class="topic-metadata">

**Author:** [@jdsflash](https://forum.kirupa.com/u/jdsflash)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 1:28pm UTC](https://forum.kirupa.com/t/read-and-write-xml-in-a-google-gadget/314745 "2010-10-07T13:28:39Z")

</div>

This swf works fine when its not in a google gadget. It will read and write xml as the user interacts wtih it. Why once its embeded inside a gadget will it only read xml? It will not send xml to my file on my server and …

---

## [Overriding "stage" variable of loaded SWF](https://forum.kirupa.com/t/overriding-stage-variable-of-loaded-swf/314740)

<div class="topic-metadata">

**Author:** [@citizen\_erazed](https://forum.kirupa.com/u/citizen_erazed)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 10:53am UTC](https://forum.kirupa.com/t/overriding-stage-variable-of-loaded-swf/314740 "2010-10-07T10:53:35Z")

</div>

Is it at all possible to override the stage variable of a loaded swf from the base swf? I have a number of games which I need to load into a micro-site. I'm getting a #1009 error because the loaded swfs are trying to a…

---

## [Call metode in main from child class](https://forum.kirupa.com/t/call-metode-in-main-from-child-class/314736)

<div class="topic-metadata">

**Author:** [@tbhD41](https://forum.kirupa.com/u/tbhD41)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 9:07am UTC](https://forum.kirupa.com/t/call-metode-in-main-from-child-class/314736 "2010-10-07T09:07:33Z")

</div>

Hey I have a child/ Background class there must call a metode in the main class. But this fail coms: BackGround.as, Line 35 1061: Call to a possibly undefined method resizeHandler through a reference with static t…

---

## [Full screen issue on enter site](https://forum.kirupa.com/t/full-screen-issue-on-enter-site/314735)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:46am UTC](https://forum.kirupa.com/t/full-screen-issue-on-enter-site/314735 "2010-10-07T08:46:47Z")

</div>

Hi, I am having trouble with an 'enter site in full screen' button. I have a title screen on one frame which on a button click should advance to the next frame & set full screen. Basically, when I test the movie it…

---

## [Shared Object issue in chat program](https://forum.kirupa.com/t/shared-object-issue-in-chat-program/314734)

<div class="topic-metadata">

**Author:** [@glisando](https://forum.kirupa.com/u/glisando)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:44am UTC](https://forum.kirupa.com/t/shared-object-issue-in-chat-program/314734 "2010-10-07T08:44:57Z")

</div>

Hi Folks... Posted this in another forum too. I have this set of codes for a simple chat program using SharedObjects. When I run the program, I type my name into the 'chatName' box and my message in the 'textInput'box.…

---

## [Loading various messages from an external file](https://forum.kirupa.com/t/loading-various-messages-from-an-external-file/314733)

<div class="topic-metadata">

**Author:** [@LowbridgeDesign](https://forum.kirupa.com/u/LowbridgeDesign)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:16am UTC](https://forum.kirupa.com/t/loading-various-messages-from-an-external-file/314733 "2010-10-07T08:16:02Z")

</div>

Hi All I am very new to AS3 and I am struggling to get multiple messages into flash from an external .txt file. I have managed to get 1 single message in just about, but then the client wanted multiple messages...aa…

---

## [FLVPlayback Control](https://forum.kirupa.com/t/flvplayback-control/314731)

<div class="topic-metadata">

**Author:** [@w3nta1](https://forum.kirupa.com/u/w3nta1)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 8:07am UTC](https://forum.kirupa.com/t/flvplayback-control/314731 "2010-10-07T08:07:26Z")

</div>

Hi. I'm using a FLVPlayback function to play my movies as below : stop(); import mx.video.\*; var z:Number = new Number(); var url\_array:Array = \[ "movie\_01", "movie\_02.flv", "movie\_03.flv", "movie\_04.flv", "movie\_05.f…

---

## [Is it possible to execute external flash projector(.exe)](https://forum.kirupa.com/t/is-it-possible-to-execute-external-flash-projector-exe/314730)

<div class="topic-metadata">

**Author:** [@harry\_kooner2k](https://forum.kirupa.com/u/harry_kooner2k)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 7:46am UTC](https://forum.kirupa.com/t/is-it-possible-to-execute-external-flash-projector-exe/314730 "2010-10-07T07:46:37Z")

</div>

Hello again my genius friends, I have a question that: Is it possible to execute external flash projector(.exe) file on clicking a button in my movieclip. I tried the following code but no work: \[COLOR=Blue\]on(releas…

---

## [AS3 Mac OSX menu](https://forum.kirupa.com/t/as3-mac-osx-menu/314729)

<div class="topic-metadata">

**Author:** [@farner](https://forum.kirupa.com/u/farner)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 7:33am UTC](https://forum.kirupa.com/t/as3-mac-osx-menu/314729 "2010-10-07T07:33:14Z")

</div>

hey everyone, does anyone know where i can find the as3 mac osx flash menu that was once posted on http://actionscriptnotes.com/blog/2008/02/06/mac-style-flash-menu/ ?? help pleasee ive fried my brian looking and ca…

---

## [Problem Unclear](https://forum.kirupa.com/t/problem-unclear/314727)

<div class="topic-metadata">

**Author:** [@tas\_man](https://forum.kirupa.com/u/tas_man)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 3:28am UTC](https://forum.kirupa.com/t/problem-unclear/314727 "2010-10-07T03:28:09Z")

</div>

Can anyone see what makes this code not work for all pages. \[FONT=Courier New\]import flash.display.DisplayObject;\[/FONT\] \[FONT=Courier New\]import flash.display.Sprite;\[/FONT\] \[FONT=Courier New\]import flash.events.Mouse…

---

## [ChangePropertyAction to set custom Attached Property?](https://forum.kirupa.com/t/changepropertyaction-to-set-custom-attached-property/314725)

<div class="topic-metadata">

**Author:** [@icube](https://forum.kirupa.com/u/icube)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 3:11am UTC](https://forum.kirupa.com/t/changepropertyaction-to-set-custom-attached-property/314725 "2010-10-07T03:11:28Z")

</div>

Hi, I have a custom attached property that i want to set using the ChangePropertyAction. How do i do that? Thanks

---

## [Success of China's most advanced heavy-duty tracto](https://forum.kirupa.com/t/success-of-chinas-most-advanced-heavy-duty-tracto/314723)

<div class="topic-metadata">

**Author:** [@nongrens](https://forum.kirupa.com/u/nongrens)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 3:05am UTC](https://forum.kirupa.com/t/success-of-chinas-most-advanced-heavy-duty-tracto/314723 "2010-10-07T03:05:23Z")

</div>

YTO held the "China First Tractor wheel \[tractor on the ability of large technology projects the level of completion of the ceremony cum heavy \[url=http://tractor8.com/\]tractor\](http://tractor8.com/) off the assembly lin…

---

## [Datagrid to String](https://forum.kirupa.com/t/datagrid-to-string/314720)

<div class="topic-metadata">

**Author:** [@neatgadgets](https://forum.kirupa.com/u/neatgadgets)\
**Replies:** 0\
**Last updated:** [October 7, 2010, 12:31am UTC](https://forum.kirupa.com/t/datagrid-to-string/314720 "2010-10-07T00:31:51Z")

</div>

Hi, I want to convert a datagrid back to a string. I tried var myString = \_root.myDatagrid.toString(); But this does not seem to work.

---

## [Using FP10 classes within a FP9 wrapper in Flash Player 10](https://forum.kirupa.com/t/using-fp10-classes-within-a-fp9-wrapper-in-flash-player-10/314718)

<div class="topic-metadata">

**Author:** [@tarling](https://forum.kirupa.com/u/tarling)\
**Replies:** 0\
**Last updated:** [October 6, 2010, 10:06pm UTC](https://forum.kirupa.com/t/using-fp10-classes-within-a-fp9-wrapper-in-flash-player-10/314718 "2010-10-06T22:06:00Z")

</div>

Hi, We create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9. If I create an FP10 SWF which uses classes specific to FP10 (Pixel Bender classes such as Shader, ShaderD…

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

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