# programming

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

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

**Page:** 326

---

## [Getting error when click](https://forum.kirupa.com/t/getting-error-when-click/319451)

<div class="topic-metadata">

**Author:** [@pravingate07](https://forum.kirupa.com/u/pravingate07)\
**Replies:** 0\
**Last updated:** [February 21, 2011, 11:42am UTC](https://forum.kirupa.com/t/getting-error-when-click/319451 "2011-02-21T11:42:46Z")

</div>

hii, i'm developing one small interactive game and i'm getting this error, when i'm trying to click on button. error #1009: Cannot access a property or method of a null object reference. at Geese\_And\_Tortoise\_PG01\_Anima…

---

## [Loading multiple External SWFs - Problem](https://forum.kirupa.com/t/loading-multiple-external-swfs-problem/319450)

<div class="topic-metadata">

**Author:** [@seewhatsnew](https://forum.kirupa.com/u/seewhatsnew)\
**Replies:** 0\
**Last updated:** [February 21, 2011, 11:37am UTC](https://forum.kirupa.com/t/loading-multiple-external-swfs-problem/319450 "2011-02-21T11:37:14Z")

</div>

Hi all, we are running into a weird problem (development in Flash CS4): We have a main.swf that provides a MovieClipLoader. The Loader is used to unload the former swf and load the next one into a container-mc. U…

---

## [Keyboard event is not activated](https://forum.kirupa.com/t/keyboard-event-is-not-activated/319447)

<div class="topic-metadata">

**Author:** [@soha\_20088](https://forum.kirupa.com/u/soha_20088)\
**Replies:** 0\
**Last updated:** [February 21, 2011, 11:05am UTC](https://forum.kirupa.com/t/keyboard-event-is-not-activated/319447 "2011-02-21T11:05:06Z")

</div>

hi All, I m creating a project of maze game in which have to use keyboard event. All the coding is done in as3 and i m using swc files in my project. When i published the swf, it shows me intro screen then it goes to g…

---

## [RPG Hud](https://forum.kirupa.com/t/rpg-hud/319446)

<div class="topic-metadata">

**Author:** [@Headlessone](https://forum.kirupa.com/u/Headlessone)\
**Replies:** 0\
**Last updated:** [February 21, 2011, 9:39am UTC](https://forum.kirupa.com/t/rpg-hud/319446 "2011-02-21T09:39:34Z")

</div>

HI all, //intro I'm new too actionscript... I've tried learning a few times but something always seems too get in the way :upset:... i think the main reason was that i was just blindly following tutorial after tutorial…

---

## [Tutorial: Loading a Random HTML Page Inline](https://forum.kirupa.com/t/tutorial-loading-a-random-html-page-inline/319439)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 11:50pm UTC](https://forum.kirupa.com/t/tutorial-loading-a-random-html-page-inline/319439 "2011-02-20T23:50:49Z")

</div>

Hi everyone, This is the place to discuss any questions relating to the Loading a Random HTML Page Inline tutorial. Cheers, Kirupa =)

---

## [Replicating a dragon flame - remember good old 8bit days](https://forum.kirupa.com/t/replicating-a-dragon-flame-remember-good-old-8bit-days/319438)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 11:45pm UTC](https://forum.kirupa.com/t/replicating-a-dragon-flame-remember-good-old-8bit-days/319438 "2011-02-20T23:45:06Z")

</div>

Hi, I'm trying to replicate a old flame effect that was used by lots of old games. It's the effect where ( in the case of a dragon blowing flames ) there would be a static dragon head with it's mouth open at one end of…

---

## [Dynamic Text Breaks in cs5?](https://forum.kirupa.com/t/dynamic-text-breaks-in-cs5/319433)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 5:56pm UTC](https://forum.kirupa.com/t/dynamic-text-breaks-in-cs5/319433 "2011-02-20T17:56:21Z")

</div>

I'm not sure if its a specific cs5 problem, but my dynamic text boxes started breaking for seemingly no reason. I will tell it to display the contents of a variable, something like: var myString:String = "15234m"; Text…

---

## [Can This Work? (Image Loader Loop)](https://forum.kirupa.com/t/can-this-work-image-loader-loop/319430)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 2:50pm UTC](https://forum.kirupa.com/t/can-this-work-image-loader-loop/319430 "2011-02-20T14:50:52Z")

</div>

I'm a more desperate search for answers and need to load multiple images at the same time. I'm trying to use the same loader but don't know if this is best practice (and it isn't working). Ami I close? Any help our gui…

---

## [TypeError: Error #1009 Help please](https://forum.kirupa.com/t/typeerror-error-1009-help-please/319429)

<div class="topic-metadata">

**Author:** [@zinc9](https://forum.kirupa.com/u/zinc9)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 1:31pm UTC](https://forum.kirupa.com/t/typeerror-error-1009-help-please/319429 "2011-02-20T13:31:34Z")

</div>

Hi I'll start with the basics. I have a 5 page site made so far. On one of the pages I have a subpage and on this subpage is a video. The code I am trying to write is to stop this video playing whenever any of the othe…

---

## [Jigsaw Puzzle](https://forum.kirupa.com/t/jigsaw-puzzle/319425)

<div class="topic-metadata">

**Author:** [@tarry](https://forum.kirupa.com/u/tarry)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 9:31am UTC](https://forum.kirupa.com/t/jigsaw-puzzle/319425 "2011-02-20T09:31:17Z")

</div>

Hello Viewers I want to make a jigsaw puzzle in flash. I know how to create square kind of shapes. But I want to create this kind of irregular shapes. see the live demo of puzzle below link http://www.flashcomponents…

---

## [as2 According buttons for my animation](https://forum.kirupa.com/t/as2-according-buttons-for-my-animation/319423)

<div class="topic-metadata">

**Author:** [@kawdo](https://forum.kirupa.com/u/kawdo)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 8:15am UTC](https://forum.kirupa.com/t/as2-according-buttons-for-my-animation/319423 "2011-02-20T08:15:16Z")

</div>

dear all , i am using as2 video gallery, my question is i need to move 3 menus buttons on left hand side when click the "coming soon" button , it will go top and "featured " button go bottom , like this vis vesa …

---

## [Senocular Path class circleTo](https://forum.kirupa.com/t/senocular-path-class-circleto/319422)

<div class="topic-metadata">

**Author:** [@flashsucker1](https://forum.kirupa.com/u/flashsucker1)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 6:35am UTC](https://forum.kirupa.com/t/senocular-path-class-circleto/319422 "2011-02-20T06:35:36Z")

</div>

Does anyone have any idea on how to make a counter clockwise circle using Senocular's Path class? Works great clockwise... but I can't get it to draw in the other direction. I tried messing with the math inside the cl…

---

## [Loading Multiple Images, Same Time, w/ 1 Loader?](https://forum.kirupa.com/t/loading-multiple-images-same-time-w-1-loader/319420)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 6:03am UTC](https://forum.kirupa.com/t/loading-multiple-images-same-time-w-1-loader/319420 "2011-02-20T06:03:16Z")

</div>

My need is to load 4 images at one time, and I'd like to have the code in a function that could load them one after another. But all I am getting is the last one of the loop iteration - I know it due to needing an onComp…

---

## [How to add drop down menus in Flash](https://forum.kirupa.com/t/how-to-add-drop-down-menus-in-flash/319418)

<div class="topic-metadata">

**Author:** [@jaedenky](https://forum.kirupa.com/u/jaedenky)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 12:54am UTC](https://forum.kirupa.com/t/how-to-add-drop-down-menus-in-flash/319418 "2011-02-20T00:54:13Z")

</div>

Hi all, I'm kinda new to Flash, I'm more of a photoshop guy. Anyways a friend of mine wants me to change up his flash website template a bit. He has a horizontal navigation bar at the top with links but he wants me to …

---

## [Does this look right to you?](https://forum.kirupa.com/t/does-this-look-right-to-you/319417)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 12:34am UTC](https://forum.kirupa.com/t/does-this-look-right-to-you/319417 "2011-02-20T00:34:54Z")

</div>

I know the movie clip names are correct and var names defined right. But it wont work. I'm trying to get: tmbBox1\_mc.thumb1\_mc.addChild(imgLoader), using: Object(this)\["tmbBox"\] + imgPos + \["\_mc"\].\["thumb"\] + imgPos +…

---

## [Read \_x location from a string](https://forum.kirupa.com/t/read--x-location-from-a-string/319416)

<div class="topic-metadata">

**Author:** [@davetifftaylor](https://forum.kirupa.com/u/davetifftaylor)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 12:28am UTC](https://forum.kirupa.com/t/read--x-location-from-a-string/319416 "2011-02-20T00:28:55Z")

</div>

Hi, newbie here (be kind) I am playing with the Photo Gallery and trying to find the \_x location of the tmumbnails I could run a for loop i.e. X = 1 to 10 xlocation = "\_level0.thumbnail\_mc.t"+X+".\_x"; trace (xlocati…

---

## [Problem with resizing movies dynamically](https://forum.kirupa.com/t/problem-with-resizing-movies-dynamically/319415)

<div class="topic-metadata">

**Author:** [@wildliferescuer](https://forum.kirupa.com/u/wildliferescuer)\
**Replies:** 0\
**Last updated:** [February 20, 2011, 12:13am UTC](https://forum.kirupa.com/t/problem-with-resizing-movies-dynamically/319415 "2011-02-20T00:13:06Z")

</div>

Hi there I am working on a project that creates a list of gigs from an xml file. The problem I have is that I want to resize the images for the posters once each poster is loaded. The function for the resize works though…

---

## [Rotational Limits](https://forum.kirupa.com/t/rotational-limits/319414)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [February 19, 2011, 11:56pm UTC](https://forum.kirupa.com/t/rotational-limits/319414 "2011-02-19T23:56:06Z")

</div>

I'm trying to make it so that and object rotates to the mouse, but only within a specific range. In the class file for Object1, I want it to be able to rotate a maximum of 45 degrees in either direction from the rotation…

---

## [Can't figure out why I'm getting an Error #1009](https://forum.kirupa.com/t/cant-figure-out-why-im-getting-an-error-1009/319412)

<div class="topic-metadata">

**Author:** [@Dylancougar](https://forum.kirupa.com/u/Dylancougar)\
**Replies:** 0\
**Last updated:** [February 19, 2011, 10:05pm UTC](https://forum.kirupa.com/t/cant-figure-out-why-im-getting-an-error-1009/319412 "2011-02-19T22:05:58Z")

</div>

Hi I’m still relativity new to Flash. But what I’m doing is trying to create a website for my church. I’m working on one part of it right now and that’s the fellowship page. I have a couple of backgrounds on the very fir…

---

## [Controlling speed of falling objects](https://forum.kirupa.com/t/controlling-speed-of-falling-objects/319411)

<div class="topic-metadata">

**Author:** [@cmpac](https://forum.kirupa.com/u/cmpac)\
**Replies:** 0\
**Last updated:** [February 19, 2011, 9:39pm UTC](https://forum.kirupa.com/t/controlling-speed-of-falling-objects/319411 "2011-02-19T21:39:05Z")

</div>

I have randomly placed 40 pennies on the stage using a for loop, as well as making some of them smaller. They all start at the top of the stage and, right now, all fall down the stage at the same time. My trouble is t…

---

## [...could not be found in the class path](https://forum.kirupa.com/t/could-not-be-found-in-the-class-path/319408)

<div class="topic-metadata">

**Author:** [@tbo](https://forum.kirupa.com/u/tbo)\
**Replies:** 0\
**Last updated:** [February 19, 2011, 5:14pm UTC](https://forum.kirupa.com/t/could-not-be-found-in-the-class-path/319408 "2011-02-19T17:14:01Z")

</div>

I just lost some time and hair over this\*. \*\*A definition for the base class could not be found in the class path...\*\*\* But it does exist! And flash could find other .as files in the same folder. I banged my head a …

---

## [Tips on Making a Mouse Driven Thumbnail Slider](https://forum.kirupa.com/t/tips-on-making-a-mouse-driven-thumbnail-slider/319401)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [February 19, 2011, 1:24am UTC](https://forum.kirupa.com/t/tips-on-making-a-mouse-driven-thumbnail-slider/319401 "2011-02-19T01:24:41Z")

</div>

Hey Gang, I'd like to take a shot at making one of those thumbnail sliders that move depending on where the mouse is (left or right). Any tips on where to find some tuts on how to code the dynamic movement would be great…

---

## [Random numbers not working for me in AS3](https://forum.kirupa.com/t/random-numbers-not-working-for-me-in-as3/319398)

<div class="topic-metadata">

**Author:** [@itsmadman](https://forum.kirupa.com/u/itsmadman)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 10:51pm UTC](https://forum.kirupa.com/t/random-numbers-not-working-for-me-in-as3/319398 "2011-02-18T22:51:43Z")

</div>

Man guys if u could help me with this it would be great check it "textBubble" is a movieclip that has 13 frames now i wanted to section off the different frames in this fashion 1,2,3,4 5,6,7,8 9,10,11,12. 1-4 equals br…

---

## [I need help (movie clip selection, then transformation, by another button)](https://forum.kirupa.com/t/i-need-help-movie-clip-selection-then-transformation-by-another-button/319397)

<div class="topic-metadata">

**Author:** [@O\_Tamandua](https://forum.kirupa.com/u/O_Tamandua)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 10:50pm UTC](https://forum.kirupa.com/t/i-need-help-movie-clip-selection-then-transformation-by-another-button/319397 "2011-02-18T22:50:24Z")

</div>

Hello. I really didn't want to post this thread. As I identified on the "Welcome" thread, I'm a "devsigner" (as someone here put it) who, while there's nothing wrong with that designation, is working to become somethi…

---

## [Need a little MovieClip Inheritance clarity](https://forum.kirupa.com/t/need-a-little-movieclip-inheritance-clarity/319396)

<div class="topic-metadata">

**Author:** [@tjuro](https://forum.kirupa.com/u/tjuro)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 9:24pm UTC](https://forum.kirupa.com/t/need-a-little-movieclip-inheritance-clarity/319396 "2011-02-18T21:24:16Z")

</div>

\[FONT=Franklin Gothic Medium\]I am trying to access the display properties of a MovieClip that extends a custom base Class. I'll try to break the problem down as clearly as I can: • I’ve created a base class (called Pa…

---

## [Flash + 3d animation + CPU](https://forum.kirupa.com/t/flash-3d-animation-cpu/319395)

<div class="topic-metadata">

**Author:** [@nnnswordfish](https://forum.kirupa.com/u/nnnswordfish)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 8:39pm UTC](https://forum.kirupa.com/t/flash-3d-animation-cpu/319395 "2011-02-18T20:39:21Z")

</div>

Hy everybody , i am big fan of derbauer i like how they work, so i am start to learn 3d programs to make animations in 3d and websites like derbauer, right now am good with 3d , i make lot of objects in 3d Max(buttons,…

---

## [HELP! Load XML with variable](https://forum.kirupa.com/t/help-load-xml-with-variable/319394)

<div class="topic-metadata">

**Author:** [@almada](https://forum.kirupa.com/u/almada)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 7:06pm UTC](https://forum.kirupa.com/t/help-load-xml-with-variable/319394 "2011-02-18T19:06:14Z")

</div>

Hi all, i am trying to load xml with a variable, like this: (...) var xmlpath = thattext.text; myXML = new XML(); myXML.load(xmlpath); (...) if the path is normal, like ("pathtoxml.xml") it works, but not this …

---

## [Save JPG (Print screen) Button in flash?](https://forum.kirupa.com/t/save-jpg-print-screen-button-in-flash/319393)

<div class="topic-metadata">

**Author:** [@maxoys45](https://forum.kirupa.com/u/maxoys45)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 5:31pm UTC](https://forum.kirupa.com/t/save-jpg-print-screen-button-in-flash/319393 "2011-02-18T17:31:50Z")

</div>

Hi, Haven't posted here in a while but here it goes.. I'm making a little tool at the moment for setting up formations on a football pitch. Here's a simple example: Click It works fine but before i develop it prope…

---

## [Variable or method accessible in all the package?](https://forum.kirupa.com/t/variable-or-method-accessible-in-all-the-package/319391)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 5:20pm UTC](https://forum.kirupa.com/t/variable-or-method-accessible-in-all-the-package/319391 "2011-02-18T17:20:51Z")

</div>

I want to be able to have a variable and/or a method that's available to all the classes inside a package. What would be the best way to achieve that?

---

## [Is it possible to make the external code for the AS3 snow effect in kirupa internal?](https://forum.kirupa.com/t/is-it-possible-to-make-the-external-code-for-the-as3-snow-effect-in-kirupa-internal/319389)

<div class="topic-metadata">

**Author:** [@liner986](https://forum.kirupa.com/u/liner986)\
**Replies:** 0\
**Last updated:** [February 18, 2011, 4:18pm UTC](https://forum.kirupa.com/t/is-it-possible-to-make-the-external-code-for-the-as3-snow-effect-in-kirupa-internal/319389 "2011-02-18T16:18:29Z")

</div>

i was wondering if its possible to make the external code for the snowflake effect in kirupa tutorials (AS3 version) run internally, i.e. without the need for the snowflake.as file if anyone knows I would much apprecia…

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

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