# programming

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

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

**Page:** 331

---

## [Been working with Flixel](https://forum.kirupa.com/t/been-working-with-flixel/319167)

<div class="topic-metadata">

**Author:** [@Marz](https://forum.kirupa.com/u/Marz)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:46pm UTC](https://forum.kirupa.com/t/been-working-with-flixel/319167 "2011-02-10T17:46:20Z")

</div>

I've been working with Flixel as of lately and found this to be a very impressive framework to work with. Has anyone else here had the chance to work with this framework. Before I really begin to dive into deeper into th…

---

## [AS3 removing Dynamically Created Event Listener](https://forum.kirupa.com/t/as3-removing-dynamically-created-event-listener/319166)

<div class="topic-metadata">

**Author:** [@pjbruce](https://forum.kirupa.com/u/pjbruce)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:37pm UTC](https://forum.kirupa.com/t/as3-removing-dynamically-created-event-listener/319166 "2011-02-10T17:37:13Z")

</div>

Hi Guys, This is something I really need to crack - not just to solve the problem but understand the issue. I've dynamically created event listeners in the usual sort of way: myText.addEventListener(MouseEvent.MOU…

---

## [FLVPlayback Component loop and removal](https://forum.kirupa.com/t/flvplayback-component-loop-and-removal/319165)

<div class="topic-metadata">

**Author:** [@GSins](https://forum.kirupa.com/u/GSins)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:28pm UTC](https://forum.kirupa.com/t/flvplayback-component-loop-and-removal/319165 "2011-02-10T17:28:53Z")

</div>

Howdy all, I am a NOOB, (kind a feels like being at an AA meeting), Working on a slideshow gallery page for work (Lumber Yard w/ installed sales). Wanting to show off work of both our loyal contractors and our produc…

---

## [Restrict Input text via width of textbox](https://forum.kirupa.com/t/restrict-input-text-via-width-of-textbox/319162)

<div class="topic-metadata">

**Author:** [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 3:18pm UTC](https://forum.kirupa.com/t/restrict-input-text-via-width-of-textbox/319162 "2011-02-10T15:18:49Z")

</div>

I'd like to restrict the amount a user can type into a textbox based on the width of an existing textbox on the stage. I played around with the max chars but when you type something like a 'W' it is considerably wider th…

---

## [Add Next Prev button to gallery](https://forum.kirupa.com/t/add-next-prev-button-to-gallery/319161)

<div class="topic-metadata">

**Author:** [@ratanjaiswal](https://forum.kirupa.com/u/ratanjaiswal)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 3:14pm UTC](https://forum.kirupa.com/t/add-next-prev-button-to-gallery/319161 "2011-02-10T15:14:33Z")

</div>

Hi, I have followed a tutorial and completed a gallery which works fine but i want to add a next and prev button but cant have it can any one help me with the code here is my code //set the initial postitions/prope…

---

## [Urgent Help with AS3 Simple menu](https://forum.kirupa.com/t/urgent-help-with-as3-simple-menu/319157)

<div class="topic-metadata">

**Author:** [@djseze](https://forum.kirupa.com/u/djseze)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 12:15pm UTC](https://forum.kirupa.com/t/urgent-help-with-as3-simple-menu/319157 "2011-02-10T12:15:23Z")

</div>

Hello, I'm very new to AS3. I've created simple sites with simple buttons that go to frame labels or frame numbers but I need to create something a bit different for an urgent project. I'm trying to create some navig…

---

## [TextArea autoSize/ autowrap not working](https://forum.kirupa.com/t/textarea-autosize-autowrap-not-working/319156)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 12:00pm UTC](https://forum.kirupa.com/t/textarea-autosize-autowrap-not-working/319156 "2011-02-10T12:00:49Z")

</div>

Hi, I did a search and found few solutions to this problem however it is not working in my case. I am facing problem related to TextArea auto wrap. I used the following code I found on net to fix this however it is…

---

## [How to detect actionscript version of a swf file with php](https://forum.kirupa.com/t/how-to-detect-actionscript-version-of-a-swf-file-with-php/319155)

<div class="topic-metadata">

**Author:** [@inf](https://forum.kirupa.com/u/inf)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 11:54am UTC](https://forum.kirupa.com/t/how-to-detect-actionscript-version-of-a-swf-file-with-php/319155 "2011-02-10T11:54:00Z")

</div>

Hi, I'm working on an ad modul that loads swf banner files. Unfortunately the client will not know if the swf banner file he wants to upload was written in AS1, AS2 or AS3. It is important information, because if the s…

---

## [Multiple addChild (AS2 to AS3)](https://forum.kirupa.com/t/multiple-addchild-as2-to-as3/319151)

<div class="topic-metadata">

**Author:** [@shockelite](https://forum.kirupa.com/u/shockelite)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 9:03am UTC](https://forum.kirupa.com/t/multiple-addchild-as2-to-as3/319151 "2011-02-10T09:03:49Z")

</div>

for (var c:Number=0; c\<=myArray.length-1; c++) { for (var r:Number=0; r\<=myArray\[0\].length-1; r++, count++) { \[COLOR=darkgreen\]//Attaches movieclip (class: t0-t9)(var c = column / var r = row)\[/COLOR\] \[COLOR=red\] pa…

---

## [Need help displaying variables in final screen](https://forum.kirupa.com/t/need-help-displaying-variables-in-final-screen/319149)

<div class="topic-metadata">

**Author:** [@lone\_ranger](https://forum.kirupa.com/u/lone_ranger)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:49am UTC](https://forum.kirupa.com/t/need-help-displaying-variables-in-final-screen/319149 "2011-02-10T07:49:07Z")

</div>

Hi i have made a small flash game (my first). Its a simple shotting style game and I want to display 3 variables at the end. The variables calculate fine but I am unable to display them in the end screen. Can someone …

---

## [Flash on Mobile](https://forum.kirupa.com/t/flash-on-mobile/319148)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:23am UTC](https://forum.kirupa.com/t/flash-on-mobile/319148 "2011-02-10T07:23:19Z")

</div>

Hi, I have designed a flash animation in Flash CS4 + AS 3.0. Now the client wants to embed this on mobile devices, including iphone and iPad. While doing some research i found this link (tutorial) http://snipplr.co…

---

## [Full Solutions: How to convert DVD/video, make iPhone ringtone, backup iPhone info](https://forum.kirupa.com/t/full-solutions-how-to-convert-dvd-video-make-iphone-ringtone-backup-iphone-info/319147)

<div class="topic-metadata">

**Author:** [@Tamdimi](https://forum.kirupa.com/u/Tamdimi)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:12am UTC](https://forum.kirupa.com/t/full-solutions-how-to-convert-dvd-video-make-iphone-ringtone-backup-iphone-info/319147 "2011-02-10T07:12:48Z")

</div>

From the first generation of iPhone on June 29, 2007 in USA to the lasted iPhone 3G S, iPhone have become an irreplaceable assistant of our daily life. We use iPhone to contact with friends, deal with Email, find informa…

---

## [Open Link in Parent SWF](https://forum.kirupa.com/t/open-link-in-parent-swf/319145)

<div class="topic-metadata">

**Author:** [@palsingh](https://forum.kirupa.com/u/palsingh)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 6:26am UTC](https://forum.kirupa.com/t/open-link-in-parent-swf/319145 "2011-02-10T06:26:12Z")

</div>

hello, i Have a swf, in which i load an external swf... and the external swf has a link which need to be open in the parent swf... please H E L P

---

## [\*\* Want to create a SHORT Flash Intro \*\*](https://forum.kirupa.com/t/want-to-create-a-short-flash-intro/319144)

<div class="topic-metadata">

**Author:** [@bigbonthabeat](https://forum.kirupa.com/u/bigbonthabeat)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:38am UTC](https://forum.kirupa.com/t/want-to-create-a-short-flash-intro/319144 "2011-02-10T05:38:39Z")

</div>

I want to create a SHORT Flash intro for my site so that it will look 'official'. I already have the main image I'm going to use: \[image\] This is how I want my intro: 1. Before the flash starts, I want to have a '…

---

## [Referencing part of a location](https://forum.kirupa.com/t/referencing-part-of-a-location/319143)

<div class="topic-metadata">

**Author:** [@sarumitai](https://forum.kirupa.com/u/sarumitai)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:35am UTC](https://forum.kirupa.com/t/referencing-part-of-a-location/319143 "2011-02-10T05:35:29Z")

</div>

How do I reference the "month7" part of this output? \_level0.box6.month7 I want to say "if that part of the string == month7 then do something". I'm duplicating some boxes and attaching some MCs to them and when yo…

---

## [I need help with writing a PHP conditional statement](https://forum.kirupa.com/t/i-need-help-with-writing-a-php-conditional-statement/319140)

<div class="topic-metadata">

**Author:** [@lilymc](https://forum.kirupa.com/u/lilymc)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 3:01am UTC](https://forum.kirupa.com/t/i-need-help-with-writing-a-php-conditional-statement/319140 "2011-02-10T03:01:09Z")

</div>

I don’t know PHP, but my site is using the thematic framework powered by wordpress, and the pages are PHP. All I’m trying to do is use a different wrapper background for the home (start) page, than all the other pages. …

---

## [What is: Impicit coersion of a value of type flash.net?](https://forum.kirupa.com/t/what-is-impicit-coersion-of-a-value-of-type-flash-net/319139)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 2:15am UTC](https://forum.kirupa.com/t/what-is-impicit-coersion-of-a-value-of-type-flash-net/319139 "2011-02-10T02:15:29Z")

</div>

What is: Impicit coersion of a value of type flash.net: URLRequest to an unrelated type Class. I was trying this as a function: var imgLoader:Loader = new Loader(); imgLoader.contentLoaderInfo.addEventListener(P…

---

## [Odd calculation error](https://forum.kirupa.com/t/odd-calculation-error/319138)

<div class="topic-metadata">

**Author:** [@nickrosier](https://forum.kirupa.com/u/nickrosier)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 2:11am UTC](https://forum.kirupa.com/t/odd-calculation-error/319138 "2011-02-10T02:11:16Z")

</div>

So got a very odd result from a maths operation: var myNumber = 6.3 + 9.1; trace(myNumber); returns not 15.4, as you would expect, but 15.399999999999999 any ideas?

---

## [as2 to as3 questions](https://forum.kirupa.com/t/as2-to-as3-questions/319137)

<div class="topic-metadata">

**Author:** [@molster](https://forum.kirupa.com/u/molster)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 1:19am UTC](https://forum.kirupa.com/t/as2-to-as3-questions/319137 "2011-02-10T01:19:20Z")

</div>

NOTE: I know I could make a class for this, but I was hoping to know how to do this without making a class just for the line mc. Want to do something very simple, I have a mc thats a line, I am able to place it just fi…

---

## [Flex vs AS projects](https://forum.kirupa.com/t/flex-vs-as-projects/319136)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 1:06am UTC](https://forum.kirupa.com/t/flex-vs-as-projects/319136 "2011-02-10T01:06:05Z")

</div>

I just read about using Flex projects (MXML) vs AS projects in Flex/Flash builder, and Flex project's final swf is a lot bigger (which makes sense), but this is worth it sometimes for the ease of menus and such. However …

---

## [Multi Dimensional Array Confusion](https://forum.kirupa.com/t/multi-dimensional-array-confusion/319134)

<div class="topic-metadata">

**Author:** [@legend\_tisman](https://forum.kirupa.com/u/legend_tisman)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 12:31am UTC](https://forum.kirupa.com/t/multi-dimensional-array-confusion/319134 "2011-02-10T00:31:50Z")

</div>

I keep confusing myself :S I've been staring at this screen too long. I'm trying to build function that creates a 2D array similar to this one: private var test:Array = new Array ( \[0000,0001,0002,0003,0004,0005,00…

---

## [Weird error with document.location.hash](https://forum.kirupa.com/t/weird-error-with-document-location-hash/319130)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 8:07pm UTC](https://forum.kirupa.com/t/weird-error-with-document-location-hash/319130 "2011-02-09T20:07:44Z")

</div>

I am having a weird error with the document.location.hash property. I have a function that receives a parameter which is then applied to this property. If the parameter has the "#" sign applied when the function rece…

---

## [\[cs5\] New to Flash. Simple Question](https://forum.kirupa.com/t/cs5-new-to-flash-simple-question/319128)

<div class="topic-metadata">

**Author:** [@fireblanket](https://forum.kirupa.com/u/fireblanket)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 5:32pm UTC](https://forum.kirupa.com/t/cs5-new-to-flash-simple-question/319128 "2011-02-09T17:32:52Z")

</div>

Hello guys and girls. I am new to Flash and need some help with something that seems very simple. I am creating an animation with sound. The sound syncs with objects. Everytime I synch an object with a sound, I test th…

---

## [Dynamic Asset Creation](https://forum.kirupa.com/t/dynamic-asset-creation/319126)

<div class="topic-metadata">

**Author:** [@garethrobson](https://forum.kirupa.com/u/garethrobson)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 2:31pm UTC](https://forum.kirupa.com/t/dynamic-asset-creation/319126 "2011-02-09T14:31:37Z")

</div>

Hi All, I have been using AS3 for approximately 1 year now, and although I havent really done any major projects with it, I am fairly confident using it. However, There is 1 part that I am very curious about. At the …

---

## [FLV progress bar freezes when scrubber is used](https://forum.kirupa.com/t/flv-progress-bar-freezes-when-scrubber-is-used/319125)

<div class="topic-metadata">

**Author:** [@Mesono](https://forum.kirupa.com/u/Mesono)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 2:14pm UTC](https://forum.kirupa.com/t/flv-progress-bar-freezes-when-scrubber-is-used/319125 "2011-02-09T14:14:38Z")

</div>

Hi everyone, people on these forums have been really kind to me in the past, so I thought I'd try to get some feedback on a problem that I'm currently working on and have approached from a number of angles... While b…

---

## [AS3 Scroller personalisation](https://forum.kirupa.com/t/as3-scroller-personalisation/319124)

<div class="topic-metadata">

**Author:** [@GLotfi](https://forum.kirupa.com/u/GLotfi)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 1:45pm UTC](https://forum.kirupa.com/t/as3-scroller-personalisation/319124 "2011-02-09T13:45:43Z")

</div>

Hi everybody, I Would like to execute addChild from an AS file which it add a movieclip from an FLA file. FLA ||| .AS Movie clip in the …

---

## [\[Flash Pro CS5\] Help to convert AS3 Resizing code to AS2](https://forum.kirupa.com/t/flash-pro-cs5-help-to-convert-as3-resizing-code-to-as2/319123)

<div class="topic-metadata">

**Author:** [@Cliffinator](https://forum.kirupa.com/u/Cliffinator)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 1:19pm UTC](https://forum.kirupa.com/t/flash-pro-cs5-help-to-convert-as3-resizing-code-to-as2/319123 "2011-02-09T13:19:04Z")

</div>

Can anyone PLEASE Convert this to ActionScript 2. I want to use this code in a flash project(it comes from a kirupa tutorial), but I also want to import as2 swf into the same project! So I need this code in AS2. Than…

---

## [Block loaded SWF access](https://forum.kirupa.com/t/block-loaded-swf-access/319120)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 12:33pm UTC](https://forum.kirupa.com/t/block-loaded-swf-access/319120 "2011-02-09T12:33:49Z")

</div>

Is it possible to block a loaded swf from making any calls to the server or the parent swf?

---

## [GotoAndPlay random frame](https://forum.kirupa.com/t/gotoandplay-random-frame/319114)

<div class="topic-metadata">

**Author:** [@eurogibbon](https://forum.kirupa.com/u/eurogibbon)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 10:10am UTC](https://forum.kirupa.com/t/gotoandplay-random-frame/319114 "2011-02-09T10:10:29Z")

</div>

Hi All, This is a simple problem I'm sure, but complicated for me! I want my movie, on loading, to start playing from a random frame. I know that in AS2 the code would be gotoAndPlay (random (1825)); but I'm usi…

---

## [How to indentify Memory Leak on my swf?](https://forum.kirupa.com/t/how-to-indentify-memory-leak-on-my-swf/319112)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [February 9, 2011, 9:56am UTC](https://forum.kirupa.com/t/how-to-indentify-memory-leak-on-my-swf/319112 "2011-02-09T09:56:45Z")

</div>

hello everyone! i saw that my app after some time, it becomes slow.. so i guess i have a memory leak? How could i be sure about that and track it down? Thanks, Leo.

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

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