# programming

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

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

**Page:** 352

---

## [Flash builder question](https://forum.kirupa.com/t/flash-builder-question/317929)

<div class="topic-metadata">

**Author:** [@OMG](https://forum.kirupa.com/u/OMG)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 7:59am UTC](https://forum.kirupa.com/t/flash-builder-question/317929 "2011-01-06T07:59:33Z")

</div>

Alright this is hurting my feelings =/... Honestly, before today I've never heard of flash profiler before, I did some googling and found out that it's a nice tool that I might need for debugging/optimizing my app. App…

---

## [1042 Error](https://forum.kirupa.com/t/1042-error/317928)

<div class="topic-metadata">

**Author:** [@vinodpossible](https://forum.kirupa.com/u/vinodpossible)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 6:51am UTC](https://forum.kirupa.com/t/1042-error/317928 "2011-01-06T06:51:34Z")

</div>

Hi Friends, I need a help. i got an error in AS 1042: The this keyword can not be used in static methods. It can only be used in instance methods, function closures, and global code. this is the error line. p…

---

## [MovieClip Scrolling creates Problem](https://forum.kirupa.com/t/movieclip-scrolling-creates-problem/317927)

<div class="topic-metadata">

**Author:** [@Milan\_vaja](https://forum.kirupa.com/u/Milan_vaja)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 6:35am UTC](https://forum.kirupa.com/t/movieclip-scrolling-creates-problem/317927 "2011-01-06T06:35:52Z")

</div>

Hi here is the my problem.. i am making scrollBar i have one MovieClip named "ScrollBar" it Contains two MovieClip named "base" and "thumb" scroll Bar contains Both MovieClip: initially ' ScrollBar Hei…

---

## [addChild Help :)](https://forum.kirupa.com/t/addchild-help/317925)

<div class="topic-metadata">

**Author:** [@dalladaniel](https://forum.kirupa.com/u/dalladaniel)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 6:13am UTC](https://forum.kirupa.com/t/addchild-help/317925 "2011-01-06T06:13:33Z")

</div>

Hi there, ok first of all thx for repling me, and sorry for my bad english :S ok lets expalin the problem, ive got a web, that has a meu, and inside it has another menu, so 2 menus in one MC, then, one button in those me…

---

## [Getter Setter](https://forum.kirupa.com/t/getter-setter/317924)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 4:47am UTC](https://forum.kirupa.com/t/getter-setter/317924 "2011-01-06T04:47:36Z")

</div>

I'm studying get set and I'm a little stuck. in the example i'm studying the controller class detects keyboard input with a switch standard example..... case Keyboard.LEFT: model.direction = "Left" ; break; then …

---

## [Help me unload Parent Swf from Child Swf](https://forum.kirupa.com/t/help-me-unload-parent-swf-from-child-swf/317921)

<div class="topic-metadata">

**Author:** [@newsteve](https://forum.kirupa.com/u/newsteve)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 4:08am UTC](https://forum.kirupa.com/t/help-me-unload-parent-swf-from-child-swf/317921 "2011-01-06T04:08:56Z")

</div>

Parent swf has a button to load Child swf and Child swf has a button to unload itself through a dispatchEvent. Both in respective document classes. Parent loads Child fine... Child can't remove itself! Anyone have an…

---

## [\[NetStream/Video\]Seamlessly Play Consecutive Videos](https://forum.kirupa.com/t/netstream-video-seamlessly-play-consecutive-videos/317919)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [January 6, 2011, 12:11am UTC](https://forum.kirupa.com/t/netstream-video-seamlessly-play-consecutive-videos/317919 "2011-01-06T00:11:59Z")

</div>

Guys, please bear with my clueless as I'm only beginning to really explore the video side of Flash. My current project requires for Part2.mp4 to play immediately after Part1.mp4 is finished. By immediately I mean that th…

---

## [Help preloading all images from xml](https://forum.kirupa.com/t/help-preloading-all-images-from-xml/317917)

<div class="topic-metadata">

**Author:** [@narfy](https://forum.kirupa.com/u/narfy)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 11:38pm UTC](https://forum.kirupa.com/t/help-preloading-all-images-from-xml/317917 "2011-01-05T23:38:08Z")

</div>

I've followed the kirupa tutorial for making the xml preloading slideshow. However, I want to preload all the xml images BEFORE the slideshow starts. I've cannibalized the preloading code and it seems like it should work…

---

## [Quick movieclip depth question](https://forum.kirupa.com/t/quick-movieclip-depth-question/317916)

<div class="topic-metadata">

**Author:** [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 10:43pm UTC](https://forum.kirupa.com/t/quick-movieclip-depth-question/317916 "2011-01-05T22:43:00Z")

</div>

I have my main menu movieclip placed on the main stages and I use it to load some external swfs However when I load them, the menu disappears because it is covered by the loaded swf. How can I set the depth of my top me…

---

## [Universal swf embed](https://forum.kirupa.com/t/universal-swf-embed/317912)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 10:04pm UTC](https://forum.kirupa.com/t/universal-swf-embed/317912 "2011-01-05T22:04:59Z")

</div>

Hello, I am trying to create a "universal" swf that can be embedded in an html page and take input from an xml file. Yet the name of the xml file will not be coded into the swf which would allow xml files of various na…

---

## [I want to load external mc into level](https://forum.kirupa.com/t/i-want-to-load-external-mc-into-level/317910)

<div class="topic-metadata">

**Author:** [@krizinxgren](https://forum.kirupa.com/u/krizinxgren)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 9:36pm UTC](https://forum.kirupa.com/t/i-want-to-load-external-mc-into-level/317910 "2011-01-05T21:36:19Z")

</div>

Hello all I am having trouble with loading an external mc into level i want I use the below code to load the external mc and thats ok its just that flash will load it on top of everything i have seen some tutorials b…

---

## [Help why is locally persistent remote shared object not created?](https://forum.kirupa.com/t/help-why-is-locally-persistent-remote-shared-object-not-created/317907)

<div class="topic-metadata">

**Author:** [@psvdwal](https://forum.kirupa.com/u/psvdwal)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 7:58pm UTC](https://forum.kirupa.com/t/help-why-is-locally-persistent-remote-shared-object-not-created/317907 "2011-01-05T19:58:42Z")

</div>

If I run the following script, a client sided RSO is created on the server. stop(); var nc:NetConnection = new NetConnection(); NetConnection.defaultObjectEncoding = ObjectEncoding.AMF3; nc.connect("rtmp://www.site.com…

---

## [Get Dynamic XML Document](https://forum.kirupa.com/t/get-dynamic-xml-document/317906)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 7:04pm UTC](https://forum.kirupa.com/t/get-dynamic-xml-document/317906 "2011-01-05T19:04:26Z")

</div>

All, I have the following code: var flashmo\_xml:XML = new XML(); var pic\_loader:Loader = new Loader(); var xml\_loader:URLLoader = new URLLoader(); xml\_loader.load(new URLRequest("thumbnail\_list\_4.xml")); xml\_loader.ad…

---

## [Methods guidance - Dynamic product preview](https://forum.kirupa.com/t/methods-guidance-dynamic-product-preview/317904)

<div class="topic-metadata">

**Author:** [@wheatleyweb](https://forum.kirupa.com/u/wheatleyweb)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 6:31pm UTC](https://forum.kirupa.com/t/methods-guidance-dynamic-product-preview/317904 "2011-01-05T18:31:32Z")

</div>

Hello all. It's been some time as I've taken a hiatus from Web work with focusing on my Geospatial career. Anyway... New client looking for product preview application where users can select from a series of variable…

---

## [CS5 AS2 loadMovieNum help](https://forum.kirupa.com/t/cs5-as2-loadmovienum-help/317903)

<div class="topic-metadata">

**Author:** [@KaininD](https://forum.kirupa.com/u/KaininD)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 6:14pm UTC](https://forum.kirupa.com/t/cs5-as2-loadmovienum-help/317903 "2011-01-05T18:14:30Z")

</div>

Hi this is my first Flash project that I am doing for my uni course. I am doing a 5 frame file that on frame 1 has 4 buttons and the following code on (release) { gotoAndStop(4); } on (release) { loadMovieNum…

---

## [Error.message property in browser is incomplete](https://forum.kirupa.com/t/error-message-property-in-browser-is-incomplete/317901)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 5:33pm UTC](https://forum.kirupa.com/t/error-message-property-in-browser-is-incomplete/317901 "2011-01-05T17:33:45Z")

</div>

I have encountered a problem with the "message" property of the "Error" class. The problem consists in the difference of the message text between the Flash Player of the Flash program and the Flash Player of the browse…

---

## [Accessing PUBLIC FUNCTION from different .as](https://forum.kirupa.com/t/accessing-public-function-from-different-as/317900)

<div class="topic-metadata">

**Author:** [@kumbpel](https://forum.kirupa.com/u/kumbpel)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 4:53pm UTC](https://forum.kirupa.com/t/accessing-public-function-from-different-as/317900 "2011-01-05T16:53:50Z")

</div>

i've put some public functions in one as-file. how can i call the functions in the .fla-code? just calling the name "go();" doesn't make it: any hints?

---

## [Can't add filter to button... \[newb\]](https://forum.kirupa.com/t/cant-add-filter-to-button-newb/317897)

<div class="topic-metadata">

**Author:** [@metford](https://forum.kirupa.com/u/metford)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 4:20pm UTC](https://forum.kirupa.com/t/cant-add-filter-to-button-newb/317897 "2011-01-05T16:20:58Z")

</div>

Hi I'm sure this is a simple misunderstanding of how flash works. I'll try and explain as best as possible. I have imported a JPG in to my library, converted it to a button, and then I animate the button in from fr…

---

## [Spawnpoint](https://forum.kirupa.com/t/spawnpoint/317894)

<div class="topic-metadata">

**Author:** [@SempaiKjaj](https://forum.kirupa.com/u/SempaiKjaj)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 1:02pm UTC](https://forum.kirupa.com/t/spawnpoint/317894 "2011-01-05T13:02:50Z")

</div>

Hey guys, I'm kinda new to flash and everything, but I'm trying to learn this stuff. For a game I need to make for school, I was wondering if anyone could help me out. In my game, the character moves trough a map and e…

---

## [Using "ColorPicker" component to change background colour?](https://forum.kirupa.com/t/using-colorpicker-component-to-change-background-colour/317890)

<div class="topic-metadata">

**Author:** [@pikachi](https://forum.kirupa.com/u/pikachi)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 11:18am UTC](https://forum.kirupa.com/t/using-colorpicker-component-to-change-background-colour/317890 "2011-01-05T11:18:54Z")

</div>

Hi Is there a way that I could change the background colour using the "ColorPicker" component in flash CS5? I want to be able to change it from within the swf once it is published. Thanks in advance, Pikachi

---

## [3D MovieClip position in 2D (on stage)](https://forum.kirupa.com/t/3d-movieclip-position-in-2d-on-stage/317889)

<div class="topic-metadata">

**Author:** [@neohades](https://forum.kirupa.com/u/neohades)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 11:08am UTC](https://forum.kirupa.com/t/3d-movieclip-position-in-2d-on-stage/317889 "2011-01-05T11:08:59Z")

</div>

hi! i simply can't solve a problem, and can't find anything good about it on google either.. i have a MovieClip, and it moves on stage with random x,y,z, and i want to attach another MC to it (kind of alt-cloud), but…

---

## [AS3 Game troubles](https://forum.kirupa.com/t/as3-game-troubles/317886)

<div class="topic-metadata">

**Author:** [@jrws](https://forum.kirupa.com/u/jrws)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 10:50am UTC](https://forum.kirupa.com/t/as3-game-troubles/317886 "2011-01-05T10:50:29Z")

</div>

These are the current bugs that I cannot seem to solve on my own: 1. Food randomly pauses and is unable to be collected 2. Plays "nom" even if it is already playing Example:http://megaswf.com/serve/95411/ Please note…

---

## [How can I create SWCs using cs4](https://forum.kirupa.com/t/how-can-i-create-swcs-using-cs4/317881)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 9:26am UTC](https://forum.kirupa.com/t/how-can-i-create-swcs-using-cs4/317881 "2011-01-05T09:26:32Z")

</div>

How can I create SWCs using cs4 Hi all, inspired by a thread on code protection, I would like to learn how to create SWC files that can be embedded in my code? Googling gave me rather odd and useless results... So I …

---

## [hitTestPoint to change direction of moving object](https://forum.kirupa.com/t/hittestpoint-to-change-direction-of-moving-object/317876)

<div class="topic-metadata">

**Author:** [@tlhood1080](https://forum.kirupa.com/u/tlhood1080)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 7:19am UTC](https://forum.kirupa.com/t/hittestpoint-to-change-direction-of-moving-object/317876 "2011-01-05T07:19:06Z")

</div>

I'm having a problem changing the direction of a movieclip using hitTestPoint. I have some balls on the screen that only move left, right, up and down. and pending the way they are moving they have to change direction. i…

---

## [Remember tween](https://forum.kirupa.com/t/remember-tween/317874)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 6:29am UTC](https://forum.kirupa.com/t/remember-tween/317874 "2011-01-05T06:29:32Z")

</div>

Can the tween be remembered and be tested whether it has alrerady remembered ? For example, I have 3 mc (A, B, C) on stage. Mc A moves from left to right, mc B moves from top to bottom, and mc C moves diagonally from top…

---

## [Need to create or find "Price Is Right Big Wheel"](https://forum.kirupa.com/t/need-to-create-or-find-price-is-right-big-wheel/317871)

<div class="topic-metadata">

**Author:** [@eTrainer](https://forum.kirupa.com/u/eTrainer)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 5:09am UTC](https://forum.kirupa.com/t/need-to-create-or-find-price-is-right-big-wheel/317871 "2011-01-05T05:09:55Z")

</div>

I am putting together a class that is based on the Price is Right and have looked on-line for a flash version of "The Big Wheel" but can't find one (even willing to pay for it)...so I figured that I will try to create on…

---

## [Help with AS3 receiving PHP XML](https://forum.kirupa.com/t/help-with-as3-receiving-php-xml/317870)

<div class="topic-metadata">

**Author:** [@groovdafied](https://forum.kirupa.com/u/groovdafied)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 3:41am UTC](https://forum.kirupa.com/t/help-with-as3-receiving-php-xml/317870 "2011-01-05T03:41:10Z")

</div>

Hey Folks! So I have a php setup to echo an XML document. I've tested it and it looks great! \<?xml version ="1.0"?\> \<MUSIC\> \<ARTIST\>Luther Vandross\</ARTIST\> \<SONGTITLE\>Never Let Me Go\</SONGTITLE\> \<ARTIST\>Luther …

---

## [Send To Friend](https://forum.kirupa.com/t/send-to-friend/317869)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 3:05am UTC](https://forum.kirupa.com/t/send-to-friend/317869 "2011-01-05T03:05:25Z")

</div>

Hello all! please help me with created Send To Friend form, i not know how this do Thanks

---

## [Where to find tutorial to add event and property into a usercontrol?](https://forum.kirupa.com/t/where-to-find-tutorial-to-add-event-and-property-into-a-usercontrol/317867)

<div class="topic-metadata">

**Author:** [@nickong](https://forum.kirupa.com/u/nickong)\
**Replies:** 0\
**Last updated:** [January 5, 2011, 1:48am UTC](https://forum.kirupa.com/t/where-to-find-tutorial-to-add-event-and-property-into-a-usercontrol/317867 "2011-01-05T01:48:05Z")

</div>

Hi, Kirupa Thanks for your great work to help so many guys like me.this is a great website. I just made myself a time waiting control in Blend 4, and i added storyBoard into this control so it can spinning when…

---

## [double\_click & doubleClickEnabled](https://forum.kirupa.com/t/double-click-doubleclickenabled/317860)

<div class="topic-metadata">

**Author:** [@grass](https://forum.kirupa.com/u/grass)\
**Replies:** 0\
**Last updated:** [January 4, 2011, 10:35pm UTC](https://forum.kirupa.com/t/double-click-doubleclickenabled/317860 "2011-01-04T22:35:59Z")

</div>

Hi, let's see if i understood the logics behind this new cool feature in as3: var a = new Sprite(); var b = new Sprite(); //imagine there's some graphics inside there... a.addChild(b); a.doubleClickEnabled = true; /…

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

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