# programming

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

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

**Page:** 450

---

## [Flash CS4 keeps crashing only on this one FLA file! Need help please!](https://forum.kirupa.com/t/flash-cs4-keeps-crashing-only-on-this-one-fla-file-need-help-please/311946)

<div class="topic-metadata">

**Author:** [@soarer40gt](https://forum.kirupa.com/u/soarer40gt)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 1:28am UTC](https://forum.kirupa.com/t/flash-cs4-keeps-crashing-only-on-this-one-fla-file-need-help-please/311946 "2010-07-21T01:28:52Z")

</div>

Hello everybody. My name is Sebastian and I am new to this forum. I have read many articles regarding AS3 and Flash in general. I have been coding in AS3 for a little whilte now and have gotten quiet comfortable with it. …

---

## [Your tutorial "Loading an External Image"](https://forum.kirupa.com/t/your-tutorial-loading-an-external-image/311945)

<div class="topic-metadata">

**Author:** [@epal\_85](https://forum.kirupa.com/u/epal_85)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 1:11am UTC](https://forum.kirupa.com/t/your-tutorial-loading-an-external-image/311945 "2010-07-21T01:11:07Z")

</div>

Hi kirupa, refer to the title above, your tutorial name as "Loading an External Image" , the actionscript code ( I copy and paste to the Actions panel) was wrong. Why it is occurred? I'm using Flash CS4 to learn thes…

---

## [Point to a movieclip's x/y from a different movieclip](https://forum.kirupa.com/t/point-to-a-movieclips-x-y-from-a-different-movieclip/311944)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 11:52pm UTC](https://forum.kirupa.com/t/point-to-a-movieclips-x-y-from-a-different-movieclip/311944 "2010-07-20T23:52:33Z")

</div>

Hello, I am trying to get the x & y values of a movieclip(contentMc) from inside a different movieclip. Is this the correct way? Here's my code: myMc.x = MovieClip(root).contentMc.x; myMc.y = MovieClip(root).content…

---

## [Looking for an assistant programmer](https://forum.kirupa.com/t/looking-for-an-assistant-programmer/311943)

<div class="topic-metadata">

**Author:** [@fettucini](https://forum.kirupa.com/u/fettucini)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 11:39pm UTC](https://forum.kirupa.com/t/looking-for-an-assistant-programmer/311943 "2010-07-20T23:39:09Z")

</div>

Hi I am Fett. This is my first post. And I am making a platform engine as the first thing I have ever done in flash. literally. Its better this way to me. My engine is missing a key ingredient. The damage, all that stuff…

---

## [Scale MC and center over child](https://forum.kirupa.com/t/scale-mc-and-center-over-child/311940)

<div class="topic-metadata">

**Author:** [@joshgage](https://forum.kirupa.com/u/joshgage)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 9:41pm UTC](https://forum.kirupa.com/t/scale-mc-and-center-over-child/311940 "2010-07-20T21:41:59Z")

</div>

I have a movie clip of all counties in the state of Montana (allcnt\_mc). Within \*\*\*allcnt\_mc \*\*\*there are individual movie clips specific to each county with name equal to the county's name. When clicking on a coun…

---

## [Puzzling problem with linking my pages](https://forum.kirupa.com/t/puzzling-problem-with-linking-my-pages/311937)

<div class="topic-metadata">

**Author:** [@taylan](https://forum.kirupa.com/u/taylan)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 8:47pm UTC](https://forum.kirupa.com/t/puzzling-problem-with-linking-my-pages/311937 "2010-07-20T20:47:20Z")

</div>

Hi can somebody please tell me why my 3 pages are not being brought up when i 'ctrl enter'. I am making an online game with 3 pages - an instructions page, game screen and end game screen and do not know why my initia…

---

## [AS 2.0 Display Item in Datagrid in the order it was chosen and Remove Selected Item](https://forum.kirupa.com/t/as-2-0-display-item-in-datagrid-in-the-order-it-was-chosen-and-remove-selected-item/311935)

<div class="topic-metadata">

**Author:** [@puthem1st](https://forum.kirupa.com/u/puthem1st)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 7:49pm UTC](https://forum.kirupa.com/t/as-2-0-display-item-in-datagrid-in-the-order-it-was-chosen-and-remove-selected-item/311935 "2010-07-20T19:49:18Z")

</div>

Hello Community, I am in search of finding a way to display shopping cart items in a flash 8 datagrid in the order it was chosen by the user & also to ability to delete an item if the user choses. Currently I have the…

---

## [IF/ELSE Statement w/ Operators Problem](https://forum.kirupa.com/t/if-else-statement-w-operators-problem/311934)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 7:16pm UTC](https://forum.kirupa.com/t/if-else-statement-w-operators-problem/311934 "2010-07-20T19:16:21Z")

</div>

Hey guys, I have an if/else statement that isn't working. The statement is this: if ($score1 == 0) { $wins = $old\_Score1; } else if ($score1 \> $rows\['score1'\] && $rows\['score1'\] \> 0) { $wins = $old\_Score1; } el…

---

## [Organising/Sorting ActionScript files into Folders?](https://forum.kirupa.com/t/organising-sorting-actionscript-files-into-folders/311929)

<div class="topic-metadata">

**Author:** [@ilikedragon](https://forum.kirupa.com/u/ilikedragon)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 4:10pm UTC](https://forum.kirupa.com/t/organising-sorting-actionscript-files-into-folders/311929 "2010-07-20T16:10:54Z")

</div>

Hi, I was wondering if there is a way to store actionscript files which are the codes for classes into folders? Having 20+ AS files in one folder just seems to make things messy Thanks!

---

## [Return XML from Function](https://forum.kirupa.com/t/return-xml-from-function/311928)

<div class="topic-metadata">

**Author:** [@KiKaL](https://forum.kirupa.com/u/KiKaL)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 4:09pm UTC](https://forum.kirupa.com/t/return-xml-from-function/311928 "2010-07-20T16:09:02Z")

</div>

I feel like this should be correct but the trace always returns 'undefined' function loadXML(xmlFile:String):XML{ var xmlLoader:URLLoader = new URLLoader(); var xmlData = new XML(xmlLoader.load(new URLRequest…

---

## [Animated Roll-on object](https://forum.kirupa.com/t/animated-roll-on-object/311927)

<div class="topic-metadata">

**Author:** [@eurogibbon](https://forum.kirupa.com/u/eurogibbon)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 4:00pm UTC](https://forum.kirupa.com/t/animated-roll-on-object/311927 "2010-07-20T16:00:07Z")

</div>

Hi dudes I'm trying to create an animation whereby an object slides on to the stage when the mouse enters the stage, and slides out when the mouse exits. Everything is working quite nicely, but the problem is when th…

---

## [Turning form data into a printable certificate](https://forum.kirupa.com/t/turning-form-data-into-a-printable-certificate/311926)

<div class="topic-metadata">

**Author:** [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 3:44pm UTC](https://forum.kirupa.com/t/turning-form-data-into-a-printable-certificate/311926 "2010-07-20T15:44:15Z")

</div>

Hello, As the title states. I'm working on a project that needs to have a user enter information on a form(1. person's name, 2. place of employment, and 3. date.) and then be able to print that on a certificate. I've t…

---

## [How do I remove eventListeners](https://forum.kirupa.com/t/how-do-i-remove-eventlisteners/311925)

<div class="topic-metadata">

**Author:** [@blackout188](https://forum.kirupa.com/u/blackout188)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 3:28pm UTC](https://forum.kirupa.com/t/how-do-i-remove-eventlisteners/311925 "2010-07-20T15:28:41Z")

</div>

for (i=2; i\<9; i++) { ClassReference2=getDefinitionByName('b'+character2) as Class; tempchar2 = new ClassReference2(); tempchar2.x=(i-1)\*95; tempchar2.y=280; tempchar2.name=characterarr2\[character\]+i; …

---

## [Play again button after video is done playing](https://forum.kirupa.com/t/play-again-button-after-video-is-done-playing/311924)

<div class="topic-metadata">

**Author:** [@lanawylma](https://forum.kirupa.com/u/lanawylma)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 2:47pm UTC](https://forum.kirupa.com/t/play-again-button-after-video-is-done-playing/311924 "2010-07-20T14:47:47Z")

</div>

Hi, I would like help with some flash video stuff please... I am importing video into flash via FLVPlayback Component.. What I would like to do is have a button after the video is done playing that offers to re-play…

---

## [HELP ! XML Gallery / Slideshow multi gallery](https://forum.kirupa.com/t/help-xml-gallery-slideshow-multi-gallery/311921)

<div class="topic-metadata">

**Author:** [@mark2009](https://forum.kirupa.com/u/mark2009)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 1:38pm UTC](https://forum.kirupa.com/t/help-xml-gallery-slideshow-multi-gallery/311921 "2010-07-20T13:38:35Z")

</div>

hi to all i need some help!!! for this multi gallery. the multi gallery load fine. but i need it auto start sideshow, when change to others album, the sildeshow will be stop. i need the slideshow can be auto …

---

## [Button timing](https://forum.kirupa.com/t/button-timing/311919)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 1:19pm UTC](https://forum.kirupa.com/t/button-timing/311919 "2010-07-20T13:19:03Z")

</div>

1)I need a button to have timing effect, that is when a button is click, if it is not click again within 5 seconds, the button will lose its clicking function. 2)I need a button which After clicking 5 times, if it is n…

---

## [Why images are not shown?](https://forum.kirupa.com/t/why-images-are-not-shown/311918)

<div class="topic-metadata">

**Author:** [@creear](https://forum.kirupa.com/u/creear)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 1:01pm UTC](https://forum.kirupa.com/t/why-images-are-not-shown/311918 "2010-07-20T13:01:55Z")

</div>

Hi, I got this file but the images and the scroll in the .swf are not displayed, but in the .fla yes. Here is the link for the demo: http://bit.ly/b0P4cY Here can download the .fla from my server: http://bit.ly/alC9N…

---

## [Help with error 1021: duplicate function definition](https://forum.kirupa.com/t/help-with-error-1021-duplicate-function-definition/311915)

<div class="topic-metadata">

**Author:** [@Olivia\_Chapman](https://forum.kirupa.com/u/Olivia_Chapman)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 11:41am UTC](https://forum.kirupa.com/t/help-with-error-1021-duplicate-function-definition/311915 "2010-07-20T11:41:44Z")

</div>

hey I'm creating a colouring in game for my HSC major project and was following a tutoral that gave me this code: import flash.events.MouseEvent; back2colour.addEventListener(MouseEvent.CLICK, buttndow); function buttn…

---

## [Filter strength differences](https://forum.kirupa.com/t/filter-strength-differences/311914)

<div class="topic-metadata">

**Author:** [@dst1](https://forum.kirupa.com/u/dst1)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 10:59am UTC](https://forum.kirupa.com/t/filter-strength-differences/311914 "2010-07-20T10:59:35Z")

</div>

In the Flash IDE the strength parameter on filters like Glow, DropShadow etc goes from 0% to 1000% but when you code a filter the values are 0 to 255. Just wondering how you work out how to translate a value from the …

---

## [Seek to CuePoint added with Actionscript](https://forum.kirupa.com/t/seek-to-cuepoint-added-with-actionscript/311913)

<div class="topic-metadata">

**Author:** [@e\_owen](https://forum.kirupa.com/u/e_owen)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 10:55am UTC](https://forum.kirupa.com/t/seek-to-cuepoint-added-with-actionscript/311913 "2010-07-20T10:55:51Z")

</div>

Hi, I do not seem to be able to seek to a CuePoint added to my FLVPlayback component using the addASCuePoint method... It is frustrating because the CuePoints I add with AS are firing an event on the MetadataEvent.CUE\_…

---

## [Float elements to right in div tbl?](https://forum.kirupa.com/t/float-elements-to-right-in-div-tbl/311910)

<div class="topic-metadata">

**Author:** [@stephsh](https://forum.kirupa.com/u/stephsh)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 10:26am UTC](https://forum.kirupa.com/t/float-elements-to-right-in-div-tbl/311910 "2010-07-20T10:26:56Z")

</div>

I have created a placeholder with three elements in it. I want the elements to be positioned to the right hand side of the placeholder. A big margin however appears between the element positioned most to the right (logou…

---

## [AS2 :: Flash pop-up window](https://forum.kirupa.com/t/as2-flash-pop-up-window/311909)

<div class="topic-metadata">

**Author:** [@Kilerden](https://forum.kirupa.com/u/Kilerden)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 9:50am UTC](https://forum.kirupa.com/t/as2-flash-pop-up-window/311909 "2010-07-20T09:50:36Z")

</div>

\[FONT=Arial\] \[COLOR=Black\]Hello everybody, I have followed the \[/COLOR\] \[/FONT\]\[COLOR=Blue\]\[\[FONT=Arial\] Launching a centered pop-up window \[/FONT\]\](http://www.kirupa.com/developer/mx/centered\_popup.htm)\[/COLO…

---

## [Skill sets needed for a more complex games?](https://forum.kirupa.com/t/skill-sets-needed-for-a-more-complex-games/311908)

<div class="topic-metadata">

**Author:** [@zoink](https://forum.kirupa.com/u/zoink)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 9:03am UTC](https://forum.kirupa.com/t/skill-sets-needed-for-a-more-complex-games/311908 "2010-07-20T09:03:21Z")

</div>

Hi! I am a self trained web developer. My current programming skillsets are AS3, PHP, and mySQL. I recently ran across a problem developing a browser based mmo-game (similar to ikariam etc but with flash as user interf…

---

## [kirupa.com - Loading a Random Background](https://forum.kirupa.com/t/kirupa-com-loading-a-random-background/643610)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-loading-a-random-background/643610 "2010-07-20T07:00:00Z")

</div>

Loading a Random Background - Page 2 written by kirupa chinnathambi Now that we finished adding the movie clip, your movie clip should look like a hollow circle: \[ the empty movie clip should look like a …

---

## [\[Flash website template\] Text shows correctly locally, but not on the web](https://forum.kirupa.com/t/flash-website-template-text-shows-correctly-locally-but-not-on-the-web/311900)

<div class="topic-metadata">

**Author:** [@NoobKillerSM](https://forum.kirupa.com/u/NoobKillerSM)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 2:00am UTC](https://forum.kirupa.com/t/flash-website-template-text-shows-correctly-locally-but-not-on-the-web/311900 "2010-07-20T02:00:05Z")

</div>

Hi, I downloaded a XML based website flash template and made some modifications to it. With this template there was few fonts included in separate folder (I had to install them to view swf and edit fla correctly) a…

---

## [(Error #1009)I can fix, but I don't understand the logic](https://forum.kirupa.com/t/error-1009-i-can-fix-but-i-dont-understand-the-logic/311899)

<div class="topic-metadata">

**Author:** [@timmy666](https://forum.kirupa.com/u/timmy666)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 1:59am UTC](https://forum.kirupa.com/t/error-1009-i-can-fix-but-i-dont-understand-the-logic/311899 "2010-07-20T01:59:27Z")

</div>

OK so all my code works fine on frame 1, but when I move it to frame 2, (keeping frame one blank with no MC's or AS), i get the error "TypeError: Error #1009: Cannot access a property or method of a null object reference…

---

## [Don't Display after date has passed](https://forum.kirupa.com/t/dont-display-after-date-has-passed/311896)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 10:11pm UTC](https://forum.kirupa.com/t/dont-display-after-date-has-passed/311896 "2010-07-19T22:11:18Z")

</div>

Hey guys, I am wondering how I can query the database to display only rows that have future dates and hide the ones that are already passed. The format I have it in is m/d. For ex. 07/19. Thanks for your help. Bran…

---

## [Newbie seeks help with errors 1120 and 1180](https://forum.kirupa.com/t/newbie-seeks-help-with-errors-1120-and-1180/311891)

<div class="topic-metadata">

**Author:** [@Freelancer412](https://forum.kirupa.com/u/Freelancer412)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 5:49pm UTC](https://forum.kirupa.com/t/newbie-seeks-help-with-errors-1120-and-1180/311891 "2010-07-19T17:49:19Z")

</div>

I'm a newbie to flash and I can't overwhelm a problem at all. I have a website and I'm intending to extend it, but whenever I'm trying to add a button or more with hyperlink, it's dropping back the following errors: 11…

---

## [Stop zoom at point](https://forum.kirupa.com/t/stop-zoom-at-point/311887)

<div class="topic-metadata">

**Author:** [@imcabee](https://forum.kirupa.com/u/imcabee)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 4:55pm UTC](https://forum.kirupa.com/t/stop-zoom-at-point/311887 "2010-07-19T16:55:28Z")

</div>

I have a zoom function where I want it to stop zooming after the image gets to a certain size. I can figure it out in AS3. Here is my script: zoomIn.addEventListener(MouseEvent.CLICK, zoomInClick); zoomOut.addEventLis…

---

## [All children in display object firing mouse over?](https://forum.kirupa.com/t/all-children-in-display-object-firing-mouse-over/311886)

<div class="topic-metadata">

**Author:** [@slopps](https://forum.kirupa.com/u/slopps)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 4:26pm UTC](https://forum.kirupa.com/t/all-children-in-display-object-firing-mouse-over/311886 "2010-07-19T16:26:45Z")

</div>

I have a custom class extending MovieClip, and in my code I add a few children to this custom class. When I add my mouse over event listener, it works, but it fires every time the mouse rolls over any of the children too…

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

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