# programming

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

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

**Page:** 654

---

## [Unload movie from inside the Loader](https://forum.kirupa.com/t/unload-movie-from-inside-the-loader/298920)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 9:14am UTC](https://forum.kirupa.com/t/unload-movie-from-inside-the-loader/298920 "2009-10-27T09:14:42Z")

</div>

If I have loaded a movie (named movie1.swf) in to a loader (named ldr) and I click a button with in that movie how can I unLoad Movie1.swf and load movie2.swf in to ldr?

---

## [(+ Flash actually) What on earth is going on?](https://forum.kirupa.com/t/flash-actually-what-on-earth-is-going-on/298918)

<div class="topic-metadata">

**Author:** [@wkt](https://forum.kirupa.com/u/wkt)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 8:02am UTC](https://forum.kirupa.com/t/flash-actually-what-on-earth-is-going-on/298918 "2009-10-27T08:02:32Z")

</div>

Hi there. I am building a Flash game and I prepare to design a high score table for it. I've got a server running. Since this is my first time doing PHP and Flash together, I first designed a form so I just need to inp…

---

## [Server side "convert" png to swf?](https://forum.kirupa.com/t/server-side-convert-png-to-swf/298914)

<div class="topic-metadata">

**Author:** [@nitech](https://forum.kirupa.com/u/nitech)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 7:14am UTC](https://forum.kirupa.com/t/server-side-convert-png-to-swf/298914 "2009-10-27T07:14:53Z")

</div>

Hi, I want to let a user upload a PNG-file with alpha transparency and have it compiled by the server to a swf-file with jpeg compression on the embedded PNG-file. How can I make this happen? I thought first I'd …

---

## [lineStyle in z space?](https://forum.kirupa.com/t/linestyle-in-z-space/298913)

<div class="topic-metadata">

**Author:** [@tristessa](https://forum.kirupa.com/u/tristessa)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 6:03am UTC](https://forum.kirupa.com/t/linestyle-in-z-space/298913 "2009-10-27T06:03:34Z")

</div>

Hello again, toying with flash again and i stumble upon this one. i googled it, but most examples are too complex to start off with. All i am looking for is to draw a line from point 1 x, y z, to point2 x y z if s…

---

## [Listening for a custom event](https://forum.kirupa.com/t/listening-for-a-custom-event/298911)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 4:47am UTC](https://forum.kirupa.com/t/listening-for-a-custom-event/298911 "2009-10-27T04:47:09Z")

</div>

I am making a game and I am having problems getting a class to handle a custom event... I know the events are firing because I put some trace statements into my custom event class. Any help here is much appreciated... …

---

## [Flash CS4 Ordering](https://forum.kirupa.com/t/flash-cs4-ordering/298910)

<div class="topic-metadata">

**Author:** [@hungryOrb](https://forum.kirupa.com/u/hungryOrb)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 4:09am UTC](https://forum.kirupa.com/t/flash-cs4-ordering/298910 "2009-10-27T04:09:54Z")

</div>

Hi guys, Sorry to bring this issue to you, but Adobe seem inept at offering any reasonable sales advice. I want to buy Flash. I currently live in Shanghai and have a british bank account. I look at the website, and see t…

---

## [How does one create this video transition?](https://forum.kirupa.com/t/how-does-one-create-this-video-transition/298906)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 2:25am UTC](https://forum.kirupa.com/t/how-does-one-create-this-video-transition/298906 "2009-10-27T02:25:15Z")

</div>

Hello there. Do you know how to make an flv player start from nothing and then scale up until its the size you want. Like a transition from 0 size to 1200 by 594.2 within a space of 2 seconds? I would appreciate even t…

---

## [Loading external swf with transitions](https://forum.kirupa.com/t/loading-external-swf-with-transitions/298904)

<div class="topic-metadata">

**Author:** [@mallen](https://forum.kirupa.com/u/mallen)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 1:04am UTC](https://forum.kirupa.com/t/loading-external-swf-with-transitions/298904 "2009-10-27T01:04:04Z")

</div>

I need help getting my loaded swf files to play the "out" transition before the next movie loads. I have a main swf with 5 buttons (movie clips) that load external swf onto the stage. package { import flash.displa…

---

## [How to jump to a certain Movieclip, And Frame with AS2!?](https://forum.kirupa.com/t/how-to-jump-to-a-certain-movieclip-and-frame-with-as2/298902)

<div class="topic-metadata">

**Author:** [@imseb](https://forum.kirupa.com/u/imseb)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 12:00am UTC](https://forum.kirupa.com/t/how-to-jump-to-a-certain-movieclip-and-frame-with-as2/298902 "2009-10-27T00:00:31Z")

</div>

Hey There! I need to know How to jump to a certain Movieclip, And Frame with AS2!? By Clicking on a button. Right now I just know how to jump whitin a Movie clip. But I need to jump to a whole other movie clip from a…

---

## [Code to make movie clips shuffle](https://forum.kirupa.com/t/code-to-make-movie-clips-shuffle/298901)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 11:35pm UTC](https://forum.kirupa.com/t/code-to-make-movie-clips-shuffle/298901 "2009-10-26T23:35:31Z")

</div>

Hi Guys, I have a project and i have an issue with an idea i have. The index of the website is in html with a simple link to enter the main menu page in flash. But in the main menu i have a movie clip of a man in the c…

---

## [Leg Movement Conditional Statement for Game](https://forum.kirupa.com/t/leg-movement-conditional-statement-for-game/298900)

<div class="topic-metadata">

**Author:** [@ArdorEdor](https://forum.kirupa.com/u/ArdorEdor)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 10:25pm UTC](https://forum.kirupa.com/t/leg-movement-conditional-statement-for-game/298900 "2009-10-26T22:25:10Z")

</div>

I have a character in a game that moves in accordance with keyboard commands.. I'd like to have it so that when the character moves on the stage his legs simulate walking. Meaning.. when moving right, his legs rotate c…

---

## [Event not bubbling to stage](https://forum.kirupa.com/t/event-not-bubbling-to-stage/298899)

<div class="topic-metadata">

**Author:** [@goingNuts](https://forum.kirupa.com/u/goingNuts)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 9:49pm UTC](https://forum.kirupa.com/t/event-not-bubbling-to-stage/298899 "2009-10-26T21:49:54Z")

</div>

I'm gonna do my best to explain this... I have a content clip that gets replaced by a movieClip from the library every time a button is clicked. Some of the content sections contain video. Within the video is a custom …

---

## [Conditional Statment](https://forum.kirupa.com/t/conditional-statment/298898)

<div class="topic-metadata">

**Author:** [@jholly](https://forum.kirupa.com/u/jholly)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 9:36pm UTC](https://forum.kirupa.com/t/conditional-statment/298898 "2009-10-26T21:36:03Z")

</div>

So I'm not that familiar with using conditional statements yet, and I'm trying to get my head around it. I know what I need it to do, I'm just not sure of the correct syntax. I basically want a statement that says: i…

---

## [Emulating a Webcam for debugging](https://forum.kirupa.com/t/emulating-a-webcam-for-debugging/298896)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 9:22pm UTC](https://forum.kirupa.com/t/emulating-a-webcam-for-debugging/298896 "2009-10-26T21:22:43Z")

</div>

Sadly, I don't have a webcam at this computer, and unless someone sends me one, or upps my monthly salary from $100, I won't be getting one any time soon. Sadly, there is some code I would like to test which requires a…

---

## [Openning a blog inside a site in flash](https://forum.kirupa.com/t/openning-a-blog-inside-a-site-in-flash/298894)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 9:01pm UTC](https://forum.kirupa.com/t/openning-a-blog-inside-a-site-in-flash/298894 "2009-10-26T21:01:20Z")

</div>

Hello is is possible to publish a blog from wordpress in flash, showing the latest posts?

---

## [Keeping References to Primitive Data Types/Properties?](https://forum.kirupa.com/t/keeping-references-to-primitive-data-types-properties/298893)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 8:54pm UTC](https://forum.kirupa.com/t/keeping-references-to-primitive-data-types-properties/298893 "2009-10-26T20:54:22Z")

</div>

I included a little recap. Skip down to the non-italisized text for the actual questions. \*\* Primitives\*\* \*Primitive Data Types (Boolean, int, Null, Number, String, uint, and void) are treated as "values" rather than Obj…

---

## [Logic reasoning in AS 3.0?](https://forum.kirupa.com/t/logic-reasoning-in-as-3-0/298892)

<div class="topic-metadata">

**Author:** [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 8:53pm UTC](https://forum.kirupa.com/t/logic-reasoning-in-as-3-0/298892 "2009-10-26T20:53:57Z")

</div>

Hello dear friends, my problem is related to logical reasoning. Q: Color of all horses are red. Amiga is a horse What is the color of Amiga? \>\> the answer must be red. But how to convert it into actionscript co…

---

## [Can't add event listener to button](https://forum.kirupa.com/t/cant-add-event-listener-to-button/298890)

<div class="topic-metadata">

**Author:** [@darren884](https://forum.kirupa.com/u/darren884)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:54pm UTC](https://forum.kirupa.com/t/cant-add-event-listener-to-button/298890 "2009-10-26T19:54:49Z")

</div>

All my other instances I can access on my main movie from within my main movie except my button named play\_game. Whenever I tried to trace or access it, it says its null. Do I have to do something special in order to acc…

---

## [Code Repository](https://forum.kirupa.com/t/code-repository/298889)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:49pm UTC](https://forum.kirupa.com/t/code-repository/298889 "2009-10-26T19:49:15Z")

</div>

I've seen some programmers storing their code at Google Code or other code repositories. I don't know if I should hop on that wagon. Are there any benefits of storing your code at a code repository? Why would someone d…

---

## [Document PHP Classes](https://forum.kirupa.com/t/document-php-classes/298888)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:48pm UTC](https://forum.kirupa.com/t/document-php-classes/298888 "2009-10-26T19:48:04Z")

</div>

I'm reading another book about OOPHP and trying to figure out a way to document my classes for future use. The OOPHP book recommends phpDocumentor: http://phpdoc.org/ Anybody has an opinion or any suggestions as to how…

---

## [Wordpress post titles and archives not working](https://forum.kirupa.com/t/wordpress-post-titles-and-archives-not-working/298887)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:42pm UTC](https://forum.kirupa.com/t/wordpress-post-titles-and-archives-not-working/298887 "2009-10-26T19:42:51Z")

</div>

Recently I've been making some changes to my website, I used to use it only for my blog but now the entire site is wordpress based. Anyway a few days ago I noticed that on my blog when I click a post title it does not ta…

---

## [Gallery/Smoothing/new flash.display.BitmapData \[HELP\]](https://forum.kirupa.com/t/gallery-smoothing-new-flash-display-bitmapdata-help/298886)

<div class="topic-metadata">

**Author:** [@philipecr](https://forum.kirupa.com/u/philipecr)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:35pm UTC](https://forum.kirupa.com/t/gallery-smoothing-new-flash-display-bitmapdata-help/298886 "2009-10-26T19:35:57Z")

</div>

asd

---

## [Cue Points in FLV ... help I'm stuck!](https://forum.kirupa.com/t/cue-points-in-flv-help-im-stuck/298884)

<div class="topic-metadata">

**Author:** [@SAEC\_KV](https://forum.kirupa.com/u/SAEC_KV)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:03pm UTC](https://forum.kirupa.com/t/cue-points-in-flv-help-im-stuck/298884 "2009-10-26T19:03:16Z")

</div>

I'm trying to trigger some events (fading of nearby movieclips) based on cue points of a currently playing FLV. I'm using the FLVPlayback component (not Netstream) and have added cue points from inside flash (so they're …

---

## [PHP: move\_uploaded\_file error](https://forum.kirupa.com/t/php-move-uploaded-file-error/298883)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 7:02pm UTC](https://forum.kirupa.com/t/php-move-uploaded-file-error/298883 "2009-10-26T19:02:50Z")

</div>

Hi. I have the following code: $timp=time(); $file\_dir="./upload".$timp; mkdir($file\_dir, 0777); foreach($\_FILES as $fisier=\>$fisiere) {if(is\_uploaded\_file($fisiere\['tmp\_name'\])) {move\_uploaded\_file($fisiere\['tmp\_nam…

---

## [Accessing stage instances from within the main constructor class?](https://forum.kirupa.com/t/accessing-stage-instances-from-within-the-main-constructor-class/298882)

<div class="topic-metadata">

**Author:** [@darren884](https://forum.kirupa.com/u/darren884)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 6:49pm UTC](https://forum.kirupa.com/t/accessing-stage-instances-from-within-the-main-constructor-class/298882 "2009-10-26T18:49:37Z")

</div>

Hi my movie is linked to an external class called game, and in the game cosntructor I am trying to access instances on my stage. I have tried MovieClip(root).instancename, root.instancename and even tried adding an event…

---

## [AS 3.0 Button navigate class](https://forum.kirupa.com/t/as-3-0-button-navigate-class/298881)

<div class="topic-metadata">

**Author:** [@Smsmee](https://forum.kirupa.com/u/Smsmee)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 6:26pm UTC](https://forum.kirupa.com/t/as-3-0-button-navigate-class/298881 "2009-10-26T18:26:01Z")

</div>

Hi there, I'm busy making a application with Actionscript 3.0 in Flash CS 4. I want to make an application with several buttons on the right side of the screens. When you click on a button de whole stage moves to the t…

---

## [Website has no scrollbars and is off centre](https://forum.kirupa.com/t/website-has-no-scrollbars-and-is-off-centre/298878)

<div class="topic-metadata">

**Author:** [@zodiac32](https://forum.kirupa.com/u/zodiac32)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 6:11pm UTC](https://forum.kirupa.com/t/website-has-no-scrollbars-and-is-off-centre/298878 "2009-10-26T18:11:46Z")

</div>

Hi Guys, I recently designed a website using Flash 8 and am still doing trials, but once I put it up on the server no scrollbars appeared and the centering is way off and its not full screen. Everything seems fine local…

---

## [Add numbers on flash](https://forum.kirupa.com/t/add-numbers-on-flash/298873)

<div class="topic-metadata">

**Author:** [@Andrea\_Espadinh](https://forum.kirupa.com/u/Andrea_Espadinh)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 4:50pm UTC](https://forum.kirupa.com/t/add-numbers-on-flash/298873 "2009-10-26T16:50:23Z")

</div>

hi, I was wondering if anyone could help me.. I have 12 icons for example, and each icon have a number and I want (when each one is selected) to make the total of them. Example: bublle1 = 12% bublle2 = 24% when i …

---

## [Multidimensional array lengths](https://forum.kirupa.com/t/multidimensional-array-lengths/298872)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 4:40pm UTC](https://forum.kirupa.com/t/multidimensional-array-lengths/298872 "2009-10-26T16:40:34Z")

</div>

How can I refer to the length of a array in a multidimensional array. This code does not work, but it is my pitiful attempt. I'm trying to get it so that the var galleryLength would equal the amount of values in each arr…

---

## [Put project in net with the right dimension](https://forum.kirupa.com/t/put-project-in-net-with-the-right-dimension/298870)

<div class="topic-metadata">

**Author:** [@Nimaro](https://forum.kirupa.com/u/Nimaro)\
**Replies:** 0\
**Last updated:** [October 26, 2009, 4:20pm UTC](https://forum.kirupa.com/t/put-project-in-net-with-the-right-dimension/298870 "2009-10-26T16:20:54Z")

</div>

hy everyone, Im doing a project of a site in flash/as3.... now im trying to put it on web to see some results... But when i go to publish... i dont know what options are the best... Like... i put percent 100% in widt…

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

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