# programming

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

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

**Page:** 480

---

## [External Library Path for components?](https://forum.kirupa.com/t/external-library-path-for-components/310201)

<div class="topic-metadata">

**Author:** [@Matt\_Garland](https://forum.kirupa.com/u/Matt_Garland)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:42pm UTC](https://forum.kirupa.com/t/external-library-path-for-components/310201 "2010-06-03T23:42:02Z")

</div>

Hi, I want to: 1) Place symbols on the stage manually in loaded.fla 2) Exclude these symbols from the swf because they will already be in loading.swf So I: 1) Created a component.fla 2) Created a "comp" symbol in…

---

## [Menu with Slider object in AS3?](https://forum.kirupa.com/t/menu-with-slider-object-in-as3/310199)

<div class="topic-metadata">

**Author:** [@jimmayjimmayhan](https://forum.kirupa.com/u/jimmayjimmayhan)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:07pm UTC](https://forum.kirupa.com/t/menu-with-slider-object-in-as3/310199 "2010-06-03T23:07:30Z")

</div>

Hi guys, I am a total noob at flash in general (just started last week) and I want to make a menu with a slider that can be found here at http://www.kirupa.com/developer/mx2004/menu\_with\_slider.htm but in AS3. I…

---

## [AS3 Flashvars and getURL help](https://forum.kirupa.com/t/as3-flashvars-and-geturl-help/310198)

<div class="topic-metadata">

**Author:** [@alejandroy](https://forum.kirupa.com/u/alejandroy)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 10:57pm UTC](https://forum.kirupa.com/t/as3-flashvars-and-geturl-help/310198 "2010-06-03T22:57:16Z")

</div>

I have never used flashVars, even in AS2, but the project I'm working on requires that I use since my client is going to use dynamic urls defined as expressions and he wants to have control without having to edit a fla f…

---

## [AIR 1.5.3 Keybinding](https://forum.kirupa.com/t/air-1-5-3-keybinding/310196)

<div class="topic-metadata">

**Author:** [@toad013](https://forum.kirupa.com/u/toad013)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 9:48pm UTC](https://forum.kirupa.com/t/air-1-5-3-keybinding/310196 "2010-06-03T21:48:42Z")

</div>

Does anyone know of a way to prevent the "windows"/"start" key from opening up the start menu on windows? We have a fullscreen application and if the start key is pressed it takes them out of the app, kind of ruining th…

---

## [Need help using a number from button name](https://forum.kirupa.com/t/need-help-using-a-number-from-button-name/310195)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 8:54pm UTC](https://forum.kirupa.com/t/need-help-using-a-number-from-button-name/310195 "2010-06-03T20:54:35Z")

</div>

I have 5 buttons on stage named 'btn1' through 'btn5'. Each has an event listener, each calling the same function. I want to use the numer on the end of the button name to call associated string variables named 'scenario…

---

## [Global Function, validation for text field range](https://forum.kirupa.com/t/global-function-validation-for-text-field-range/310193)

<div class="topic-metadata">

**Author:** [@Monte323](https://forum.kirupa.com/u/Monte323)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 8:35pm UTC](https://forum.kirupa.com/t/global-function-validation-for-text-field-range/310193 "2010-06-03T20:35:57Z")

</div>

Hello all. I am putting together a file that has a lot of text input fields. These fields are scattered through multiple movie clips within the main project. What I am trying to do is to validate that each of them are…

---

## [hitTestPoint (ShapeFlag = true) not detecting collision](https://forum.kirupa.com/t/hittestpoint-shapeflag-true-not-detecting-collision/310192)

<div class="topic-metadata">

**Author:** [@sammyhunk](https://forum.kirupa.com/u/sammyhunk)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 7:09pm UTC](https://forum.kirupa.com/t/hittestpoint-shapeflag-true-not-detecting-collision/310192 "2010-06-03T19:09:45Z")

</div>

Hey All, I am new to Flash and new to this forum - this is my first post, so sincerely hoping for some help! I am trying to use hitTestPoint to test whether the x/y coordinates of many circles are colliding with the …

---

## [Connect to IRC servers in as3?](https://forum.kirupa.com/t/connect-to-irc-servers-in-as3/310191)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 6:04pm UTC](https://forum.kirupa.com/t/connect-to-irc-servers-in-as3/310191 "2010-06-03T18:04:31Z")

</div>

Hi there! Does anybody know how to connect to and talk to IRC servers in as3?

---

## [AS2 - Saving with variable in variable name. Help please!](https://forum.kirupa.com/t/as2-saving-with-variable-in-variable-name-help-please/310188)

<div class="topic-metadata">

**Author:** [@tcooley2003](https://forum.kirupa.com/u/tcooley2003)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 3:39pm UTC](https://forum.kirupa.com/t/as2-saving-with-variable-in-variable-name-help-please/310188 "2010-06-03T15:39:40Z")

</div>

Hi, I would like to thank everyone in advance for the help these forums and the people on them provide. Lots of great info! I did a search for a problem I am having and cannot seem to find anything on it. I am t…

---

## [Why can't I publish a jpeg, png with text in it?](https://forum.kirupa.com/t/why-cant-i-publish-a-jpeg-png-with-text-in-it/310187)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 3:36pm UTC](https://forum.kirupa.com/t/why-cant-i-publish-a-jpeg-png-with-text-in-it/310187 "2010-06-03T15:36:24Z")

</div>

Besides the fact that I am a bone head.

---

## [AS2 CS4 - button to turn on AND off?](https://forum.kirupa.com/t/as2-cs4-button-to-turn-on-and-off/310185)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 2:11pm UTC](https://forum.kirupa.com/t/as2-cs4-button-to-turn-on-and-off/310185 "2010-06-03T14:11:37Z")

</div>

I was just wondering if there's a way to write code for a button so it will, e.g., make a movie clip visible with one click, then hide it with a second click? what I usually do is give the mc two frames, so on click on…

---

## [Keypress contols HTML page](https://forum.kirupa.com/t/keypress-contols-html-page/310182)

<div class="topic-metadata">

**Author:** [@ismith](https://forum.kirupa.com/u/ismith)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 1:46pm UTC](https://forum.kirupa.com/t/keypress-contols-html-page/310182 "2010-06-03T13:46:51Z")

</div>

\[COLOR=blue\]\[FONT=Arial\]\[COLOR=#800080\]http://beta.thisisleicestershire.co.uk/notices.html\[/COLOR\] \[/FONT\]\[/COLOR\] \[COLOR=blue\]\[FONT=Arial\] Hi there when my SWF movie is on a html page, and the user activates the movie a…

---

## [Getting jQuery to update an image](https://forum.kirupa.com/t/getting-jquery-to-update-an-image/310176)

<div class="topic-metadata">

**Author:** [@MikeDS](https://forum.kirupa.com/u/MikeDS)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:51am UTC](https://forum.kirupa.com/t/getting-jquery-to-update-an-image/310176 "2010-06-03T11:51:15Z")

</div>

Hi guys! I was wondering/hoping someone might be able to help me out here: Basically, I have a list with 2 items in that I am fading between using NivoSlider. These 2 items contain an image that we want to update e…

---

## [Passing variables from the page](https://forum.kirupa.com/t/passing-variables-from-the-page/310175)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:43am UTC](https://forum.kirupa.com/t/passing-variables-from-the-page/310175 "2010-06-03T11:43:00Z")

</div>

I've been writing movies in AS2 that have variables passed to them via the src parameter of the page code, e.g. src="/Flash/theMovie.swf?value=1" then in the AS I don't need to define 'val', I can use it straight awa…

---

## [Exporting images from flash to XML](https://forum.kirupa.com/t/exporting-images-from-flash-to-xml/310174)

<div class="topic-metadata">

**Author:** [@royovic](https://forum.kirupa.com/u/royovic)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 11:29am UTC](https://forum.kirupa.com/t/exporting-images-from-flash-to-xml/310174 "2010-06-03T11:29:42Z")

</div>

Hey guys, This is about XML + Flash, maybe a little more XML than Flash, but I hope I posted it here correctly. I'll explain the problem: I have a webcam. The webcam is connected to Flash, and allows me te make snaps…

---

## [Nested MovieClip frame scripts and Application Domain Issue](https://forum.kirupa.com/t/nested-movieclip-frame-scripts-and-application-domain-issue/310170)

<div class="topic-metadata">

**Author:** [@manikk](https://forum.kirupa.com/u/manikk)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 8:25am UTC](https://forum.kirupa.com/t/nested-movieclip-frame-scripts-and-application-domain-issue/310170 "2010-06-03T08:25:12Z")

</div>

I am having a local trusted swf which loads two swf from a network domain. The first swf contains a movie clip having nested movieclip which is having an animation and stop script at frame1. The second swf contains no…

---

## [Video embedding](https://forum.kirupa.com/t/video-embedding/310167)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 6:14am UTC](https://forum.kirupa.com/t/video-embedding/310167 "2010-06-03T06:14:45Z")

</div>

I see Flash games with lengthy video cinematics all the time. Here's an example of a game which has its intro video start right off the bat. I presume these games embed the video because loading it externally and startin…

---

## [How do i give static arraycollection for advancedatagridcolumn combobox?](https://forum.kirupa.com/t/how-do-i-give-static-arraycollection-for-advancedatagridcolumn-combobox/310166)

<div class="topic-metadata">

**Author:** [@krunalkakadia](https://forum.kirupa.com/u/krunalkakadia)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 5:01am UTC](https://forum.kirupa.com/t/how-do-i-give-static-arraycollection-for-advancedatagridcolumn-combobox/310166 "2010-06-03T05:01:20Z")

</div>

gm guys, i have my advance datagrid in which one advancedatagridcolumn header contains combobox.whenn i click on combox it displays list and by selecting employee designation it shows records related it from database.n…

---

## [If and Else statement help](https://forum.kirupa.com/t/if-and-else-statement-help/310165)

<div class="topic-metadata">

**Author:** [@Mirtheus](https://forum.kirupa.com/u/Mirtheus)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 4:51am UTC](https://forum.kirupa.com/t/if-and-else-statement-help/310165 "2010-06-03T04:51:48Z")

</div>

I just need some simple validation for a text input field. The code that I am trying to get to work is: on (release) { if(name == "foo"){ form.loadVariables("email.php", "POST"); getURL("http://www.cnn.com", "\_se…

---

## [Labels and slideshow](https://forum.kirupa.com/t/labels-and-slideshow/310164)

<div class="topic-metadata">

**Author:** [@luteczka](https://forum.kirupa.com/u/luteczka)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 4:09am UTC](https://forum.kirupa.com/t/labels-and-slideshow/310164 "2010-06-03T04:09:10Z")

</div>

Hi, I have a slideshow and four menu buttons. btn\_k1,btn\_k2,btn\_k3,btn\_k4. I labels- one, two, three, four. When you click on btn\_k1 it is supposed to go to label one. and so on. I have this script. I doesn't work. What …

---

## [Changing Dynamic Text not working](https://forum.kirupa.com/t/changing-dynamic-text-not-working/310163)

<div class="topic-metadata">

**Author:** [@neatgadgets](https://forum.kirupa.com/u/neatgadgets)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 4:05am UTC](https://forum.kirupa.com/t/changing-dynamic-text-not-working/310163 "2010-06-03T04:05:58Z")

</div>

This is a problem I often come across but have never found an answer through extensive searching of the net. I have a simple line root.txtprogressbar.text = "Parsing CSV file to grid."; Yet this sometimes works …

---

## [addEventListener() with parameters - is my way right?](https://forum.kirupa.com/t/addeventlistener-with-parameters-is-my-way-right/310162)

<div class="topic-metadata">

**Author:** [@sebby64](https://forum.kirupa.com/u/sebby64)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 3:37am UTC](https://forum.kirupa.com/t/addeventlistener-with-parameters-is-my-way-right/310162 "2010-06-03T03:37:40Z")

</div>

I've been browsing lots of forums lately regarding the issues involved with passing parameters into functions called by event listeners. I think I may have come up with a good solution using anonymous functions but I'm n…

---

## [Moving the stage in AS3?](https://forum.kirupa.com/t/moving-the-stage-in-as3/310161)

<div class="topic-metadata">

**Author:** [@Thefox14](https://forum.kirupa.com/u/Thefox14)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 3:35am UTC](https://forum.kirupa.com/t/moving-the-stage-in-as3/310161 "2010-06-03T03:35:37Z")

</div>

Hey guys, So I've been trying to move the stage's X and Y position and keep on getting this error: Error: Error #2071: The Stage class does not implement this property or method. at Error$/throwError() at flash.di…

---

## [For loop and sine making a box?](https://forum.kirupa.com/t/for-loop-and-sine-making-a-box/310160)

<div class="topic-metadata">

**Author:** [@Beeh](https://forum.kirupa.com/u/Beeh)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 3:00am UTC](https://forum.kirupa.com/t/for-loop-and-sine-making-a-box/310160 "2010-06-03T03:00:18Z")

</div>

Seriously, I have no idea why it's doing this. Maybe it's just my comp, but I tested it on another computer, and it did the same thing. I'm trying to make a circle accurately collide with a box. I tested with just adding…

---

## [Need to add on variebles](https://forum.kirupa.com/t/need-to-add-on-variebles/310158)

<div class="topic-metadata">

**Author:** [@inf3kted](https://forum.kirupa.com/u/inf3kted)\
**Replies:** 0\
**Last updated:** [June 3, 2010, 1:04am UTC](https://forum.kirupa.com/t/need-to-add-on-variebles/310158 "2010-06-03T01:04:45Z")

</div>

I want to add a button(s) which on add to certain variebles such as my time. heres my code: (to big to upload) var questions:Array = new Array(\["What is as big as you are and yet does not weigh anything? ", "shadow"\],…

---

## [Tile function for an RPG question](https://forum.kirupa.com/t/tile-function-for-an-rpg-question/310155)

<div class="topic-metadata">

**Author:** [@fall0utm0dd](https://forum.kirupa.com/u/fall0utm0dd)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 11:28pm UTC](https://forum.kirupa.com/t/tile-function-for-an-rpg-question/310155 "2010-06-02T23:28:10Z")

</div>

When I run this code it just adds one tile at 0,0. Any ideas? public function tile(obj:Object,times:int = 5,X:Number = 0, Y:Number = 0,Z:Number = 0, TileSize:Number = 50) { var a:int = 0; …

---

## [A crater has hit my friends site](https://forum.kirupa.com/t/a-crater-has-hit-my-friends-site/310154)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 10:46pm UTC](https://forum.kirupa.com/t/a-crater-has-hit-my-friends-site/310154 "2010-06-02T22:46:26Z")

</div>

Okay, my friend has an issue with her site. http://www.rodriguezstudios.com/anna/ She was somehow clicking a lot times in dreamweaver and somehow it has created a black box above the "Above Rosa". What could be c…

---

## [Help Targeting Combobox in an event handler](https://forum.kirupa.com/t/help-targeting-combobox-in-an-event-handler/310150)

<div class="topic-metadata">

**Author:** [@Immulsifier](https://forum.kirupa.com/u/Immulsifier)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 8:18pm UTC](https://forum.kirupa.com/t/help-targeting-combobox-in-an-event-handler/310150 "2010-06-02T20:18:13Z")

</div>

Hi I have a movieclip in my library called clip1 and inside it are a combobox and a button called combo1 and button1. I attach them like this: for (var count = 1; count \<= 5; count++) { mc = new clip1 (); addChild (…

---

## [AS3 help needed](https://forum.kirupa.com/t/as3-help-needed/310148)

<div class="topic-metadata">

**Author:** [@alejandroy](https://forum.kirupa.com/u/alejandroy)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 8:10pm UTC](https://forum.kirupa.com/t/as3-help-needed/310148 "2010-06-02T20:10:35Z")

</div>

I bet this is simple as hell, but I can't figure it out since I'm kinda new to AS3. Basically I created two movieclips. The first one, named main\_menu, holds several mc buttons in a for loop . The other one, named map\_mc…

---

## [Generate Random Number with NO Duplicate](https://forum.kirupa.com/t/generate-random-number-with-no-duplicate/310147)

<div class="topic-metadata">

**Author:** [@riseabovedesign](https://forum.kirupa.com/u/riseabovedesign)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 5:56pm UTC](https://forum.kirupa.com/t/generate-random-number-with-no-duplicate/310147 "2010-06-02T17:56:39Z")

</div>

My company is holding an event for our clients and I was asked to make an online flash page to help us in keeping track of the tickets. The file would have a mandatory text field for them to enter their name (name\_txt)…

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

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