# programming

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

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

**Page:** 1175

---

## [Couple Security Questions](https://forum.kirupa.com/t/couple-security-questions/264701)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [June 29, 2008, 2:05am UTC](https://forum.kirupa.com/t/couple-security-questions/264701 "2008-06-29T02:05:01Z")

</div>

Are loadvars easily hackable? I know that sockets are pretty secure. They would need a packet sniffer to screw with your application. I was thinking of enabling certain features in my application through loadVars. Howe…

---

## [What keeps my movie from stopping properly? Math.floor/interval](https://forum.kirupa.com/t/what-keeps-my-movie-from-stopping-properly-math-floor-interval/264646)

<div class="topic-metadata">

**Author:** [@dualaud](https://forum.kirupa.com/u/dualaud)\
**Replies:** 1\
**Last updated:** [June 29, 2008, 12:11am UTC](https://forum.kirupa.com/t/what-keeps-my-movie-from-stopping-properly-math-floor-interval/264646 "2008-06-29T00:11:04Z")

</div>

Hey all, this is driving me nuts. I have a movie, in it lies a button with which I jump to another position in the \_root timeline. At that position is a stop(); command. The movie just wont stop while this is running…

---

## [Loop through children?](https://forum.kirupa.com/t/loop-through-children/264695)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 2\
**Last updated:** [June 28, 2008, 11:25pm UTC](https://forum.kirupa.com/t/loop-through-children/264695 "2008-06-28T23:25:13Z")

</div>

Is it possible to loop through all of the children in a class that you have added to stage? Eg: myNewClass:testClass = new testClass() addChild(myNewClass); Then... Something like.. for (myVar:testClass in stage){ } …

---

## [&& doubt](https://forum.kirupa.com/t/doubt/264636)

<div class="topic-metadata">

**Author:** [@suvenier](https://forum.kirupa.com/u/suvenier)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 9:41pm UTC](https://forum.kirupa.com/t/doubt/264636 "2008-06-28T21:41:23Z")

</div>

hi isnt this: if(!land.hitTestPoint(castx,casty,true)) { if(!land.hitTestPoint(castx,castyc,true)) { if( !land.hitTestPoint(castx,castyb,true)) { hero.x += speedx; …

---

## [Making polls](https://forum.kirupa.com/t/making-polls/264659)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 4\
**Last updated:** [June 28, 2008, 9:05pm UTC](https://forum.kirupa.com/t/making-polls/264659 "2008-06-28T21:05:15Z")

</div>

Hey everyone, so I'm working on polls right now. I want to let users on my site create polls, which everyone can vote on. I have a few questions on how to set this up though. How should I set up my tables? Right now …

---

## [Constructor Parameters](https://forum.kirupa.com/t/constructor-parameters/264688)

<div class="topic-metadata">

**Author:** [@Exodar](https://forum.kirupa.com/u/Exodar)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 8:10pm UTC](https://forum.kirupa.com/t/constructor-parameters/264688 "2008-06-28T20:10:30Z")

</div>

Say you had a class with 3 parameters within its constructor function created like so: var class:ClassName = new ClassName(a, b, c); Each parameter has a default value so how would you change the value of c and skip a …

---

## [Problems with parsing text from textarea](https://forum.kirupa.com/t/problems-with-parsing-text-from-textarea/264041)

<div class="topic-metadata">

**Author:** [@Ubermeowmix](https://forum.kirupa.com/u/Ubermeowmix)\
**Replies:** 13\
**Last updated:** [June 28, 2008, 6:56pm UTC](https://forum.kirupa.com/t/problems-with-parsing-text-from-textarea/264041 "2008-06-28T18:56:37Z")

</div>

None of these three examples are working, why is the object loosing the string in passing it through the function? function fillDiv(userOutput, userIntput){ document.getElementById(userOutput) = document.getElementBy…

---

## [End all browser incompatibilities w/ CSS Reset](https://forum.kirupa.com/t/end-all-browser-incompatibilities-w-css-reset/264683)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 5:48pm UTC](https://forum.kirupa.com/t/end-all-browser-incompatibilities-w-css-reset/264683 "2008-06-28T17:48:40Z")

</div>

\[U\]http://developer.yahoo.com/yui/reset/\[/U\] I stumpled upon something called CSS Reset, which will neutralize all browsers’ built-in CSS so all browsers render a page the same. I’m wondering if anyone has experience wi…

---

## [Tween Alpha !?](https://forum.kirupa.com/t/tween-alpha/264668)

<div class="topic-metadata">

**Author:** [@oirartnoc](https://forum.kirupa.com/u/oirartnoc)\
**Replies:** 5\
**Last updated:** [June 28, 2008, 4:32pm UTC](https://forum.kirupa.com/t/tween-alpha/264668 "2008-06-28T16:32:34Z")

</div>

\*\* function homeumMouseOverHandler(ev:MouseEvent):void{ var myTweenAlpha:Tween = new Tween(homeum, "alpha", Strong.easeInOut, 0, 1, 1, true); } function homeumMouseOutHandler(ev:MouseEvent):void{ var m…

---

## [Pass varaible value from html to flash](https://forum.kirupa.com/t/pass-varaible-value-from-html-to-flash/264130)

<div class="topic-metadata">

**Author:** [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Replies:** 2\
**Last updated:** [June 28, 2008, 4:29pm UTC](https://forum.kirupa.com/t/pass-varaible-value-from-html-to-flash/264130 "2008-06-28T16:29:57Z")

</div>

Hi All, I need to pass a variable to flash from html using query string method. However only the varaible name is getting dispplayed in the flash file and not the value in the variable. The requirement is such that …

---

## [Tween Max - Not happy with motion](https://forum.kirupa.com/t/tween-max-not-happy-with-motion/264622)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 4\
**Last updated:** [June 28, 2008, 4:29pm UTC](https://forum.kirupa.com/t/tween-max-not-happy-with-motion/264622 "2008-06-28T16:29:23Z")

</div>

So usually I can get my motion exactly the way I want it but I'm not satisfied with the easing motion I am currently using. Running at 30 FPS Speed: .7 Scrolling a large movieclip (like 1800 pixels in height) Strong.ea…

---

## [TransformationPoint for MovieClip?](https://forum.kirupa.com/t/transformationpoint-for-movieclip/264679)

<div class="topic-metadata">

**Author:** [@Sage\_of\_Fire](https://forum.kirupa.com/u/Sage_of_Fire)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 4:06pm UTC](https://forum.kirupa.com/t/transformationpoint-for-movieclip/264679 "2008-06-28T16:06:25Z")

</div>

I would like to know how I could set a new rotation point for a MovieClip through AS3. I'm making a flash game, and I'd like to make my fighter move his arms and legs without going through all the complicated trig. I k…

---

## [Percent loaded of two SWFS](https://forum.kirupa.com/t/percent-loaded-of-two-swfs/264540)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 5\
**Last updated:** [June 28, 2008, 2:36pm UTC](https://forum.kirupa.com/t/percent-loaded-of-two-swfs/264540 "2008-06-28T14:36:21Z")

</div>

Hi, I was wondering if it was possible to have a preloader display the %loaded of both of them..I load two swfs at one time..a background swf and the swf that sits on top of the background. Right now I have a preloader o…

---

## [Firefox 3 AS3 Textfield Bug](https://forum.kirupa.com/t/firefox-3-as3-textfield-bug/264634)

<div class="topic-metadata">

**Author:** [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Replies:** 2\
**Last updated:** [June 28, 2008, 2:20pm UTC](https://forum.kirupa.com/t/firefox-3-as3-textfield-bug/264634 "2008-06-28T14:20:15Z")

</div>

I just wanted to show it off I don't think theres a solution to fix it. I had Anogar test it just to be sure it wasn't me. Basically if one puts a textfield in an swf and embeds it into a flash in any way (I tried a c…

---

## [AS3 OOP packaging help](https://forum.kirupa.com/t/as3-oop-packaging-help/264675)

<div class="topic-metadata">

**Author:** [@Sage\_of\_Fire](https://forum.kirupa.com/u/Sage_of_Fire)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 1:41pm UTC](https://forum.kirupa.com/t/as3-oop-packaging-help/264675 "2008-06-28T13:41:10Z")

</div>

I am currently trying to make a fighting game with AS3, including my own custom physics engine. It has been coming along pretty well, until I ran into one extremely large bug. When I try to create a new HumanFighter ob…

---

## [How to keep a movieclip centered?](https://forum.kirupa.com/t/how-to-keep-a-movieclip-centered/264672)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 4\
**Last updated:** [June 28, 2008, 1:04pm UTC](https://forum.kirupa.com/t/how-to-keep-a-movieclip-centered/264672 "2008-06-28T13:04:07Z")

</div>

In this site: http://www.duffy.com/ If you play with the size of the window of the browser, the main MC always centers itself accordingly how can I do it? Thanks

---

## [\[beginner\] reference object and stage](https://forum.kirupa.com/t/beginner-reference-object-and-stage/264667)

<div class="topic-metadata">

**Author:** [@samroni](https://forum.kirupa.com/u/samroni)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 12:54pm UTC](https://forum.kirupa.com/t/beginner-reference-object-and-stage/264667 "2008-06-28T12:54:58Z")

</div>

Hi all, its me again with simple questions if you don't mind answering. i have 1 fla and 1 class file. inside fla, i' put one instance called "main" on the stage. And i put this code in frame 1: \[AS\]var obj:Stag…

---

## [I want my own package function!](https://forum.kirupa.com/t/i-want-my-own-package-function/264620)

<div class="topic-metadata">

**Author:** [@ad\_sign](https://forum.kirupa.com/u/ad_sign)\
**Replies:** 11\
**Last updated:** [June 28, 2008, 12:53pm UTC](https://forum.kirupa.com/t/i-want-my-own-package-function/264620 "2008-06-28T12:53:12Z")

</div>

Hey guys. I know that this is not in the best practices manual, but I need to place a method DIRECTLY inside a package of mine. Pretty much like flash does with the as3 new flash.utils.\* package methods. Could anyone g…

---

## [A noob's venture into switching between multiple different custom cursors](https://forum.kirupa.com/t/a-noobs-venture-into-switching-between-multiple-different-custom-cursors/264579)

<div class="topic-metadata">

**Author:** [@josefgiven](https://forum.kirupa.com/u/josefgiven)\
**Replies:** 9\
**Last updated:** [June 28, 2008, 12:18pm UTC](https://forum.kirupa.com/t/a-noobs-venture-into-switching-between-multiple-different-custom-cursors/264579 "2008-06-28T12:18:21Z")

</div>

Hi folks, I know about tricks like this: onClipEvent(load) { Mouse.hide(); this.startDrag(); } ...for customising the mouse cursor. I'd like to ask for your help with more advanced cursor trickery. I have five mo…

---

## [\<b\>Subscribe Form Problem in Flash Template](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626)

<div class="topic-metadata">

**Author:** [@Judy1](https://forum.kirupa.com/u/Judy1)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 8:33am UTC](https://forum.kirupa.com/t/b-subscribe-form-problem-in-flash-template/264626 "2008-06-28T08:33:05Z")

</div>

Hello, I'm having a problem integrating an email marketing company's subscribe data (pasted below) with a Flash template (attached) that has a predefined subscribe form and I'm hoping someone might be able to help. T…

---

## [Loading multiple swfs in a container](https://forum.kirupa.com/t/loading-multiple-swfs-in-a-container/264652)

<div class="topic-metadata">

**Author:** [@mfsiddiq](https://forum.kirupa.com/u/mfsiddiq)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 7:09am UTC](https://forum.kirupa.com/t/loading-multiple-swfs-in-a-container/264652 "2008-06-28T07:09:07Z")

</div>

Hello Guys Coming from a java background,I am struckwith flex/actionscript probs.My requirement is pretty simple for actionscript developers But i dont know how to start.I need to have multiply swfs in a master container…

---

## [List out Variables](https://forum.kirupa.com/t/list-out-variables/264554)

<div class="topic-metadata">

**Author:** [@TVM\_XST](https://forum.kirupa.com/u/TVM_XST)\
**Replies:** 6\
**Last updated:** [June 28, 2008, 6:27am UTC](https://forum.kirupa.com/t/list-out-variables/264554 "2008-06-28T06:27:19Z")

</div>

Is there any method to list out all variables used in a CS3 flash movie?

---

## [Help finishing car movement in as3](https://forum.kirupa.com/t/help-finishing-car-movement-in-as3/264553)

<div class="topic-metadata">

**Author:** [@thejoeknows\_com](https://forum.kirupa.com/u/thejoeknows_com)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 5:57am UTC](https://forum.kirupa.com/t/help-finishing-car-movement-in-as3/264553 "2008-06-28T05:57:02Z")

</div>

im trying to make simple car movement in as3 i think i hav almost got it i cant seam to get the rotation to work right and the car is "slippery" can anyone help? .fla is attached. code is here: //import some i…

---

## [Document Class Problems](https://forum.kirupa.com/t/document-class-problems/264527)

<div class="topic-metadata">

**Author:** [@skylerbrungardt](https://forum.kirupa.com/u/skylerbrungardt)\
**Replies:** 9\
**Last updated:** [June 28, 2008, 4:11am UTC](https://forum.kirupa.com/t/document-class-problems/264527 "2008-06-28T04:11:35Z")

</div>

Hiya folks and actionscript gurus. I'm running into a problem trying to convert my code to a document class. I've read a bunch of tutorials online, and followed their instructions on it, though I keep running into "Err…

---

## [File listing showing nerdy folders](https://forum.kirupa.com/t/file-listing-showing-nerdy-folders/264605)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 1:08am UTC](https://forum.kirupa.com/t/file-listing-showing-nerdy-folders/264605 "2008-06-28T01:08:57Z")

</div>

$path = '/'; $handle = @opendir($path) or die("Unable to open $path"); echo '\<ol\>'; while ($file = readdir($handle)) { printf('\<li\>\<a href="?file=%s"\>%s\</a\>\</li\>', $file, $file); } echo '\</ol\>'; closedir($handle)…

---

## [getURL(); Links](https://forum.kirupa.com/t/geturl-links/264638)

<div class="topic-metadata">

**Author:** [@cryo\_burned](https://forum.kirupa.com/u/cryo_burned)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 1:00am UTC](https://forum.kirupa.com/t/geturl-links/264638 "2008-06-28T01:00:22Z")

</div>

I'm having trouble. I have a square mc that needs a a getURL on it. the problem is i need to load the address dynamically, and I'm not sure how to do this. I was going to use xml. anyone help me load and xml node for a …

---

## [Slider Menu?](https://forum.kirupa.com/t/slider-menu/264601)

<div class="topic-metadata">

**Author:** [@silvekrown](https://forum.kirupa.com/u/silvekrown)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 12:00am UTC](https://forum.kirupa.com/t/slider-menu/264601 "2008-06-28T00:00:57Z")

</div>

I'm working on a project that involves a dragable slider image. I have the slider working but I want to play a movie clip when it is dragged to a specific location. I have 4 mc that I want to pop up and play when the sli…

---

## [Remove Movie Clips](https://forum.kirupa.com/t/remove-movie-clips/264520)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 5\
**Last updated:** [June 27, 2008, 11:45pm UTC](https://forum.kirupa.com/t/remove-movie-clips/264520 "2008-06-27T23:45:11Z")

</div>

Hi How do I remove ALL movieclips on the stage? the´ve been created thru DuplicateMovieClip action. thanks

---

## [Move to X and Y?](https://forum.kirupa.com/t/move-to-x-and-y/264309)

<div class="topic-metadata">

**Author:** [@mrmariner7484](https://forum.kirupa.com/u/mrmariner7484)\
**Replies:** 6\
**Last updated:** [June 27, 2008, 11:44pm UTC](https://forum.kirupa.com/t/move-to-x-and-y/264309 "2008-06-27T23:44:08Z")

</div>

Hi all, I am wondering if there is a way to make the stage move to specific coordinates on the release of a button. Here is an example: The stage is 400 x 400 with a graphic that overlays by 200 on each side (meaning…

---

## [PHP - Login won't redirect](https://forum.kirupa.com/t/php-login-wont-redirect/264510)

<div class="topic-metadata">

**Author:** [@Rollna01](https://forum.kirupa.com/u/Rollna01)\
**Replies:** 11\
**Last updated:** [June 27, 2008, 10:23pm UTC](https://forum.kirupa.com/t/php-login-wont-redirect/264510 "2008-06-27T22:23:18Z")

</div>

I am having issues getting my code to function properly. I go to my index page and it redirects me to the login page. After I enter in the Login information correctly it goes to a blank white screen. However, if I go bac…

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

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