# programming

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

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

**Page:** 327

---

## [Typeerror: error #1010](https://forum.kirupa.com/t/typeerror-error-1010/319387)

<div class="topic-metadata">

**Author:** [@phoenixalia](https://forum.kirupa.com/u/phoenixalia)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 3:46pm UTC](https://forum.kirupa.com/t/typeerror-error-1010/319387 "2011-02-18T15:46:05Z")

</div>

Yes, I know there are many threads regarding this but I don't know anything about actionscript but I need this script urgently for a project I just started flash. I'm new here. \[smile\] What the title says. I get this …

---

## [It keeps rescaling! Please help](https://forum.kirupa.com/t/it-keeps-rescaling-please-help/319386)

<div class="topic-metadata">

**Author:** [@sobe19](https://forum.kirupa.com/u/sobe19)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 3:22pm UTC](https://forum.kirupa.com/t/it-keeps-rescaling-please-help/319386 "2011-02-18T15:22:47Z")

</div>

Hi, If anyone could help me it would be greatly appreciated. I am working on a site and I'm using template for the gallery. It's being loaded with a loader component and an external swf file... Everything is fine on …

---

## [Senocular's email.php for Flash contact form](https://forum.kirupa.com/t/senoculars-email-php-for-flash-contact-form/319385)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 2:40pm UTC](https://forum.kirupa.com/t/senoculars-email-php-for-flash-contact-form/319385 "2011-02-18T14:40:41Z")

</div>

I know I implemented Senocular's Flash form php script straight out of the box correctly, as I received a test email. However when I added 2 more fields, I stopped receiving form emails I thought I modified the scrip…

---

## [Question about the "On Load" attribute](https://forum.kirupa.com/t/question-about-the-on-load-attribute/319383)

<div class="topic-metadata">

**Author:** [@complete](https://forum.kirupa.com/u/complete)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 1:34pm UTC](https://forum.kirupa.com/t/question-about-the-on-load-attribute/319383 "2011-02-18T13:34:37Z")

</div>

Is "On Load" or "OnLoad" an attrubute of the \<html\> tag or the \<body\> tag? I want to run a javascript function when my web page loads.

---

## [I want to stay in the current page in .swf file after pressing F5](https://forum.kirupa.com/t/i-want-to-stay-in-the-current-page-in-swf-file-after-pressing-f5/319381)

<div class="topic-metadata">

**Author:** [@RBandarupalli](https://forum.kirupa.com/u/RBandarupalli)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 10:55am UTC](https://forum.kirupa.com/t/i-want-to-stay-in-the-current-page-in-swf-file-after-pressing-f5/319381 "2011-02-18T10:55:32Z")

</div>

Hi i've embeded my swf file in .net application and after navigating to some pages in swf file and pressing f5 or refresh, its navigating to starting page of swf file and browsers path always shows the same path (ma…

---

## [Problems with lightbox and jquery](https://forum.kirupa.com/t/problems-with-lightbox-and-jquery/319380)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 10:50am UTC](https://forum.kirupa.com/t/problems-with-lightbox-and-jquery/319380 "2011-02-18T10:50:06Z")

</div>

Hi guys, Thanks for checking out my post... I am using lightboxes for a gallery which work fine. However I'm also using a jQuery to drag in Tweets from Twitter. I thought it was all working fine but the Twitter box…

---

## [Play moviclip on click](https://forum.kirupa.com/t/play-moviclip-on-click/319376)

<div class="topic-metadata">

**Author:** [@pravingate07](https://forum.kirupa.com/u/pravingate07)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 5:47am UTC](https://forum.kirupa.com/t/play-moviclip-on-click/319376 "2011-02-18T05:47:48Z")

</div>

hii, i am trying to develop a small interactive game using as3. i need to play a movieclip when i 'll click on button. Anybody knows simple way for that. I'm trying this way: i have created a class for that movieclip,…

---

## [DisplayObject blender](https://forum.kirupa.com/t/displayobject-blender/319375)

<div class="topic-metadata">

**Author:** [@LeonardLew](https://forum.kirupa.com/u/LeonardLew)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 5:19am UTC](https://forum.kirupa.com/t/displayobject-blender/319375 "2011-02-18T05:19:44Z")

</div>

A simple class to fade DisplayObjects and their children in and out. Download is available here: http://code.google.com/p/display-object-blender/downloads/list Enjoy

---

## [AS3: Using an array with MovieClips](https://forum.kirupa.com/t/as3-using-an-array-with-movieclips/319372)

<div class="topic-metadata">

**Author:** [@SammyTheBear](https://forum.kirupa.com/u/SammyTheBear)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 4:52am UTC](https://forum.kirupa.com/t/as3-using-an-array-with-movieclips/319372 "2011-02-18T04:52:24Z")

</div>

I am trying to create an image gallery using an Array with MovieClips inside it but I keep getting this error: TypeError: Error #1034: Type Coercion failed: cannot convert Fullsize\_01$ to flash.display.DisplayObject. …

---

## [Finding the Least Common Denominator](https://forum.kirupa.com/t/finding-the-least-common-denominator/319371)

<div class="topic-metadata">

**Author:** [@santanoa](https://forum.kirupa.com/u/santanoa)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 4:48am UTC](https://forum.kirupa.com/t/finding-the-least-common-denominator/319371 "2011-02-18T04:48:31Z")

</div>

While not specifically an AS3 question, I want to know how to find the Least Common Denominator between two fractions so I can make them into integers. I understand to do this you probably need to get the denominator its…

---

## [Flash quiz: validate combo box selections](https://forum.kirupa.com/t/flash-quiz-validate-combo-box-selections/319368)

<div class="topic-metadata">

**Author:** [@ahoop](https://forum.kirupa.com/u/ahoop)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 1:18am UTC](https://forum.kirupa.com/t/flash-quiz-validate-combo-box-selections/319368 "2011-02-18T01:18:23Z")

</div>

I need to create a Flash quiz which validates combo box selections using a 'check answer' button and 'reset' button.On selecting the 'check answer' button an image of a 'tick' or 'cross' needs to be shown at the end of t…

---

## [Scrolling Panoramic Thingy](https://forum.kirupa.com/t/scrolling-panoramic-thingy/319367)

<div class="topic-metadata">

**Author:** [@eddieangel](https://forum.kirupa.com/u/eddieangel)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 12:56am UTC](https://forum.kirupa.com/t/scrolling-panoramic-thingy/319367 "2011-02-18T00:56:17Z")

</div>

Sorry for the lack of technical reference, but I am trying to figure out exactly what the flash banner is in this page: http://osc4.template-help.com/wt\_32205/index.html Obviously, I need to duplicate something of th…

---

## [LoadVars.sendAndLoad](https://forum.kirupa.com/t/loadvars-sendandload/319366)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 11:11pm UTC](https://forum.kirupa.com/t/loadvars-sendandload/319366 "2011-02-17T23:11:30Z")

</div>

Hello! i have mySQL database with data: username and password, i need output data with mySQL in DataGrid when i press button Please help me solve problem, thanks

---

## [Showing Objects Beyond Stage](https://forum.kirupa.com/t/showing-objects-beyond-stage/319365)

<div class="topic-metadata">

**Author:** [@JewelPengin](https://forum.kirupa.com/u/JewelPengin)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 9:13pm UTC](https://forum.kirupa.com/t/showing-objects-beyond-stage/319365 "2011-02-17T21:13:00Z")

</div>

Greetings everyone, I have to first say that this site is my main source of Flash programming knowledge. It's great that the community has become such a thinktank! Props kirupa! My question is how would I go about c…

---

## [AS3 Loadvars not working after publish](https://forum.kirupa.com/t/as3-loadvars-not-working-after-publish/319364)

<div class="topic-metadata">

**Author:** [@anqe\_tb](https://forum.kirupa.com/u/anqe_tb)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 8:49pm UTC](https://forum.kirupa.com/t/as3-loadvars-not-working-after-publish/319364 "2011-02-17T20:49:23Z")

</div>

Hi All, I'm having an issue with some AS3 Loadvars. This works fine when running as preview (^+Ent), however after publishing this doesn't work. I'm very new (this is my first 'dip' into the flash world!). Could someon…

---

## [How to Fade Text in Movie Clip](https://forum.kirupa.com/t/how-to-fade-text-in-movie-clip/319363)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 7:28pm UTC](https://forum.kirupa.com/t/how-to-fade-text-in-movie-clip/319363 "2011-02-17T19:28:45Z")

</div>

I have a movie clip that houses 5 text boxes. I need to fade up/down alpha of everything in it. As a test, using the movie clip that holds the text boxes seg\_mc.alpha = 10 doesn't work. Zero is completely transparent …

---

## [Strange resizing problem](https://forum.kirupa.com/t/strange-resizing-problem/319362)

<div class="topic-metadata">

**Author:** [@nhilez](https://forum.kirupa.com/u/nhilez)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 4:39pm UTC](https://forum.kirupa.com/t/strange-resizing-problem/319362 "2011-02-17T16:39:01Z")

</div>

I have a Flash file that loads the content it displays from an XML file. This XML file specifies (among other things) the fonts needed to load (if any) and CSS file to load (if needed). The content consists of up to 5 …

---

## [Directory/Package Structure](https://forum.kirupa.com/t/directory-package-structure/319361)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 3:51pm UTC](https://forum.kirupa.com/t/directory-package-structure/319361 "2011-02-17T15:51:05Z")

</div>

There are many articles available online regarding directory structure best practices, but none of them seem to fit exactly what I need/would like. That, and it seems regardless of what I try, I always get a "5001: The n…

---

## [Scaling of MC nested in another MC](https://forum.kirupa.com/t/scaling-of-mc-nested-in-another-mc/319360)

<div class="topic-metadata">

**Author:** [@mengaz](https://forum.kirupa.com/u/mengaz)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 3:05pm UTC](https://forum.kirupa.com/t/scaling-of-mc-nested-in-another-mc/319360 "2011-02-17T15:05:35Z")

</div>

Good Evening, Again I am having issues with my flash and would appreciate if I could get some advice on how to fix it. Currently I am reading in dynamic images from a xml file which loads the files names into a arra…

---

## [Scalled ? Movie Clip](https://forum.kirupa.com/t/scalled-movie-clip/319357)

<div class="topic-metadata">

**Author:** [@przemp](https://forum.kirupa.com/u/przemp)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 12:30pm UTC](https://forum.kirupa.com/t/scalled-movie-clip/319357 "2011-02-17T12:30:44Z")

</div>

Hi! I w got one .as file with main class that inherits from MovieClip when I add another MovieClip object into this main class (or even Bitmap, textfield) everything looks scaled (but when i take .width it seems ok ?) A…

---

## [Franzo - Hiring!](https://forum.kirupa.com/t/franzo-hiring/319354)

<div class="topic-metadata">

**Author:** [@Franzo](https://forum.kirupa.com/u/Franzo)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 9:34am UTC](https://forum.kirupa.com/t/franzo-hiring/319354 "2011-02-17T09:34:59Z")

</div>

Hello Visitor! Good news! Franzo Entertianment is looking for a handful of Volunteers. It may lead to a paid position in the future. We rarely ever hire, but we have began again. We are looking for; -7 Artist/Animato…

---

## [Flash not visible](https://forum.kirupa.com/t/flash-not-visible/319353)

<div class="topic-metadata">

**Author:** [@hildubz](https://forum.kirupa.com/u/hildubz)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 8:55am UTC](https://forum.kirupa.com/t/flash-not-visible/319353 "2011-02-17T08:55:01Z")

</div>

I just finished making my first flash site, the problem I'm having is that the site loads but is not visible until I double click on the blank screen. www.hddesignz.com How do I correct this problem. Any help will be a…

---

## [Verify if back or forward pages exist](https://forum.kirupa.com/t/verify-if-back-or-forward-pages-exist/319351)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 7:04am UTC](https://forum.kirupa.com/t/verify-if-back-or-forward-pages-exist/319351 "2011-02-17T07:04:02Z")

</div>

Is it possible for JavaScript to verify if back or forward pages exist for the browser ?

---

## [HTML Form Validation](https://forum.kirupa.com/t/html-form-validation/319350)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 4:32am UTC](https://forum.kirupa.com/t/html-form-validation/319350 "2011-02-17T04:32:50Z")

</div>

Hello, I have an HTML form with some javascript error checking that looks something like this: \<script type='text/javascript'\> function formValidator(){ var firstname = document.getElementById('firstname'); va…

---

## [FileReference.upload is opening server login?](https://forum.kirupa.com/t/filereference-upload-is-opening-server-login/319348)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 4:02am UTC](https://forum.kirupa.com/t/filereference-upload-is-opening-server-login/319348 "2011-02-17T04:02:08Z")

</div>

Has anyone encountered this? I haven't used FileReference much in the past. This is only happening on one person's computer, but I want to find out what is going on. When the user is looking for a photo via fileReference…

---

## [Problem with removechild](https://forum.kirupa.com/t/problem-with-removechild/319345)

<div class="topic-metadata">

**Author:** [@lio89](https://forum.kirupa.com/u/lio89)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 2:14am UTC](https://forum.kirupa.com/t/problem-with-removechild/319345 "2011-02-17T02:14:57Z")

</div>

Saludos Hello I got an easy problem, when doing a car's game. I cannot remove a Child. The error says the property is undefined. This is the piece of code: function crearID():void { var rivaleses:rivales=new ri…

---

## [Question about external swfs and their removal](https://forum.kirupa.com/t/question-about-external-swfs-and-their-removal/319344)

<div class="topic-metadata">

**Author:** [@matrixm5](https://forum.kirupa.com/u/matrixm5)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 1:17am UTC](https://forum.kirupa.com/t/question-about-external-swfs-and-their-removal/319344 "2011-02-17T01:17:19Z")

</div>

Could someone plz clarify the following: The structure I have is one where I have a main.swf which loads an external swf named say external1.swf. Then external1.swf loads external2.swf. My question is when I remove …

---

## [AddChild, Sprite & Size](https://forum.kirupa.com/t/addchild-sprite-size/319343)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 1:14am UTC](https://forum.kirupa.com/t/addchild-sprite-size/319343 "2011-02-17T01:14:16Z")

</div>

I am working on an RPG game which follows the concept that originates from the Foundation Game Design With Flash. I have created the global game manager and am working on adding scrolling to the game. To accommodate my m…

---

## [AS3 in Flex](https://forum.kirupa.com/t/as3-in-flex/319341)

<div class="topic-metadata">

**Author:** [@slay01](https://forum.kirupa.com/u/slay01)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 12:57am UTC](https://forum.kirupa.com/t/as3-in-flex/319341 "2011-02-17T00:57:28Z")

</div>

Hi I would like to know if any awesome dude knows if there are any AS3 Flex tutorials on the net or in books that explains how to build apps and games from scratch – step by step via Flex ??????? Thanks in advanc…

---

## [Show hide Movie Clip help](https://forum.kirupa.com/t/show-hide-movie-clip-help/319340)

<div class="topic-metadata">

**Author:** [@Dragons\_Ire](https://forum.kirupa.com/u/Dragons_Ire)\
**Replies:** 0\
**Last updated:** [February 17, 2011, 12:34am UTC](https://forum.kirupa.com/t/show-hide-movie-clip-help/319340 "2011-02-17T00:34:27Z")

</div>

Hi, I could someone please help me with a simple flash game I am trying to make, it involves someone pressing a button which generates a random number between 1 and 2, and depending on which number two images are display…

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

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