# programming

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

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

**Page:** 718

---

## [Behavior development help needed](https://forum.kirupa.com/t/behavior-development-help-needed/294879)

<div class="topic-metadata">

**Author:** [@ETOSoft](https://forum.kirupa.com/u/ETOSoft)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 10:31am UTC](https://forum.kirupa.com/t/behavior-development-help-needed/294879 "2009-08-21T10:31:43Z")

</div>

Hi forum members, after reading the illuminating posts regarding Behaviors I've decided to add a new one to my first WPF Application developed in Blend(visualbasic). If I declare the "Time" parameter like following, …

---

## [How to create random name picker like slot machine](https://forum.kirupa.com/t/how-to-create-random-name-picker-like-slot-machine/294876)

<div class="topic-metadata">

**Author:** [@bjory](https://forum.kirupa.com/u/bjory)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 6:54am UTC](https://forum.kirupa.com/t/how-to-create-random-name-picker-like-slot-machine/294876 "2009-08-21T06:54:41Z")

</div>

Hi all, Anyone knows how I can do a simple slot machine which can pick random names based on the names I put in the text area? It is almost similar to this http://classtools.net/education-games-php/fruit\_machine/ B…

---

## [MooTools and WAMP Server](https://forum.kirupa.com/t/mootools-and-wamp-server/294874)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 6:22am UTC](https://forum.kirupa.com/t/mootools-and-wamp-server/294874 "2009-08-21T06:22:20Z")

</div>

I recently started trying out MooTools and I want to be able to test that code locally, unfortunately it seems that my WAMP server does not understand it for some reason. I'm not sure what MooTools is doing on the insid…

---

## [Cannot load external image with special characters in file name](https://forum.kirupa.com/t/cannot-load-external-image-with-special-characters-in-file-name/294873)

<div class="topic-metadata">

**Author:** [@supafly50](https://forum.kirupa.com/u/supafly50)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:44am UTC](https://forum.kirupa.com/t/cannot-load-external-image-with-special-characters-in-file-name/294873 "2009-08-21T05:44:29Z")

</div>

I've made an application which loads external images using URLRequest and URLLoader. Everything works fine until it needs to load an image which has special characters in the file name/location, e.g. 'ú' or 'ð', and then…

---

## [Jump to keyframe condition counter](https://forum.kirupa.com/t/jump-to-keyframe-condition-counter/294872)

<div class="topic-metadata">

**Author:** [@patrickvallone](https://forum.kirupa.com/u/patrickvallone)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 5:29am UTC](https://forum.kirupa.com/t/jump-to-keyframe-condition-counter/294872 "2009-08-21T05:29:36Z")

</div>

I made a jeopardy game that works perfect except trying to get the game to go to final jeopardy once they finish all the questions in the first part of the game. the questions are on separate frames and all on the same l…

---

## [Accessing maintimeline](https://forum.kirupa.com/t/accessing-maintimeline/294862)

<div class="topic-metadata">

**Author:** [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 11:36pm UTC](https://forum.kirupa.com/t/accessing-maintimeline/294862 "2009-08-20T23:36:41Z")

</div>

Just wondering, is there a way to access the maintimeline from within a movieclip? root. doesnt seem to work ;(

---

## [Weighted random numbers](https://forum.kirupa.com/t/weighted-random-numbers/294859)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:58pm UTC](https://forum.kirupa.com/t/weighted-random-numbers/294859 "2009-08-20T22:58:53Z")

</div>

Hello! \[smile\] I was wondering if anyone out there can point me to a forumla for generating random numbers that are weighted within a specific range. I need to generate random numbers between 1 and 100. However, I'd …

---

## [Accessing stage objects with in a class](https://forum.kirupa.com/t/accessing-stage-objects-with-in-a-class/294857)

<div class="topic-metadata">

**Author:** [@jesseclark](https://forum.kirupa.com/u/jesseclark)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:48pm UTC](https://forum.kirupa.com/t/accessing-stage-objects-with-in-a-class/294857 "2009-08-20T22:48:08Z")

</div>

Sorry if this quesiton has been posted, but I don't think I am using the right terms to search. I am trying to learn how classes can interact with each other and I came across a problem I can't solve. On my stage I hav…

---

## [Dinamic Components on a Form](https://forum.kirupa.com/t/dinamic-components-on-a-form/294856)

<div class="topic-metadata">

**Author:** [@al303576](https://forum.kirupa.com/u/al303576)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:41pm UTC](https://forum.kirupa.com/t/dinamic-components-on-a-form/294856 "2009-08-20T22:41:36Z")

</div>

Hi all, I'm try to do an application where the buttons, textbox, combo box,etc can be add on my Form from a xml configuration file, is it possible on Expression blen application with c#. I did this on a pure C# applica…

---

## [Document Class and Loading classes into this class](https://forum.kirupa.com/t/document-class-and-loading-classes-into-this-class/294853)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:16pm UTC](https://forum.kirupa.com/t/document-class-and-loading-classes-into-this-class/294853 "2009-08-20T22:16:46Z")

</div>

Hi there, im trying to move to AS3 ... So I came across this code, where the fla has a document class of Main.as This loads in .. Ok. But what I dont get inside this code, is that it manages to load in Secondary.as witho…

---

## [AS2 translation](https://forum.kirupa.com/t/as2-translation/294852)

<div class="topic-metadata">

**Author:** [@Tenrag](https://forum.kirupa.com/u/Tenrag)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:11pm UTC](https://forum.kirupa.com/t/as2-translation/294852 "2009-08-20T22:11:56Z")

</div>

Hi I have to use somethink like this; slider.dragger.onPress = function(){ startDrag(slider.dragger,false,0,-15,372,-15) \_root.onEnterFrame = checkRotation; } slider.dragger.onRelease = slider.dragger.onR…

---

## [Sliding Gallery PLEASE HELP :(](https://forum.kirupa.com/t/sliding-gallery-please-help/294851)

<div class="topic-metadata">

**Author:** [@MattyFlashNoob](https://forum.kirupa.com/u/MattyFlashNoob)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:00pm UTC](https://forum.kirupa.com/t/sliding-gallery-please-help/294851 "2009-08-20T22:00:25Z")

</div>

Hi there, Ok, I have a sliding photo galley with a previous and next button. I have added action script to tell the linked pictures to slide along and for the next button its fine (I took the script from a forum...as you…

---

## [Drag and drop with multiple scenes](https://forum.kirupa.com/t/drag-and-drop-with-multiple-scenes/294850)

<div class="topic-metadata">

**Author:** [@xvkarbear](https://forum.kirupa.com/u/xvkarbear)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:28pm UTC](https://forum.kirupa.com/t/drag-and-drop-with-multiple-scenes/294850 "2009-08-20T21:28:21Z")

</div>

I've taken the drag and drop tutorial from this site and adjusted it to suit my needs. Me and my co-worker have been trying all day to get this to work. Here's a little of what my problems: Need it to do: when the cor…

---

## [Slowing Down While Loop](https://forum.kirupa.com/t/slowing-down-while-loop/294849)

<div class="topic-metadata">

**Author:** [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:02pm UTC](https://forum.kirupa.com/t/slowing-down-while-loop/294849 "2009-08-20T21:02:13Z")

</div>

Hey All, I'm currently creating a rewind function that makes a video go to a certain frame number when a button is clicked. The issue is that the code is shooting through the frames too quickly. Is there any way to slo…

---

## [Parent / child movie clip buttons](https://forum.kirupa.com/t/parent-child-movie-clip-buttons/294848)

<div class="topic-metadata">

**Author:** [@pleen](https://forum.kirupa.com/u/pleen)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:51pm UTC](https://forum.kirupa.com/t/parent-child-movie-clip-buttons/294848 "2009-08-20T20:51:08Z")

</div>

I am a newbie trying to get this drop-down menu to work, I've followed several video tutorials and have pieced this together, but the tutorials mainly describe how to set up the stage but not how to add the functionality…

---

## [Tween - easeInOut](https://forum.kirupa.com/t/tween-easeinout/294847)

<div class="topic-metadata">

**Author:** [@Spykes](https://forum.kirupa.com/u/Spykes)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:49pm UTC](https://forum.kirupa.com/t/tween-easeinout/294847 "2009-08-20T20:49:09Z")

</div>

Couple of questions here. I am using the tween: easeInOut function to fade an object in in my news rotator as it cycles through the different RSS items. I can get the image fade in, but it doesn't seem to want to fade ou…

---

## [Check All Points Along a Line?](https://forum.kirupa.com/t/check-all-points-along-a-line/294844)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:32pm UTC](https://forum.kirupa.com/t/check-all-points-along-a-line/294844 "2009-08-20T20:32:05Z")

</div>

I'm using Flash 8 and AS2 I am attempting to make some code that checks whether or not a line that rotates around the screen is hitting a movie clip. Here is my code (with comments explaining it): onClipEvent(enterF…

---

## [Preloader stops when Refresh button is hit on IE6](https://forum.kirupa.com/t/preloader-stops-when-refresh-button-is-hit-on-ie6/294843)

<div class="topic-metadata">

**Author:** [@Maddug](https://forum.kirupa.com/u/Maddug)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:31pm UTC](https://forum.kirupa.com/t/preloader-stops-when-refresh-button-is-hit-on-ie6/294843 "2009-08-20T20:31:09Z")

</div>

Hi All, I have a Flash animation that uses a preloader with this code on frame 1 stop(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress); this.loaderInfo.addEventListener(Event.COMPLETE, onComp…

---

## [AS3 timeline / class interaction](https://forum.kirupa.com/t/as3-timeline-class-interaction/294840)

<div class="topic-metadata">

**Author:** [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 7:21pm UTC](https://forum.kirupa.com/t/as3-timeline-class-interaction/294840 "2009-08-20T19:21:56Z")

</div>

I have a master swf that pulls in an external child swf. The master swf uses code on a the timeline. The child swf is created by AS files. I need the child swf to be able to call functions that reside on the master swf…

---

## [Trouble calling my own images in Thumbnail gallery](https://forum.kirupa.com/t/trouble-calling-my-own-images-in-thumbnail-gallery/294837)

<div class="topic-metadata">

**Author:** [@adoorajar](https://forum.kirupa.com/u/adoorajar)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:38pm UTC](https://forum.kirupa.com/t/trouble-calling-my-own-images-in-thumbnail-gallery/294837 "2009-08-20T17:38:45Z")

</div>

Hi, All~ This is my first post, and I've unsuccessfully tried to find the answer elsewhere in the forums. It is an embarrassingly silly problem. I have completed the excellent Flash Thumbnail Gallery Tutorial (and th…

---

## [Upload then display image in Flash](https://forum.kirupa.com/t/upload-then-display-image-in-flash/294835)

<div class="topic-metadata">

**Author:** [@davey](https://forum.kirupa.com/u/davey)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 4:54pm UTC](https://forum.kirupa.com/t/upload-then-display-image-in-flash/294835 "2009-08-20T16:54:31Z")

</div>

:sonic: Hi I found a file that lets me upload a file and display it but it's in AS2 not 3, plus this tutorial uses a scrollPane to output the upload to... Is there an easier method for doing this , or can I just convert …

---

## [Need help with particlesystem](https://forum.kirupa.com/t/need-help-with-particlesystem/294829)

<div class="topic-metadata">

**Author:** [@Ryoka87](https://forum.kirupa.com/u/Ryoka87)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 3:35pm UTC](https://forum.kirupa.com/t/need-help-with-particlesystem/294829 "2009-08-20T15:35:44Z")

</div>

Hey guys, im trying to create a particlesystem where each particle moves by himself depending on which behavior has been assigned to him. But.. its slower than my grandma at the moment so I could really use some adv…

---

## [Javascript NOOB](https://forum.kirupa.com/t/javascript-noob/294827)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 3:02pm UTC](https://forum.kirupa.com/t/javascript-noob/294827 "2009-08-20T15:02:54Z")

</div>

Hey guys. Never used javascript. Getting into it now. I've been reading up on it and now I finally want to apply it. Here's what I want to do and I am thinking it can be achieved with javascript. Picture this, thr…

---

## [Rewind Tween](https://forum.kirupa.com/t/rewind-tween/294825)

<div class="topic-metadata">

**Author:** [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 2:29pm UTC](https://forum.kirupa.com/t/rewind-tween/294825 "2009-08-20T14:29:47Z")

</div>

Hello, I'm attempting to make a rewind function, but have no idea where to start. I have a movie that spans over 60 frames and rotates. I would like the user to be able to click a button and make the movie rewind and…

---

## [Drawing Diagonal Lines for a Background](https://forum.kirupa.com/t/drawing-diagonal-lines-for-a-background/294824)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:52pm UTC](https://forum.kirupa.com/t/drawing-diagonal-lines-for-a-background/294824 "2009-08-20T13:52:32Z")

</div>

Drawing diagonal lines for a background, any one know how to do it? thanks daidai :emb:

---

## [Loading data to swf - simple problem to solve](https://forum.kirupa.com/t/loading-data-to-swf-simple-problem-to-solve/294823)

<div class="topic-metadata">

**Author:** [@Bq86](https://forum.kirupa.com/u/Bq86)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 12:07pm UTC](https://forum.kirupa.com/t/loading-data-to-swf-simple-problem-to-solve/294823 "2009-08-20T12:07:58Z")

</div>

Hello, I have an .dat file from which I load data to my swf. The code looks like this: var loadGalerie = new LoadVars(); loadGalerie.onData = function (cnt) { var \_loc6 = cnt.split(" "); count = \_loc6.length; ga…

---

## [Custom easing function with bounce](https://forum.kirupa.com/t/custom-easing-function-with-bounce/294822)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:44am UTC](https://forum.kirupa.com/t/custom-easing-function-with-bounce/294822 "2009-08-20T10:44:18Z")

</div>

Hi. I've been trying to find an easing generator that supports bounce but have found none. I want to create an easing function that starts as a easeInSine (or quad) and ends as en easeOutBounce (imagine dropping an obj…

---

## [How to call java/c++ methods from flash](https://forum.kirupa.com/t/how-to-call-java-c-methods-from-flash/294819)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:53am UTC](https://forum.kirupa.com/t/how-to-call-java-c-methods-from-flash/294819 "2009-08-20T09:53:46Z")

</div>

Friends, How to call java/c++ methods from flash cs3/flash 8.0 ?? can you pls guide me on this.. i required both flash and c++/java codes... tell me wher to keep those places.... to run and see the desired output.. a…

---

## [AS3.0 Project Structure - Placement of Actionscript code](https://forum.kirupa.com/t/as3-0-project-structure-placement-of-actionscript-code/294816)

<div class="topic-metadata">

**Author:** [@JimTester](https://forum.kirupa.com/u/JimTester)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:22am UTC](https://forum.kirupa.com/t/as3-0-project-structure-placement-of-actionscript-code/294816 "2009-08-20T08:22:25Z")

</div>

Hi I hope you can help. Question How do you access a MovieClip on stage (which has an instance name) from within a .AS class file (where the class file is not the document class)? Background: I have an instance nam…

---

## [Capture screenshot of movieclip and display it in other movieclip](https://forum.kirupa.com/t/capture-screenshot-of-movieclip-and-display-it-in-other-movieclip/294812)

<div class="topic-metadata">

**Author:** [@patspats](https://forum.kirupa.com/u/patspats)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:29am UTC](https://forum.kirupa.com/t/capture-screenshot-of-movieclip-and-display-it-in-other-movieclip/294812 "2009-08-20T05:29:40Z")

</div>

hi there!!! I want to take screenshot of a movieclip and then display that screenshot in other movie clip. I dont want to save the screenshot so i dont think i need to use some server side scripting like Php....i jus…

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

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