# programming

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

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

**Page:** 796

---

## [\[AS2 CS4\] getURL with greybox](https://forum.kirupa.com/t/as2-cs4-geturl-with-greybox/289714)

<div class="topic-metadata">

**Author:** [@neonreel](https://forum.kirupa.com/u/neonreel)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 8:30pm UTC](https://forum.kirupa.com/t/as2-cs4-geturl-with-greybox/289714 "2009-06-03T20:30:35Z")

</div>

Hello All, Can anyone help me with greybox js. I would like to call to it from a btn mc in as2. I have called to javascript pop up's before using this.onRelease = function() { getURL("javascript:Launch('pageN…

---

## [Flash CS3 + JavaScript popup window help](https://forum.kirupa.com/t/flash-cs3-javascript-popup-window-help/289712)

<div class="topic-metadata">

**Author:** [@NapoLoso](https://forum.kirupa.com/u/NapoLoso)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 7:18pm UTC](https://forum.kirupa.com/t/flash-cs3-javascript-popup-window-help/289712 "2009-06-03T19:18:23Z")

</div>

Hello everyone, I would really like some help. I'm stuck. What I'm trying to do is for flash to open up a pop-up window using JavaScript. following the video tutorial on this page, this is what i'm doing. I creat…

---

## [Left and right scene bounds](https://forum.kirupa.com/t/left-and-right-scene-bounds/289705)

<div class="topic-metadata">

**Author:** [@rjdfhorn\_06](https://forum.kirupa.com/u/rjdfhorn_06)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 6:20pm UTC](https://forum.kirupa.com/t/left-and-right-scene-bounds/289705 "2009-06-03T18:20:35Z")

</div>

I'm currently creating a platform game (i'm using a VCAM for side-scrolling) and was wondering if anyone knew if you could extend the left and right bounds of the flash scene as far as you like. I want to extend the bou…

---

## [Need help! Construction and planning](https://forum.kirupa.com/t/need-help-construction-and-planning/289702)

<div class="topic-metadata">

**Author:** [@m\_h\_w](https://forum.kirupa.com/u/m_h_w)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 4:57pm UTC](https://forum.kirupa.com/t/need-help-construction-and-planning/289702 "2009-06-03T16:57:21Z")

</div>

I am working on making my first AS3 flash site. And im having trouble getting it all togheter. It is a "portfolio" site for a musician friend of mine. It has a music player, a video player and a photo gallery. (for now…

---

## [Dissapearing Duplicate Movie Clips:How to Prevent?](https://forum.kirupa.com/t/dissapearing-duplicate-movie-clips-how-to-prevent/289701)

<div class="topic-metadata">

**Author:** [@SaiGanesh](https://forum.kirupa.com/u/SaiGanesh)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 4:21pm UTC](https://forum.kirupa.com/t/dissapearing-duplicate-movie-clips-how-to-prevent/289701 "2009-06-03T16:21:29Z")

</div>

Version Used:Flash MX 2004 I am trying to generate a Page with 3 paragraphs,each text paragraph with some custom animation attached to every character.What i Did was: 1.Open a new document 2.Create a Dynamic Text Box,nam…

---

## [Beginners help with Tangram game](https://forum.kirupa.com/t/beginners-help-with-tangram-game/289697)

<div class="topic-metadata">

**Author:** [@Centifolia](https://forum.kirupa.com/u/Centifolia)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 3:02pm UTC](https://forum.kirupa.com/t/beginners-help-with-tangram-game/289697 "2009-06-03T15:02:45Z")

</div>

HI there -- I'm pretty new to Actionscript but I have to develop a sort of Tangram game for a University project. In the end it should work on a multi-touch table. There will be certain puzzle pieces that have to be drag…

---

## [Getting width of Sprite with component inside it](https://forum.kirupa.com/t/getting-width-of-sprite-with-component-inside-it/289696)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 2:39pm UTC](https://forum.kirupa.com/t/getting-width-of-sprite-with-component-inside-it/289696 "2009-06-03T14:39:40Z")

</div>

Hello, I'm not sure why I can't get the width of a Sprite when it has components in it. For example var foo:Sprite = new Sprite(); addChild(foo); var comboBox:ComboBox = new ComboBox(); comboBox.setSize (300, 30)…

---

## [Creating Flash Player](https://forum.kirupa.com/t/creating-flash-player/289695)

<div class="topic-metadata">

**Author:** [@KPACKA](https://forum.kirupa.com/u/KPACKA)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 2:30pm UTC](https://forum.kirupa.com/t/creating-flash-player/289695 "2009-06-03T14:30:03Z")

</div>

needHelp.please { i am trying to create a player that s something like this one. It will take jpg images of strips from local folder and play. http://highimpact.com/interactive-presentations/digistrip/DGS00965/ one …

---

## [Accessing nested movieClips from the main timeline](https://forum.kirupa.com/t/accessing-nested-movieclips-from-the-main-timeline/289694)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 1:45pm UTC](https://forum.kirupa.com/t/accessing-nested-movieclips-from-the-main-timeline/289694 "2009-06-03T13:45:43Z")

</div>

\[FONT=Calibri\]\[SIZE=3\]Hi,\[/SIZE\]\[/FONT\] \[FONT=Calibri\]\[SIZE=3\]Last night I was trying to access some nested movieClips from the main time line but it was giving an error.\[/SIZE\]\[/FONT\] \[FONT=Calibri\]\[SIZE=3\]What I have…

---

## [Tweening/resizing graphics.drawRoundRect](https://forum.kirupa.com/t/tweening-resizing-graphics-drawroundrect/289692)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 12:59pm UTC](https://forum.kirupa.com/t/tweening-resizing-graphics-drawroundrect/289692 "2009-06-03T12:59:47Z")

</div>

I used AS3 to create a rounded edges box, and when the window resize i wanted to keep the ellipse height and width of the edges. How can I do that? Creating the box private function detectStage(e:Event=null):void { …

---

## [Requesting Help! (Game Scripts)](https://forum.kirupa.com/t/requesting-help-game-scripts/289691)

<div class="topic-metadata">

**Author:** [@Effectivea](https://forum.kirupa.com/u/Effectivea)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 12:52pm UTC](https://forum.kirupa.com/t/requesting-help-game-scripts/289691 "2009-06-03T12:52:52Z")

</div>

1) :cantlook:Recently i'v been practicing using AS 2.0 Flash and making rpg games but ran into some problems: I needed to complete the level by touching an object and i'v tried using various scripts, onClipEven…

---

## [\[AS3\] Enemys Homing in on Player Movieclip](https://forum.kirupa.com/t/as3-enemys-homing-in-on-player-movieclip/289690)

<div class="topic-metadata">

**Author:** [@cauterize](https://forum.kirupa.com/u/cauterize)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 12:28pm UTC](https://forum.kirupa.com/t/as3-enemys-homing-in-on-player-movieclip/289690 "2009-06-03T12:28:33Z")

</div>

Just trying to tackle a problem in the following code. Im trying to make a gauntlet/zombie style game where all the enemies home in on the player. Ive got the code for the enemies homing in, adopting some old AS2 code…

---

## [Next level markers](https://forum.kirupa.com/t/next-level-markers/289688)

<div class="topic-metadata">

**Author:** [@lan0011](https://forum.kirupa.com/u/lan0011)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 11:52am UTC](https://forum.kirupa.com/t/next-level-markers/289688 "2009-06-03T11:52:27Z")

</div>

Im trying to make a object only appear when you have collect enough coins. How could i do this? Code And fla thanxs

---

## [Elastic mouse follow - X axis](https://forum.kirupa.com/t/elastic-mouse-follow-x-axis/289687)

<div class="topic-metadata">

**Author:** [@joel1st](https://forum.kirupa.com/u/joel1st)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 11:34am UTC](https://forum.kirupa.com/t/elastic-mouse-follow-x-axis/289687 "2009-06-03T11:34:50Z")

</div>

Hello. I'm currently creating a navigation bar for a project using flash cs4, action script 3. As you can see in the picture there is a navigation bar, and inside this bar there is a small rectangle and two lines (loca…

---

## [Colour Palette](https://forum.kirupa.com/t/colour-palette/289686)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 11:30am UTC](https://forum.kirupa.com/t/colour-palette/289686 "2009-06-03T11:30:04Z")

</div>

Hi, I'm looking for a colour palette script in actionscript 2. Where it automatically generates a palette of colours to choose from and select. Is this done by script? Or is this all already preset? Nevertheless does a…

---

## [Another stupid dynamic text question as2/cs4](https://forum.kirupa.com/t/another-stupid-dynamic-text-question-as2-cs4/289684)

<div class="topic-metadata">

**Author:** [@cloudiness](https://forum.kirupa.com/u/cloudiness)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 10:48am UTC](https://forum.kirupa.com/t/another-stupid-dynamic-text-question-as2-cs4/289684 "2009-06-03T10:48:58Z")

</div>

How can you change the height of a text field AFTER the text has been loaded into it? I guess i'm just looking for a way to listen to the text to see when its size has increased. does anyone have any tips? any help …

---

## [Loading movieclips into multiple swf files](https://forum.kirupa.com/t/loading-movieclips-into-multiple-swf-files/289683)

<div class="topic-metadata">

**Author:** [@onion](https://forum.kirupa.com/u/onion)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 10:40am UTC](https://forum.kirupa.com/t/loading-movieclips-into-multiple-swf-files/289683 "2009-06-03T10:40:55Z")

</div>

Hi guys, I have a project where the character can be dressed in a variety of different clothes. So a choice of 5 t-shirts, trousers, shoes etc The project spans several different swf files. The clothes movieclips need…

---

## [Super, Override and Inheritance chain](https://forum.kirupa.com/t/super-override-and-inheritance-chain/289682)

<div class="topic-metadata">

**Author:** [@gone2far](https://forum.kirupa.com/u/gone2far)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 10:25am UTC](https://forum.kirupa.com/t/super-override-and-inheritance-chain/289682 "2009-06-03T10:25:35Z")

</div>

Hi guys, Lets say i have the following inheritance hierarchy: package { public class ClassA { protected function foo():void { // do something } } } package { …

---

## [Paypal buying code?](https://forum.kirupa.com/t/paypal-buying-code/289681)

<div class="topic-metadata">

**Author:** [@maxoys45](https://forum.kirupa.com/u/maxoys45)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 9:41am UTC](https://forum.kirupa.com/t/paypal-buying-code/289681 "2009-06-03T09:41:24Z")

</div>

Hiya, I have recently been asked to create a little flash site for some friends. They basically make their own designs that they put onto t-shirts and want people to be able to buy them on the site. I figured the easie…

---

## [Numeric Stepper adds "1" after the number, like 6 \> 61](https://forum.kirupa.com/t/numeric-stepper-adds-1-after-the-number-like-6-61/289675)

<div class="topic-metadata">

**Author:** [@fritzki](https://forum.kirupa.com/u/fritzki)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 8:02am UTC](https://forum.kirupa.com/t/numeric-stepper-adds-1-after-the-number-like-6-61/289675 "2009-06-03T08:02:13Z")

</div>

Hi, I have come across a weird problem with the NumericStepper component. Instead of for example changing number 6 to 7 when I press the up-arrow it changes into 61. And then 611, 6111 when i keep on going. If I leave …

---

## [Access movie clips from a swf library in another swf](https://forum.kirupa.com/t/access-movie-clips-from-a-swf-library-in-another-swf/289673)

<div class="topic-metadata">

**Author:** [@thilsen](https://forum.kirupa.com/u/thilsen)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 6:39am UTC](https://forum.kirupa.com/t/access-movie-clips-from-a-swf-library-in-another-swf/289673 "2009-06-03T06:39:02Z")

</div>

Hi All, I have a main swf called, main.swf; Inside it I load another movie, skin.swf (this has 10 movieclips in the library with linkage name). What I want is to attach the movieclips from skin.swf inside the main.sw…

---

## [Redirect to new page fails after flash post to server](https://forum.kirupa.com/t/redirect-to-new-page-fails-after-flash-post-to-server/289668)

<div class="topic-metadata">

**Author:** [@cauchy](https://forum.kirupa.com/u/cauchy)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 5:18am UTC](https://forum.kirupa.com/t/redirect-to-new-page-fails-after-flash-post-to-server/289668 "2009-06-03T05:18:10Z")

</div>

I have a rails app that embeds a swf. The swf takes user input and posts to the server. For testing purposes, the controller is just redirecting the browser back to another page without processing the data. Interestin…

---

## [\[AS3\] removeChild + array.splice lag?](https://forum.kirupa.com/t/as3-removechild-array-splice-lag/289664)

<div class="topic-metadata">

**Author:** [@Flashh\_n00b](https://forum.kirupa.com/u/Flashh_n00b)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 3:49am UTC](https://forum.kirupa.com/t/as3-removechild-array-splice-lag/289664 "2009-06-03T03:49:05Z")

</div>

Hi, I am working on a basic game in order to practice my AS3 coding skills. The point I am at is that when my enemies (Falling vertically down) touch the bottom of the stage I want to make all enemies in all of my arrays…

---

## [How to incapsulate an as2 swf inside as3](https://forum.kirupa.com/t/how-to-incapsulate-an-as2-swf-inside-as3/289662)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 3:20am UTC](https://forum.kirupa.com/t/how-to-incapsulate-an-as2-swf-inside-as3/289662 "2009-06-03T03:20:09Z")

</div>

Wondering if anyone can help, currently I'm working on an AS3 project and am trying to incorperate an as2 based swf into it. Normally with all as3 based swfs I could simply use the loader and load in the swf. But wit…

---

## [removeChild problem from a variable length list of MCs](https://forum.kirupa.com/t/removechild-problem-from-a-variable-length-list-of-mcs/289660)

<div class="topic-metadata">

**Author:** [@monsterchild](https://forum.kirupa.com/u/monsterchild)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 2:39am UTC](https://forum.kirupa.com/t/removechild-problem-from-a-variable-length-list-of-mcs/289660 "2009-06-03T02:39:57Z")

</div>

hi all, this will probably be really easy, as usual i'm stumped and can't seem to figure out why this problem is happening... ok, i have a list of mc's being placed using addChild() on the stage depending on the amount…

---

## [3D Display Object Interactivity](https://forum.kirupa.com/t/3d-display-object-interactivity/289654)

<div class="topic-metadata">

**Author:** [@pizzapancakes](https://forum.kirupa.com/u/pizzapancakes)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 12:33am UTC](https://forum.kirupa.com/t/3d-display-object-interactivity/289654 "2009-06-03T00:33:03Z")

</div>

I'm having trouble retaining interactivity in a DisplayObject (MovieClip) that has been altered to become a 3D object in Flash 10. The current structure is as follows: MovieClip1 with Mouse EventListeners nested insi…

---

## [Unwanted MC to Sprite at runtime](https://forum.kirupa.com/t/unwanted-mc-to-sprite-at-runtime/289653)

<div class="topic-metadata">

**Author:** [@AfroNinja](https://forum.kirupa.com/u/AfroNinja)\
**Replies:** 0\
**Last updated:** [June 3, 2009, 12:21am UTC](https://forum.kirupa.com/t/unwanted-mc-to-sprite-at-runtime/289653 "2009-06-03T00:21:13Z")

</div>

So I'm working on a pause function for my game. Instead of manually writing code to pause all possible animations that a movieclip has, I wrote a function that runs through its children recursively until it reaches the…

---

## [100% of website in iFrame?](https://forum.kirupa.com/t/100-of-website-in-iframe/289652)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 11:42pm UTC](https://forum.kirupa.com/t/100-of-website-in-iframe/289652 "2009-06-02T23:42:18Z")

</div>

I'm running a page in an iFrame, and I want it to be able to scroll down for the whole length of the page that is loading into the iFrame. http://www.madatoms.com/themes/site/blog.html Notice how it cuts off after a ce…

---

## [Document Class and Custom Class Communicating Question](https://forum.kirupa.com/t/document-class-and-custom-class-communicating-question/289651)

<div class="topic-metadata">

**Author:** [@mycaptainkite](https://forum.kirupa.com/u/mycaptainkite)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 11:35pm UTC](https://forum.kirupa.com/t/document-class-and-custom-class-communicating-question/289651 "2009-06-02T23:35:36Z")

</div>

Okay, so the website I'm work on has the document class Main. Within this website I have a movieclip on the stage which I built a custom class for its functionality and I linked this movieclip to this class to make it wo…

---

## [Targeting a text file](https://forum.kirupa.com/t/targeting-a-text-file/289650)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 11:04pm UTC](https://forum.kirupa.com/t/targeting-a-text-file/289650 "2009-06-02T23:04:24Z")

</div>

This may have been asked, but I can't seem to find anything on the subject. I want to know of if it possible to target different areas of 1 text file. So I would have one file that could populate multiple text fields wit…

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

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