# programming

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

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

**Page:** 960

---

## [Loading one image at a time with for loop?](https://forum.kirupa.com/t/loading-one-image-at-a-time-with-for-loop/279223)

<div class="topic-metadata">

**Author:** [@eriklindahl](https://forum.kirupa.com/u/eriklindahl)\
**Replies:** 0\
**Last updated:** [January 12, 2009, 12:21am UTC](https://forum.kirupa.com/t/loading-one-image-at-a-time-with-for-loop/279223 "2009-01-12T00:21:50Z")

</div>

Hi, I have a function where i load some images from an XML file. The function builds up a pattern with boxes in lines of 4, and for each Image-tag in the XML file, it creates a new box in that pattern and loads an image …

---

## [Labels on SimpleButtons?](https://forum.kirupa.com/t/labels-on-simplebuttons/279222)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [January 12, 2009, 12:05am UTC](https://forum.kirupa.com/t/labels-on-simplebuttons/279222 "2009-01-12T00:05:46Z")

</div>

How can I get a wee bit of text onto a SimpleButton so that it appears to have a label?

---

## [Looping movie](https://forum.kirupa.com/t/looping-movie/279220)

<div class="topic-metadata">

**Author:** [@vmartinez](https://forum.kirupa.com/u/vmartinez)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 11:24pm UTC](https://forum.kirupa.com/t/looping-movie/279220 "2009-01-11T23:24:04Z")

</div>

I'm sure this is any easy fix but everthing I try doesn't seem to work. I have a file with 2 scenes at the end of the second is a movieclip. when that movieclip is done playing I simply want it to return to the beginning…

---

## [Can this be done in Flash CS4](https://forum.kirupa.com/t/can-this-be-done-in-flash-cs4/279219)

<div class="topic-metadata">

**Author:** [@kkos](https://forum.kirupa.com/u/kkos)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 10:46pm UTC](https://forum.kirupa.com/t/can-this-be-done-in-flash-cs4/279219 "2009-01-11T22:46:55Z")

</div>

I have not purchased Flash CS4 yet because even the upgrade is quite expensive here in Europe. Since the release of CS4 i see more and more websites with some '3D' stuff done in flash. I wonder if Flash CS4 with its bui…

---

## [Secure Login: AS3 v. \[ PHP + MySQL \]](https://forum.kirupa.com/t/secure-login-as3-v-php-mysql/279215)

<div class="topic-metadata">

**Author:** [@j1234](https://forum.kirupa.com/u/j1234)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 8:21pm UTC](https://forum.kirupa.com/t/secure-login-as3-v-php-mysql/279215 "2009-01-11T20:21:43Z")

</div>

I'm just hoping someone knows which route is best to take when it comes to creating login forms that require users to insert a username and password. My main concern is about security. I don't want someone to be able t…

---

## [Stage relative mouse pointer](https://forum.kirupa.com/t/stage-relative-mouse-pointer/279210)

<div class="topic-metadata">

**Author:** [@platan0](https://forum.kirupa.com/u/platan0)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 5:50pm UTC](https://forum.kirupa.com/t/stage-relative-mouse-pointer/279210 "2009-01-11T17:50:01Z")

</div>

Hi all, I'm trying to accomplish the following: create a mouse icon based on it's position on the stage Here's the example i'm trying to build off from: http://www.buccellati.com/eng/start.html (turn to the second pa…

---

## [Papervision: restrict rotation of a plane](https://forum.kirupa.com/t/papervision-restrict-rotation-of-a-plane/279209)

<div class="topic-metadata">

**Author:** [@johnnymeerkat](https://forum.kirupa.com/u/johnnymeerkat)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 4:54pm UTC](https://forum.kirupa.com/t/papervision-restrict-rotation-of-a-plane/279209 "2009-01-11T16:54:12Z")

</div>

Hey guys A longtime AS2 developer finally making the transition to AS3 and Papervision all in one big leap. Working from Lee Brimelow's awesome pv2 tutorial as a base I've been able to create a plane with a movieclip…

---

## [Mp3s Not Streaming](https://forum.kirupa.com/t/mp3s-not-streaming/279208)

<div class="topic-metadata">

**Author:** [@kmac](https://forum.kirupa.com/u/kmac)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 4:38pm UTC](https://forum.kirupa.com/t/mp3s-not-streaming/279208 "2009-01-11T16:38:20Z")

</div>

Hi, Not sure what I'm doing wrong here, but instead of the mp3 streaming, it won't start until the progress bar fully loads (timeline). function playSong(url) { player\_mp3\["btn\_pause"\]\["enabled"\] = false; sn…

---

## [Controlling flashmovie from HTML menu](https://forum.kirupa.com/t/controlling-flashmovie-from-html-menu/279205)

<div class="topic-metadata">

**Author:** [@christiang](https://forum.kirupa.com/u/christiang)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 2:36pm UTC](https://forum.kirupa.com/t/controlling-flashmovie-from-html-menu/279205 "2009-01-11T14:36:00Z")

</div>

Hi, I'm trying to figure out if there is a way to control a flash movie from a HTML menu(anchors or buttons) without having the page reload. What I want is a flashmovie and some sort of list with links, and when a li…

---

## [Reparenting a movieclip already on the stage](https://forum.kirupa.com/t/reparenting-a-movieclip-already-on-the-stage/279204)

<div class="topic-metadata">

**Author:** [@Raemazing](https://forum.kirupa.com/u/Raemazing)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 2:20pm UTC](https://forum.kirupa.com/t/reparenting-a-movieclip-already-on-the-stage/279204 "2009-01-11T14:20:56Z")

</div>

Does anyone happen to know how to go about reparenting a movie clip that is already on the stage? I can only seem to find how to reparent sprites or children that were added. I'm working on a paper doll sort of game for …

---

## [Swf loading too fast after preloading](https://forum.kirupa.com/t/swf-loading-too-fast-after-preloading/279200)

<div class="topic-metadata">

**Author:** [@Teel](https://forum.kirupa.com/u/Teel)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 1:07pm UTC](https://forum.kirupa.com/t/swf-loading-too-fast-after-preloading/279200 "2009-01-11T13:07:52Z")

</div>

Hi everyone, I have this strange problem i cannot solve by myself, I have preloader.swf in html (as3) that loads 1.swf (as2) which is my main page, the problem appears when it is in half way of preloading - 1.swf is gett…

---

## [Rotating vectors](https://forum.kirupa.com/t/rotating-vectors/279197)

<div class="topic-metadata">

**Author:** [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 12:11pm UTC](https://forum.kirupa.com/t/rotating-vectors/279197 "2009-01-11T12:11:22Z")

</div>

Hi I am currently developing a game. Where I have a vector3d let's call it v: \[INDENT\]v = (vx,vy,vz) \[/INDENT\]let's say I also have an angle w counterclockwise around the v vector. Now i need to describe a vector t: \[I…

---

## [How to call one .swf file in another .swf file?](https://forum.kirupa.com/t/how-to-call-one-swf-file-in-another-swf-file/279194)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 6:46am UTC](https://forum.kirupa.com/t/how-to-call-one-swf-file-in-another-swf-file/279194 "2009-01-11T06:46:57Z")

</div>

Hi all, I am new to flash and ActionScript3.0. Presently, I am using flash CS3 and the code I need is in ActionScript 3.0. Suppose, I have a .swf file(viz., file1.swf). Now, i am developing one more .swf fi…

---

## [Flash 8 Help!](https://forum.kirupa.com/t/flash-8-help/279192)

<div class="topic-metadata">

**Author:** [@kellynunes](https://forum.kirupa.com/u/kellynunes)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 5:19am UTC](https://forum.kirupa.com/t/flash-8-help/279192 "2009-01-11T05:19:13Z")

</div>

Hello Everyone, I am currently working on a website for my baseball team and it's coming along pretty well until today. I am trying to make the player profiles scroll from left to right within a movie clip. That movi…

---

## [Pics effect](https://forum.kirupa.com/t/pics-effect/279188)

<div class="topic-metadata">

**Author:** [@jjmaster\_j](https://forum.kirupa.com/u/jjmaster_j)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 1:39am UTC](https://forum.kirupa.com/t/pics-effect/279188 "2009-01-11T01:39:29Z")

</div>

Hello, Is there a tutorial for the effect in http://rivercityflats.com/gallery.html? When the cursor is on the square, a picture pops up. Thanks

---

## [Parent SWF controlling Child SWF variables](https://forum.kirupa.com/t/parent-swf-controlling-child-swf-variables/279186)

<div class="topic-metadata">

**Author:** [@Paradise\_Wolf](https://forum.kirupa.com/u/Paradise_Wolf)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 12:58am UTC](https://forum.kirupa.com/t/parent-swf-controlling-child-swf-variables/279186 "2009-01-11T00:58:11Z")

</div>

1) The code below works but the browser sends an annoying alert message “Received Parent Message” and you are obliged to click OK before the program can run. How can it be fixed ? 2) Why this code needs to use the \*\*Ex…

---

## [Fullscreen image... to an extent](https://forum.kirupa.com/t/fullscreen-image-to-an-extent/279185)

<div class="topic-metadata">

**Author:** [@lordy18](https://forum.kirupa.com/u/lordy18)\
**Replies:** 0\
**Last updated:** [January 11, 2009, 12:47am UTC](https://forum.kirupa.com/t/fullscreen-image-to-an-extent/279185 "2009-01-11T00:47:07Z")

</div>

Hey, I know how to make an image full screen, also with a onresize listener. But! Because some of the images are only of a certain pixel size, I don't want to stretch them above that. So, do any of you know how to se…

---

## [BaseClass preloader using loaderInfo](https://forum.kirupa.com/t/baseclass-preloader-using-loaderinfo/279184)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 10:59pm UTC](https://forum.kirupa.com/t/baseclass-preloader-using-loaderinfo/279184 "2009-01-10T22:59:45Z")

</div>

Hi all, I've googled this to death but can't get any solutions to work! All I want to do is add preloading onto my main base class for my project. I am simply trying: package Classes{ import flash.display.Movi…

---

## [Game timer](https://forum.kirupa.com/t/game-timer/279183)

<div class="topic-metadata">

**Author:** [@DashMasterful](https://forum.kirupa.com/u/DashMasterful)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 10:12pm UTC](https://forum.kirupa.com/t/game-timer/279183 "2009-01-10T22:12:09Z")

</div>

So I have a game timer that counts down every second. At the moment, I am using a TimerEvent that calls a function every second. I was wondering if there is a more efficient way to do this or is this the best way.

---

## [Creating Horizonal Scroll from Verticle Example](https://forum.kirupa.com/t/creating-horizonal-scroll-from-verticle-example/279182)

<div class="topic-metadata">

**Author:** [@scotchegg](https://forum.kirupa.com/u/scotchegg)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 10:06pm UTC](https://forum.kirupa.com/t/creating-horizonal-scroll-from-verticle-example/279182 "2009-01-10T22:06:41Z")

</div>

Hi Guys I have just gone through the site tutorial on creating a \*\*Simple \*\*Custom Scrollbar here... http://www.kirupa.com/developer/flash8/scrollbar3.htm However I am making a pdf viewer with zoom in and so will nee…

---

## [currentFrameLabel help](https://forum.kirupa.com/t/currentframelabel-help/279180)

<div class="topic-metadata">

**Author:** [@Joserinu](https://forum.kirupa.com/u/Joserinu)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 8:37pm UTC](https://forum.kirupa.com/t/currentframelabel-help/279180 "2009-01-10T20:37:44Z")

</div>

hello I can't seem to get the dog to bark when the ball is picked up. I used currentframe label to figure out when the ball is picked up and reach to the end so dog would bark at beginning and run after the ball once b…

---

## [How should I write this ternary operator?](https://forum.kirupa.com/t/how-should-i-write-this-ternary-operator/279178)

<div class="topic-metadata">

**Author:** [@Thief\_of\_Light](https://forum.kirupa.com/u/Thief_of_Light)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 7:47pm UTC](https://forum.kirupa.com/t/how-should-i-write-this-ternary-operator/279178 "2009-01-10T19:47:05Z")

</div>

What is the proper way to write this nested ternary operator? var bool:Boolean = \_isTrue1 ? true : (isTrue2 ? true : false);

---

## [XML Not Tracking Loading Progress](https://forum.kirupa.com/t/xml-not-tracking-loading-progress/279176)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 6:00pm UTC](https://forum.kirupa.com/t/xml-not-tracking-loading-progress/279176 "2009-01-10T18:00:05Z")

</div>

I have a very large XML file that I am loading and it loads up just fine. The problem is that I am trying to make a progress bar and it's not working right - I have a trace tracking the progress, but the progress does …

---

## [Need help to return variables into Flash AS 3.0](https://forum.kirupa.com/t/need-help-to-return-variables-into-flash-as-3-0/279175)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 5:52pm UTC](https://forum.kirupa.com/t/need-help-to-return-variables-into-flash-as-3-0/279175 "2009-01-10T17:52:49Z")

</div>

Using this Actionscript: var loader=new URLLoader(); var loaderURL=new URLRequest("test.php"); var loaderVars=new URLVariables(); loaderVars.nameTxt="someName"; loaderURL.method=URLRequestMethod.POST; loader.dataFor…

---

## [MouseEvent.MOUSE\_WHEEL fires twice in Firefox](https://forum.kirupa.com/t/mouseevent-mouse-wheel-fires-twice-in-firefox/279174)

<div class="topic-metadata">

**Author:** [@yuppieee123](https://forum.kirupa.com/u/yuppieee123)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 5:11pm UTC](https://forum.kirupa.com/t/mouseevent-mouse-wheel-fires-twice-in-firefox/279174 "2009-01-10T17:11:06Z")

</div>

The mouse\_wheel event always fires twice in Firefox. Does anyone have a workaround for this?

---

## [AS3 login without SQL](https://forum.kirupa.com/t/as3-login-without-sql/279172)

<div class="topic-metadata">

**Author:** [@shreksta](https://forum.kirupa.com/u/shreksta)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 4:28pm UTC](https://forum.kirupa.com/t/as3-login-without-sql/279172 "2009-01-10T16:28:17Z")

</div>

Hello, I've searched long and hard, but couldn't find any tutorials on an AS3 login using PHP to store the correct username and password but not using SQL. Can a movie published with Flash Player 9 be decompiled, makin…

---

## [Align object during stage resize and fullscreen](https://forum.kirupa.com/t/align-object-during-stage-resize-and-fullscreen/279167)

<div class="topic-metadata">

**Author:** [@scarjoh](https://forum.kirupa.com/u/scarjoh)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 1:29pm UTC](https://forum.kirupa.com/t/align-object-during-stage-resize-and-fullscreen/279167 "2009-01-10T13:29:42Z")

</div>

If my movie clip in which I am loading external swf alings itself on stage like this: swfLoader = new Loader(); var swfRequest:URLRequest = new URLRequest(url); swfLoader.contentLoaderInfo.addEventListener(Event.COMPL…

---

## [FLV player not shown skin on live server](https://forum.kirupa.com/t/flv-player-not-shown-skin-on-live-server/279162)

<div class="topic-metadata">

**Author:** [@sachinflash](https://forum.kirupa.com/u/sachinflash)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 11:33am UTC](https://forum.kirupa.com/t/flv-player-not-shown-skin-on-live-server/279162 "2009-01-10T11:33:47Z")

</div>

Hi!! i m facing a problem,my main swf,flv,html file and skin.swf file onthe root folder of ftp server but my flv player doesn't show its skin while online whereas its work fine offline .... is there any solution thanx in…

---

## [actionscript3.0](https://forum.kirupa.com/t/actionscript3-0/279161)

<div class="topic-metadata">

**Author:** [@ponarangan](https://forum.kirupa.com/u/ponarangan)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 10:51am UTC](https://forum.kirupa.com/t/actionscript3-0/279161 "2009-01-10T10:51:13Z")

</div>

I need actionscript3.0 from the basic step by step.

---

## [Flash Gallery like anteprima.com/fw07](https://forum.kirupa.com/t/flash-gallery-like-anteprima-com-fw07/279160)

<div class="topic-metadata">

**Author:** [@sandip\_fl](https://forum.kirupa.com/u/sandip_fl)\
**Replies:** 0\
**Last updated:** [January 10, 2009, 10:39am UTC](https://forum.kirupa.com/t/flash-gallery-like-anteprima-com-fw07/279160 "2009-01-10T10:39:26Z")

</div>

Im Sandip Sonawane, From Mumbai, INDIA. I’m very much fan of your website & one of your daily visitor I got very nice flash scripts on this site, it’s too help full to us Now im working on site call Trésmode In this si…

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

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