# programming

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

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

**Page:** 421

---

## [AS2 solution to timeline control problem](https://forum.kirupa.com/t/as2-solution-to-timeline-control-problem/313723)

<div class="topic-metadata">

**Author:** [@jrf6cf](https://forum.kirupa.com/u/jrf6cf)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 8:22am UTC](https://forum.kirupa.com/t/as2-solution-to-timeline-control-problem/313723 "2010-09-08T08:22:40Z")

</div>

im trying to navigate through a movie clip and stop at frame labels using individual buttons to call to individual labels while being able to see the on the way to the frame (for a blurred effect). my goal is to jump fro…

---

## [VGA Port control through flash](https://forum.kirupa.com/t/vga-port-control-through-flash/313721)

<div class="topic-metadata">

**Author:** [@shan\_swf](https://forum.kirupa.com/u/shan_swf)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 7:58am UTC](https://forum.kirupa.com/t/vga-port-control-through-flash/313721 "2010-09-08T07:58:50Z")

</div>

Hi, I have a flash application and i want to disable the VGA port whenever my application runs in my PC/laptop. As fas i know its not possible in flash also i heard that it can be achieved thrw AIR application, hence am …

---

## [Building javascript using classes](https://forum.kirupa.com/t/building-javascript-using-classes/313719)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 6:44am UTC](https://forum.kirupa.com/t/building-javascript-using-classes/313719 "2010-09-08T06:44:00Z")

</div>

Hey there, I am a newbie to js and I was wondering if it was better to build the js into classes and using prototypes etc... I wrote my own validation covering all inputs and i came across a site explaining how to use…

---

## [Accessing random variables in external .txt file](https://forum.kirupa.com/t/accessing-random-variables-in-external-txt-file/313716)

<div class="topic-metadata">

**Author:** [@asheesh88](https://forum.kirupa.com/u/asheesh88)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 5:42am UTC](https://forum.kirupa.com/t/accessing-random-variables-in-external-txt-file/313716 "2010-09-08T05:42:59Z")

</div>

Hi all, I think this may be a simple solution, but I am not familiar enough with Flash to figure it out. I have a .txt file with 10 variables containing 10 sentences. The variables are named myText1, myText2, myText…

---

## [Tutorial: Connecting to a WebService using Flash/AS3](https://forum.kirupa.com/t/tutorial-connecting-to-a-webservice-using-flash-as3/313715)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 4:57am UTC](https://forum.kirupa.com/t/tutorial-connecting-to-a-webservice-using-flash-as3/313715 "2010-09-08T04:57:42Z")

</div>

This thread is designed to help collect discussion on the Connecting to a WebService in Flash/AS3 tutorial. Feel free to drop in :yellowpanda: Cheers, Kirupa :smirk2:

---

## [CS5-problem with XML text fields in Kirupa tutorial](https://forum.kirupa.com/t/cs5-problem-with-xml-text-fields-in-kirupa-tutorial/313714)

<div class="topic-metadata">

**Author:** [@3dotcreative](https://forum.kirupa.com/u/3dotcreative)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 4:22am UTC](https://forum.kirupa.com/t/cs5-problem-with-xml-text-fields-in-kirupa-tutorial/313714 "2010-09-08T04:22:22Z")

</div>

Hey! I am trying to use the XML thumbnail gallery from Kirupa found at http://www.kirupa.com/developer/mx2004/thumbnails2.htm. When I download and open the source file in CS3 everything works as described, but when I o…

---

## [Chroma Key Effects](https://forum.kirupa.com/t/chroma-key-effects/313712)

<div class="topic-metadata">

**Author:** [@wcharlot](https://forum.kirupa.com/u/wcharlot)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 4:00am UTC](https://forum.kirupa.com/t/chroma-key-effects/313712 "2010-09-08T04:00:52Z")

</div>

It is my first time to use CS5 and I have been thinking about creating music videos out of it. I have always been fascinated with the idea of Chroma Key effects but I am not too familiar on how to use CS5 with it. I need…

---

## [FullScreen Flash with a lil something(not sure what to call it)](https://forum.kirupa.com/t/fullscreen-flash-with-a-lil-something-not-sure-what-to-call-it/313710)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [September 8, 2010, 1:22am UTC](https://forum.kirupa.com/t/fullscreen-flash-with-a-lil-something-not-sure-what-to-call-it/313710 "2010-09-08T01:22:30Z")

</div>

Sup all....okay so heres the thing. i know how to do full screen flash as far as FStoggle butts and 100% in Browser flash and no scaling..etc.., but what i NEED to do is..... lets say that i have my logo on top left,…

---

## [Changing variable values in one class from another class](https://forum.kirupa.com/t/changing-variable-values-in-one-class-from-another-class/313709)

<div class="topic-metadata">

**Author:** [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 11:44pm UTC](https://forum.kirupa.com/t/changing-variable-values-in-one-class-from-another-class/313709 "2010-09-07T23:44:17Z")

</div>

I have two document classes. One is Main.as the other is Step2.as. I want to declare a public variable in Main.as then need to give it a value from Step2.as. That value will later be used in my next Document class Step3.…

---

## [Including images into .swf](https://forum.kirupa.com/t/including-images-into-swf/313705)

<div class="topic-metadata">

**Author:** [@M77](https://forum.kirupa.com/u/M77)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 8:36pm UTC](https://forum.kirupa.com/t/including-images-into-swf/313705 "2010-09-07T20:36:48Z")

</div>

Hello I just wanted to submit my game into some website but i don't understand why they need me to upload .swf if they have no images help please? maybe there is a way to include all images right into swf?

---

## [Trying to target a MC being loaded into empty container](https://forum.kirupa.com/t/trying-to-target-a-mc-being-loaded-into-empty-container/313704)

<div class="topic-metadata">

**Author:** [@daewond3r](https://forum.kirupa.com/u/daewond3r)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 7:25pm UTC](https://forum.kirupa.com/t/trying-to-target-a-mc-being-loaded-into-empty-container/313704 "2010-09-07T19:25:53Z")

</div>

First post! I'm trying to somehow target a MC being loaded into an empty container MC. I've tried everything I could think of. Basically, I'm making a movie editor. Right now clips are added to the stage on initial l…

---

## [MovieClip(scrollpane.content).gotoAndStop(2);](https://forum.kirupa.com/t/movieclip-scrollpane-content-gotoandstop-2/313703)

<div class="topic-metadata">

**Author:** [@bamben](https://forum.kirupa.com/u/bamben)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 6:21pm UTC](https://forum.kirupa.com/t/movieclip-scrollpane-content-gotoandstop-2/313703 "2010-09-07T18:21:12Z")

</div>

I need to get my main swf A to tell the swf B (swfB is my scrollpane content or source) to gotoAndStop at frame 2 but it doesn't communicate. Here is my code on my main swfA: function xbutton (e:MouseEvent):void {go…

---

## [Simple AS 2 to AS 3](https://forum.kirupa.com/t/simple-as-2-to-as-3/313702)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 5:31pm UTC](https://forum.kirupa.com/t/simple-as-2-to-as-3/313702 "2010-09-07T17:31:02Z")

</div>

How I convert this code from AS2 to AS 3, very simple to all of you. If any one give me any reference where I find these code reference that will better and can avoid so much easy questions to all of you. Here is the cod…

---

## [Noob OOP class question](https://forum.kirupa.com/t/noob-oop-class-question/313701)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 4:44pm UTC](https://forum.kirupa.com/t/noob-oop-class-question/313701 "2010-09-07T16:44:35Z")

</div>

I'm switching to full OOP programming since I have nothing else to do other than to learn the same language again. Anyway I've got a question about accessing public vars in a subclass: Test.as package { import flas…

---

## [Image load on button release problem](https://forum.kirupa.com/t/image-load-on-button-release-problem/313698)

<div class="topic-metadata">

**Author:** [@davis\_1114](https://forum.kirupa.com/u/davis_1114)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 3:26pm UTC](https://forum.kirupa.com/t/image-load-on-button-release-problem/313698 "2010-09-07T15:26:30Z")

</div>

I will try to make this as sysinct As possible. I'm working in Flash CS4, AS 2 and I'm trying to make an online image gallery/portfolio but I'm having trouble making an image appear when I release the button. (I've uploa…

---

## [Issue with for loop](https://forum.kirupa.com/t/issue-with-for-loop/313697)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 3:24pm UTC](https://forum.kirupa.com/t/issue-with-for-loop/313697 "2010-09-07T15:24:04Z")

</div>

Hi, I am using TweenMax. I am making several points, and drawing a line out of it. The thing is, I don't know how many points there will be, as they are dynamic. var path:LinePath2D = new LinePath2D(\[ …

---

## [Problem with external preloader](https://forum.kirupa.com/t/problem-with-external-preloader/313696)

<div class="topic-metadata">

**Author:** [@mozaix](https://forum.kirupa.com/u/mozaix)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 3:14pm UTC](https://forum.kirupa.com/t/problem-with-external-preloader/313696 "2010-09-07T15:14:34Z")

</div>

I have this great tutorial explaining how to put one 'master' preloader for all the external swfs. I tried it, it works great... almost. On my website I have 3 pages: webdesign, animation and illustration. I used the e…

---

## [Circle/Block collision problems](https://forum.kirupa.com/t/circle-block-collision-problems/313695)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 2:37pm UTC](https://forum.kirupa.com/t/circle-block-collision-problems/313695 "2010-09-07T14:37:31Z")

</div>

Hello everyone, so, I'm trying to get this right. A ball with set direction moves until it hits a target block. Upon collision, new direction is calculated, and the ball moves in that direction until it collides again.…

---

## [AI & Games Networking Event (17 September, London)](https://forum.kirupa.com/t/ai-games-networking-event-17-september-london/313692)

<div class="topic-metadata">

**Author:** [@camb](https://forum.kirupa.com/u/camb)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 12:26pm UTC](https://forum.kirupa.com/t/ai-games-networking-event-17-september-london/313692 "2010-09-07T12:26:35Z")

</div>

Dear AI & Games Developers and Researchers, We are delighted to announce our 3rd and final AI & Games Networking Event. This will provide great opportunities for starting and continuing collaborations between games ind…

---

## [Access and Air Or Flash](https://forum.kirupa.com/t/access-and-air-or-flash/313689)

<div class="topic-metadata">

**Author:** [@hosein\_mirian](https://forum.kirupa.com/u/hosein_mirian)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 10:30am UTC](https://forum.kirupa.com/t/access-and-air-or-flash/313689 "2010-09-07T10:30:39Z")

</div>

hi everybody I want to know can we use access's database to work with flash or adobe air ? and if u have any sample of a database which work with air or flash in local Plz don't hesitate Give it to me ! Please hel…

---

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

<div class="topic-metadata">

**Author:** [@punk123123123](https://forum.kirupa.com/u/punk123123123)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 9:25am UTC](https://forum.kirupa.com/t/error-1502/313687 "2010-09-07T09:25:22Z")

</div>

Error in this code.. Error number 1502 I dunno how to solve this sets of codes. Error occurs in the for loop. For loop code: for(var i:int = prevCount; i \< count; i++) { if(i \<= 8) { apple.x=Mat…

---

## [hitTest confusion](https://forum.kirupa.com/t/hittest-confusion/313686)

<div class="topic-metadata">

**Author:** [@neovenjo](https://forum.kirupa.com/u/neovenjo)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 9:10am UTC](https://forum.kirupa.com/t/hittest-confusion/313686 "2010-09-07T09:10:05Z")

</div>

hi guys, I'm a beginner in AS3 only been using as3 for 2 days and I have a problem regarding hitTest I'm trying to make a First person avoider game where you try to dodge incoming meteors. Everything is fine, I was…

---

## [MMORPG engine for flash](https://forum.kirupa.com/t/mmorpg-engine-for-flash/313682)

<div class="topic-metadata">

**Author:** [@Lobo\_](https://forum.kirupa.com/u/Lobo_)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 8:46am UTC](https://forum.kirupa.com/t/mmorpg-engine-for-flash/313682 "2010-09-07T08:46:12Z")

</div>

Hi, Im trying to find an MMORPG engine for flash if possible opensource. The only thing that I have found at the moment is: OpenSpace http://www.openspace-engine.com/ There is something else out there? :stormtroo…

---

## [How to get r, g, b from uint pixel?](https://forum.kirupa.com/t/how-to-get-r-g-b-from-uint-pixel/313679)

<div class="topic-metadata">

**Author:** [@M77](https://forum.kirupa.com/u/M77)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 6:47am UTC](https://forum.kirupa.com/t/how-to-get-r-g-b-from-uint-pixel/313679 "2010-09-07T06:47:38Z")

</div>

How to get r, g, b from uint pixel? I mean separate variables

---

## [Movie Clip Placement Issue AS1.0](https://forum.kirupa.com/t/movie-clip-placement-issue-as1-0/313678)

<div class="topic-metadata">

**Author:** [@Shinji246](https://forum.kirupa.com/u/Shinji246)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 6:41am UTC](https://forum.kirupa.com/t/movie-clip-placement-issue-as1-0/313678 "2010-09-07T06:41:49Z")

</div>

Hi, I am having a major issue with this file. It was given to me to use specifically to convert it to my own game assets as an assignment. I can use another but I do not have one and do not have time to code a game from…

---

## [Multiple Sound Errors + Spectrum](https://forum.kirupa.com/t/multiple-sound-errors-spectrum/313677)

<div class="topic-metadata">

**Author:** [@scissor\_mouth](https://forum.kirupa.com/u/scissor_mouth)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 6:33am UTC](https://forum.kirupa.com/t/multiple-sound-errors-spectrum/313677 "2010-09-07T06:33:46Z")

</div>

hi everyone I'm working on a project for varsity, I've created a music player but every time I publish it in Firefox i get multiple errors, (in IE it's perfectly fine though) but otherwise it's just not playing any mus…

---

## [CSS to determine position of objects AS3](https://forum.kirupa.com/t/css-to-determine-position-of-objects-as3/313676)

<div class="topic-metadata">

**Author:** [@shaji](https://forum.kirupa.com/u/shaji)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 5:27am UTC](https://forum.kirupa.com/t/css-to-determine-position-of-objects-as3/313676 "2010-09-07T05:27:45Z")

</div>

Hi Is it possible to place object on stage with positions read from a CSS file? Basically what I want is to create themes for the application. As and when a different theme is selected, xy position, skins and colors…

---

## [Collision Problems \[CDK\]](https://forum.kirupa.com/t/collision-problems-cdk/313675)

<div class="topic-metadata">

**Author:** [@moselekm](https://forum.kirupa.com/u/moselekm)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 4:34am UTC](https://forum.kirupa.com/t/collision-problems-cdk/313675 "2010-09-07T04:34:47Z")

</div>

So after finding no help with Collision Detection in it's raw form I broke down and adopted CDK, which is insanely awesome for how simple it is to use. However I am having a problem. Not sure if it's just my implementa…

---

## [Convert XML to Array of objects](https://forum.kirupa.com/t/convert-xml-to-array-of-objects/313674)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 4:15am UTC](https://forum.kirupa.com/t/convert-xml-to-array-of-objects/313674 "2010-09-07T04:15:58Z")

</div>

Hi, I found a good class to convert XML to Array of Objects just like SimpleXMLSecoder do in flex. The problem is the class does not convert it to array if there is only 1 node. I tried to modify it without success. …

---

## [Code to go to a button and click it!](https://forum.kirupa.com/t/code-to-go-to-a-button-and-click-it/313673)

<div class="topic-metadata">

**Author:** [@pripir](https://forum.kirupa.com/u/pripir)\
**Replies:** 0\
**Last updated:** [September 7, 2010, 1:45am UTC](https://forum.kirupa.com/t/code-to-go-to-a-button-and-click-it/313673 "2010-09-07T01:45:41Z")

</div>

Is there any way to use as3 to go to a button sitting on a frame and (using just script) click it to play movie? I have 15 sec movie inside other movie, so I want after 15 sec to use some code to go back to a button on …

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

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