# programming

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

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

**Page:** 442

---

## [PNG decoder that can handle bitdepth of 1?](https://forum.kirupa.com/t/png-decoder-that-can-handle-bitdepth-of-1/312473)

<div class="topic-metadata">

**Author:** [@pippy](https://forum.kirupa.com/u/pippy)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 10:29am UTC](https://forum.kirupa.com/t/png-decoder-that-can-handle-bitdepth-of-1/312473 "2010-08-04T10:29:37Z")

</div>

Hi, I'm looking for a robust PNG decoder. All the ones I've found so far have failed to decode images with a bitdepth of 1. Is there a class that can do this?

---

## [Ruler color](https://forum.kirupa.com/t/ruler-color/312472)

<div class="topic-metadata">

**Author:** [@Alric](https://forum.kirupa.com/u/Alric)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 10:13am UTC](https://forum.kirupa.com/t/ruler-color/312472 "2010-08-04T10:13:37Z")

</div>

Hi all, I want to change the color of the Ruler in FLASH CS4 How can I change it ? Thank you for your reply.

---

## [Play from different frames upon each new load](https://forum.kirupa.com/t/play-from-different-frames-upon-each-new-load/312471)

<div class="topic-metadata">

**Author:** [@xtidesign](https://forum.kirupa.com/u/xtidesign)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 9:13am UTC](https://forum.kirupa.com/t/play-from-different-frames-upon-each-new-load/312471 "2010-08-04T09:13:17Z")

</div>

I'm interested in having my flash movie play at say, frame 50 and then if you refresh - it will again select a predefined (but randomly selected) frame to play from. So, the order could be as follows: Refresh - frame 5…

---

## [\[AS3\]gotoAndPlay not working](https://forum.kirupa.com/t/as3-gotoandplay-not-working/312469)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 8:25am UTC](https://forum.kirupa.com/t/as3-gotoandplay-not-working/312469 "2010-08-04T08:25:31Z")

</div>

hello everybody, Plz help my gotoAndPlay function not working, I am getting this runtime error "\[COLOR=Red\]Error #1009: Cannot access a property or method of a null object reference.\[/COLOR\]"I understand its meaning, wh…

---

## [\[Swfcry-v0.02\] Protect your swf for free!](https://forum.kirupa.com/t/swfcry-v0-02-protect-your-swf-for-free/312467)

<div class="topic-metadata">

**Author:** [@Bruce\_Jawn](https://forum.kirupa.com/u/Bruce_Jawn)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 6:22am UTC](https://forum.kirupa.com/t/swfcry-v0-02-protect-your-swf-for-free/312467 "2010-08-04T06:22:30Z")

</div>

I wrote this simple swf encryption tool. It can pack your swf into a packer/shell to prevent your swf being decompiled directly. SWF Cry is in a very primary status now (v0.02) but it works! Try it here (my blog post w…

---

## [The Matter of Stage](https://forum.kirupa.com/t/the-matter-of-stage/312466)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 4:43am UTC](https://forum.kirupa.com/t/the-matter-of-stage/312466 "2010-08-04T04:43:06Z")

</div>

What I'd like to do is add an event listener to a class instantiated by my document class that listens for different key presses. So far I can't use stage.addeventListener or I get the null object error so my question…

---

## [Movie clip doesn't respond to gotoAndPlay()](https://forum.kirupa.com/t/movie-clip-doesnt-respond-to-gotoandplay/312465)

<div class="topic-metadata">

**Author:** [@stoniek](https://forum.kirupa.com/u/stoniek)\
**Replies:** 0\
**Last updated:** [August 4, 2010, 4:26am UTC](https://forum.kirupa.com/t/movie-clip-doesnt-respond-to-gotoandplay/312465 "2010-08-04T04:26:42Z")

</div>

My movie clip doesn't respond to gotoAndPlay(1) command at all. Here is the situation: The Main.fla has a movie clip instance "Mov1" and the following AS3 code in the first timeframe: function LoadSWF(Mov:Object, swf:S…

---

## [SWF Too large, No Bitmaps ?!?](https://forum.kirupa.com/t/swf-too-large-no-bitmaps/312460)

<div class="topic-metadata">

**Author:** [@mckaymental](https://forum.kirupa.com/u/mckaymental)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 11:40pm UTC](https://forum.kirupa.com/t/swf-too-large-no-bitmaps/312460 "2010-08-03T23:40:53Z")

</div>

Hi! I'm in a project where I have to do an expandable banner under 40kb and now the size of the swf is about 130kb. I have loaded my PNG's bitmap externally via Loader and the file size is still big. I don't know what …

---

## [AS2 arrays in a class instance](https://forum.kirupa.com/t/as2-arrays-in-a-class-instance/312457)

<div class="topic-metadata">

**Author:** [@Poco](https://forum.kirupa.com/u/Poco)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 9:36pm UTC](https://forum.kirupa.com/t/as2-arrays-in-a-class-instance/312457 "2010-08-03T21:36:37Z")

</div>

Hi guys, Today I found a thing that really bugs me. Let's say I have this very basic class called Test which basically just creates an array and stores some objects in it: class Test { private var \_arr:Array = \[…

---

## [Not sure how to explain(Tween Class)](https://forum.kirupa.com/t/not-sure-how-to-explain-tween-class/312454)

<div class="topic-metadata">

**Author:** [@rserge](https://forum.kirupa.com/u/rserge)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 7:33pm UTC](https://forum.kirupa.com/t/not-sure-how-to-explain-tween-class/312454 "2010-08-03T19:33:26Z")

</div>

Please view http://www.sergemedia.net/ds2/map/lissarazoomfix.html This is similar to previous post.. Click on Lot 41. Notice that it snaps to a new position before tweening to center. It is starting from map instance loc…

---

## [Externally loaded SWF files on click and automatically](https://forum.kirupa.com/t/externally-loaded-swf-files-on-click-and-automatically/312453)

<div class="topic-metadata">

**Author:** [@lanawylma](https://forum.kirupa.com/u/lanawylma)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 7:12pm UTC](https://forum.kirupa.com/t/externally-loaded-swf-files-on-click-and-automatically/312453 "2010-08-03T19:12:59Z")

</div>

Hi.. I would really like some help with the following.. I am creating a slide show that loads external SWFs on a button click as well as switching slides automatically.. This is pretty much the exact example of the fun…

---

## [URLRequest fails to open when Flash is inside iFrame](https://forum.kirupa.com/t/urlrequest-fails-to-open-when-flash-is-inside-iframe/312452)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 6:48pm UTC](https://forum.kirupa.com/t/urlrequest-fails-to-open-when-flash-is-inside-iframe/312452 "2010-08-03T18:48:14Z")

</div>

Live Demo http://alphatobravo.blogspot.com/2010/07/off-air-widget-iframe.html Problem I put a SWF inside an iFrame. This SWF has two URLRequests. One that goes to a normal website and another that goes to an .EXE f…

---

## [Issue Loading XML File](https://forum.kirupa.com/t/issue-loading-xml-file/312451)

<div class="topic-metadata">

**Author:** [@camrinp](https://forum.kirupa.com/u/camrinp)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 6:47pm UTC](https://forum.kirupa.com/t/issue-loading-xml-file/312451 "2010-08-03T18:47:09Z")

</div>

Hi All, I have been fighting with my issue of loading an xml file from flash for about 5 hours. When I run the swf on my desktop it works fine but once I upload it to my server it gives the error Error #2044: Unhand…

---

## [Loading images in array one at a time](https://forum.kirupa.com/t/loading-images-in-array-one-at-a-time/312450)

<div class="topic-metadata">

**Author:** [@ashtraybabyhead](https://forum.kirupa.com/u/ashtraybabyhead)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 6:42pm UTC](https://forum.kirupa.com/t/loading-images-in-array-one-at-a-time/312450 "2010-08-03T18:42:00Z")

</div>

The thread title says it all. I have 48 images in an array and I just want each image in my array to fade in one at a time in succession. Here is my code: import com.greensock.TweenMax; import com.greensock.easing.\*; …

---

## [Turn Off Stage Smoothing?](https://forum.kirupa.com/t/turn-off-stage-smoothing/312448)

<div class="topic-metadata">

**Author:** [@Sprite\_Monkey](https://forum.kirupa.com/u/Sprite_Monkey)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 6:01pm UTC](https://forum.kirupa.com/t/turn-off-stage-smoothing/312448 "2010-08-03T18:01:19Z")

</div>

I just upgraded to CS4. I'm working with sprites and using the properties of the images I've turned off smoothing to get that retro gaming feel. However, when viewing the sprites on the stage, everything is smoothed over…

---

## [Loading swf into another clickable flash?](https://forum.kirupa.com/t/loading-swf-into-another-clickable-flash/312447)

<div class="topic-metadata">

**Author:** [@jstephan](https://forum.kirupa.com/u/jstephan)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 5:47pm UTC](https://forum.kirupa.com/t/loading-swf-into-another-clickable-flash/312447 "2010-08-03T17:47:22Z")

</div>

Hi, Is it possible to load a SWF into another blank SWF file and make it clickable? I have a (parent) flash which has a clickable transparent button on it and i am trying to load another external flash into this to …

---

## [Optimizing As3 Button Code](https://forum.kirupa.com/t/optimizing-as3-button-code/312444)

<div class="topic-metadata">

**Author:** [@RichDesigner](https://forum.kirupa.com/u/RichDesigner)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 5:20pm UTC](https://forum.kirupa.com/t/optimizing-as3-button-code/312444 "2010-08-03T17:20:55Z")

</div>

Hello, how are you all? Well, this is my first post... so im going to pop that cherry. I am new to Actionscript, so im jumping directly into AS3. I have a book handy but have noticed, that they really dont include bes…

---

## [Transfering one flash file to another](https://forum.kirupa.com/t/transfering-one-flash-file-to-another/312443)

<div class="topic-metadata">

**Author:** [@lozzy45](https://forum.kirupa.com/u/lozzy45)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 4:28pm UTC](https://forum.kirupa.com/t/transfering-one-flash-file-to-another/312443 "2010-08-03T16:28:05Z")

</div>

Hello im in a spot of bother I have baiccly made a dress up game , but i have kinda of done it backwards and i have made the 2nd scene the 1st one The boy side of the dress up game wasin the 1st scene and i have mad…

---

## [Water filling inside text effect](https://forum.kirupa.com/t/water-filling-inside-text-effect/312442)

<div class="topic-metadata">

**Author:** [@KJoe](https://forum.kirupa.com/u/KJoe)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 3:49pm UTC](https://forum.kirupa.com/t/water-filling-inside-text-effect/312442 "2010-08-03T15:49:29Z")

</div>

Hi, I am trying to make a text effect where the colours fill up inside the logo lettering as if water was being poured in. Is there a way of doing this either by Actionscript or some form of advanced masking perhaps? …

---

## [What is the proper way to design a button with mc in it?](https://forum.kirupa.com/t/what-is-the-proper-way-to-design-a-button-with-mc-in-it/312439)

<div class="topic-metadata">

**Author:** [@ngrinchenko](https://forum.kirupa.com/u/ngrinchenko)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 2:03pm UTC](https://forum.kirupa.com/t/what-is-the-proper-way-to-design-a-button-with-mc-in-it/312439 "2010-08-03T14:03:14Z")

</div>

s there a possible issue in the way the button is made not coded? I am using Flash CS4. My buttons seem not to work. I do not think issue is in the action script (I am scripting in 3.0). Here is the way I make the butt…

---

## [CS5 mass text issues](https://forum.kirupa.com/t/cs5-mass-text-issues/312438)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 2:02pm UTC](https://forum.kirupa.com/t/cs5-mass-text-issues/312438 "2010-08-03T14:02:46Z")

</div>

I have a program I have been working on. I upgraded to CS5 from CS4. All of my textfields were messed up, so I replaced them, and embedded the new text I needed to embed. Still, every new field won't use any regular font…

---

## [Sine Wave Help](https://forum.kirupa.com/t/sine-wave-help/312437)

<div class="topic-metadata">

**Author:** [@HunterEx](https://forum.kirupa.com/u/HunterEx)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 1:24pm UTC](https://forum.kirupa.com/t/sine-wave-help/312437 "2010-08-03T13:24:30Z")

</div>

I want to make a sine wave, that can change it's "x" and amplitude, i can make a sine wave, but only that i can't animate it. I was search, but don't find anything that can help me. P.S. I'm sorry for bad english.

---

## [Event Listener only on MovieClip](https://forum.kirupa.com/t/event-listener-only-on-movieclip/312435)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 12:57pm UTC](https://forum.kirupa.com/t/event-listener-only-on-movieclip/312435 "2010-08-03T12:57:51Z")

</div>

Hi guys, I've an array of movieclips created via code that have some textfields. Then i have added some listeners to the movieclips. Here the code: arrNot\*.addEventListener(MouseEvent.MOUSE\_OVER, titoloOver); privat…

---

## [Load random movies](https://forum.kirupa.com/t/load-random-movies/312433)

<div class="topic-metadata">

**Author:** [@clandestino800](https://forum.kirupa.com/u/clandestino800)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 11:37am UTC](https://forum.kirupa.com/t/load-random-movies/312433 "2010-08-03T11:37:26Z")

</div>

\[FLASH 8 Help Needed\] Hi everybody I am trying to load 9 movies into a flash, I want them to be loaded randomly and to loop, right now I am using this script but it is playing them in a certain order. Is there a way …

---

## [Air App Dilema](https://forum.kirupa.com/t/air-app-dilema/312429)

<div class="topic-metadata">

**Author:** [@tj99ay](https://forum.kirupa.com/u/tj99ay)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 9:50am UTC](https://forum.kirupa.com/t/air-app-dilema/312429 "2010-08-03T09:50:56Z")

</div>

Hi All, Apologies if I haven't posted this in the right spot, but I couldn't see anywhere specific to Air Apps. I've been racking my brain for weeks now trying to work out how to do the following. I can do some of it…

---

## [Annoying problem in Flash CS5](https://forum.kirupa.com/t/annoying-problem-in-flash-cs5/312428)

<div class="topic-metadata">

**Author:** [@luoruize](https://forum.kirupa.com/u/luoruize)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 9:34am UTC](https://forum.kirupa.com/t/annoying-problem-in-flash-cs5/312428 "2010-08-03T09:34:05Z")

</div>

For some reason, in the past few days, the auto complete feature doesn't work well when I'm creating a new class file. I'm trying to write a new class which uses away3D, and even though the auto-complete works well when …

---

## [Favourite program](https://forum.kirupa.com/t/favourite-program/312426)

<div class="topic-metadata">

**Author:** [@progcomputeach](https://forum.kirupa.com/u/progcomputeach)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 9:10am UTC](https://forum.kirupa.com/t/favourite-program/312426 "2010-08-03T09:10:31Z")

</div>

I was just curious as to what everyones favourite C# program was. Either a program that they have seen or one they have written themselves... You may have spent weeks and possibly months writing it. You may as well tell …

---

## [\[AS3\]error 1120, Access of undefined property](https://forum.kirupa.com/t/as3-error-1120-access-of-undefined-property/312425)

<div class="topic-metadata">

**Author:** [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 8:12am UTC](https://forum.kirupa.com/t/as3-error-1120-access-of-undefined-property/312425 "2010-08-03T08:12:33Z")

</div>

hello, I m getting this error, i have provided the instance names on its flash file & linkages too, the components are on timeline, but cant access the instances, it seems beyond my mind, to correct it, flvDisplay(video…

---

## [CS4 Problem](https://forum.kirupa.com/t/cs4-problem/312424)

<div class="topic-metadata">

**Author:** [@punk123123123](https://forum.kirupa.com/u/punk123123123)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 6:57am UTC](https://forum.kirupa.com/t/cs4-problem/312424 "2010-08-03T06:57:47Z")

</div>

Can someone post any relevant solutions to this problem in CS4?? Problem statement: Plugin tool script error in method ik\_isIKContainer I have no idea what is it and there aren't much solutions on the internet and th…

---

## [Wordpress mulit-level dropdown](https://forum.kirupa.com/t/wordpress-mulit-level-dropdown/312419)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [August 3, 2010, 3:22am UTC](https://forum.kirupa.com/t/wordpress-mulit-level-dropdown/312419 "2010-08-03T03:22:09Z")

</div>

I am having a hard time making a multilevel drop down in wordpress and I was wondering if someone could shed some light on it for me. I have got a menu working currently and it works as a drop down like: \>Home \>produ…

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

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