# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=203

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

**Page:** 204

---

## [How do I convert keyboard key presses to mouse event clicks?](https://forum.kirupa.com/t/how-do-i-convert-keyboard-key-presses-to-mouse-event-clicks/319223)

<div class="topic-metadata">

**Author:** [@tylerg123](https://forum.kirupa.com/u/tylerg123)\
**Replies:** 0\
**Last updated:** [February 13, 2011, 12:21am UTC](https://forum.kirupa.com/t/how-do-i-convert-keyboard-key-presses-to-mouse-event-clicks/319223 "2011-02-13T00:21:15Z")

</div>

Hello i am new to this site and actionscript 3, so keep in mind my lack of knowledge. I have code that works fine in actionscript 3, which is what the adobe ios uses to write apps. The only problem is that I don't know…

---

## [FileReference throws Error on domain with htpasswd](https://forum.kirupa.com/t/filereference-throws-error-on-domain-with-htpasswd/319221)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 11:33pm UTC](https://forum.kirupa.com/t/filereference-throws-error-on-domain-with-htpasswd/319221 "2011-02-12T23:33:06Z")

</div>

I'd never used FileReference on a domain protected by htaccess and htpasswd. I'm getting I/O and Stream errors when my SWF is hitting those PHP scripts. I know I can host the PHP on an unprotected domain, but I'd prefer…

---

## [AS3 making a movieclip within a class a certain image](https://forum.kirupa.com/t/as3-making-a-movieclip-within-a-class-a-certain-image/319220)

<div class="topic-metadata">

**Author:** [@funkymonk61](https://forum.kirupa.com/u/funkymonk61)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 11:20pm UTC](https://forum.kirupa.com/t/as3-making-a-movieclip-within-a-class-a-certain-image/319220 "2011-02-12T23:20:04Z")

</div>

hello all im trying to stumble my way through learning AS3 while making a game and i would like to create a movie clip from a class but i dont want it to be a boring square, i wanna use a movieclip from the library, how …

---

## [Flash plays on local PC, but not on remote server](https://forum.kirupa.com/t/flash-plays-on-local-pc-but-not-on-remote-server/319217)

<div class="topic-metadata">

**Author:** [@odis](https://forum.kirupa.com/u/odis)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 6:43pm UTC](https://forum.kirupa.com/t/flash-plays-on-local-pc-but-not-on-remote-server/319217 "2011-02-12T18:43:13Z")

</div>

I am having no success playing a short FLV through a SWF on my hosted web site. The video plays without problem on my local PC. This problem only occurs with SWF and HTML created with Flash CS5. With Flash CS3 the proble…

---

## [How do I randomly generate a movieclip?](https://forum.kirupa.com/t/how-do-i-randomly-generate-a-movieclip/319211)

<div class="topic-metadata">

**Author:** [@Yus89](https://forum.kirupa.com/u/Yus89)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 4:51pm UTC](https://forum.kirupa.com/t/how-do-i-randomly-generate-a-movieclip/319211 "2011-02-12T16:51:50Z")

</div>

Hello, I'm code a flash button so that when the user clicks it, 4 objects are placed at my desired coordinates from 4 arrays (1 movieclip from each array)? thank you

---

## [Need a little help. Singleton ENTER\_FRAME UpdateList class doesn't work?](https://forum.kirupa.com/t/need-a-little-help-singleton-enter-frame-updatelist-class-doesnt-work/319206)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 5:38am UTC](https://forum.kirupa.com/t/need-a-little-help-singleton-enter-frame-updatelist-class-doesnt-work/319206 "2011-02-12T05:38:42Z")

</div>

I'm making a class that manages all of my updates with a single ENTER\_FRAME. I think I should be getting the OnUpdate trace but it doesn't seem to work? Could someone help me out? I'm not sure what I'm doing wrong. pa…

---

## [First Web Site - Help!?](https://forum.kirupa.com/t/first-web-site-help/319205)

<div class="topic-metadata">

**Author:** [@sirlanceatx](https://forum.kirupa.com/u/sirlanceatx)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 4:08am UTC](https://forum.kirupa.com/t/first-web-site-help/319205 "2011-02-12T04:08:53Z")

</div>

I am trying to build my wife a photography web site. I have flash professional cs5 and photoshop elements 9. I have built the pages on photoshop and have made great progress on the site. The three things I am having …

---

## [ScrollBar formula](https://forum.kirupa.com/t/scrollbar-formula/319202)

<div class="topic-metadata">

**Author:** [@vfistri1](https://forum.kirupa.com/u/vfistri1)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 1:28am UTC](https://forum.kirupa.com/t/scrollbar-formula/319202 "2011-02-12T01:28:07Z")

</div>

so i have some scrollbar(track and button) and some content. the formula i am using to calculate to calculate y of content is the following: //contentStarting.y and scrollbarButtonStarting.y are positions of sprites at t…

---

## [Creating a reusable video player](https://forum.kirupa.com/t/creating-a-reusable-video-player/319201)

<div class="topic-metadata">

**Author:** [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 12:58am UTC](https://forum.kirupa.com/t/creating-a-reusable-video-player/319201 "2011-02-12T00:58:12Z")

</div>

So Im developping a video player that I can reuse in my projects. The video player contains both .as files and graphical assets (buttons, loading bar, etc). And the graphical assets need to be styled for each project. …

---

## [Bug w/ input fields in scrollpanes on linux?](https://forum.kirupa.com/t/bug-w-input-fields-in-scrollpanes-on-linux/319198)

<div class="topic-metadata">

**Author:** [@test1](https://forum.kirupa.com/u/test1)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 9:10pm UTC](https://forum.kirupa.com/t/bug-w-input-fields-in-scrollpanes-on-linux/319198 "2011-02-11T21:10:27Z")

</div>

I have a few users that are saying that can't click in some text fields on linux using either ff or chrome. The text cursor doesn't even show up for them. Some text fields work correctly and some don't and the only thi…

---

## [Using combobox](https://forum.kirupa.com/t/using-combobox/319194)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 5:12pm UTC](https://forum.kirupa.com/t/using-combobox/319194 "2011-02-11T17:12:52Z")

</div>

I’m walking into a problem with using a combobox. Fetching data into the combobox aint the problem. This part works well. The part of “getValue” aint working and is giving me “undefined” The combobox has a instance nam…

---

## [And. Not Or!](https://forum.kirupa.com/t/and-not-or/319193)

<div class="topic-metadata">

**Author:** [@damienAlbern](https://forum.kirupa.com/u/damienAlbern)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 12:02pm UTC](https://forum.kirupa.com/t/and-not-or/319193 "2011-02-11T12:02:11Z")

</div>

Hi all, just a quick question. I am trying to create a menu where the user must enter a "1" in the input textfield AND press enter for the next menu item to come up. At this point in time the code I am using brings the m…

---

## [Scroll bar that controlls an external SWF](https://forum.kirupa.com/t/scroll-bar-that-controlls-an-external-swf/319189)

<div class="topic-metadata">

**Author:** [@jaffnae6](https://forum.kirupa.com/u/jaffnae6)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 10:26am UTC](https://forum.kirupa.com/t/scroll-bar-that-controlls-an-external-swf/319189 "2011-02-11T10:26:27Z")

</div>

Hi everyone, I've been searching all over for this and I really can't find much.. I have a flash movie with text and images, and I want to make a vertical scroll bar - however the catch is that I want to make that scroll…

---

## [If(variable exists)](https://forum.kirupa.com/t/if-variable-exists/319188)

<div class="topic-metadata">

**Author:** [@Nature](https://forum.kirupa.com/u/Nature)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 9:18am UTC](https://forum.kirupa.com/t/if-variable-exists/319188 "2011-02-11T09:18:11Z")

</div>

Hi kirupa, I've got a movieclip in my library which can have another movieclip inside it. Now I want to check if it's there. Searching online gives: var mc1:MovieClip = new MC1(); if(mc1.mc2) //mc2 exists but t…

---

## [Help needed on Flex Google Maps](https://forum.kirupa.com/t/help-needed-on-flex-google-maps/319185)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 7:21am UTC](https://forum.kirupa.com/t/help-needed-on-flex-google-maps/319185 "2011-02-11T07:21:25Z")

</div>

Hello Friends, I need a small help in Flex Google Maps. I got a sample from internet and when ever i am trying to compile i am getting the following errors like Line 4: Multiple markers at this line: -Cannot resol…

---

## [Hide / Show object button help](https://forum.kirupa.com/t/hide-show-object-button-help/319184)

<div class="topic-metadata">

**Author:** [@stewiek](https://forum.kirupa.com/u/stewiek)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 7:10am UTC](https://forum.kirupa.com/t/hide-show-object-button-help/319184 "2011-02-11T07:10:14Z")

</div>

I used to play around with flash during the early days of action script 1. but now i can't seem to find my way around it. Used to be able to add the script to the button itself. here is my problem. I have 2 object mo…

---

## [Font embed / external text](https://forum.kirupa.com/t/font-embed-external-text/319183)

<div class="topic-metadata">

**Author:** [@sovern](https://forum.kirupa.com/u/sovern)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 6:55am UTC](https://forum.kirupa.com/t/font-embed-external-text/319183 "2011-02-11T06:55:26Z")

</div>

Hi, desperate for some assistance in getting two bits of script to combine... Can anyone help please? I want to be able to apply an embedded font to an externally loaded .txt file. I have named the dynamic text field 'my…

---

## [Math.random Error 1137 Issue](https://forum.kirupa.com/t/math-random-error-1137-issue/319180)

<div class="topic-metadata">

**Author:** [@Phenom](https://forum.kirupa.com/u/Phenom)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 3:42am UTC](https://forum.kirupa.com/t/math-random-error-1137-issue/319180 "2011-02-11T03:42:16Z")

</div>

Hi, I'm relatively new to Flash CS5 ActionScript 3.0 and I'm just trying to generate 3 lines on a canvas using Math.random to position them in 3 places along the y axis. yAnchor1-3 are variable integers and hLine1-3 are …

---

## [Slideshow flash xml w/ crossfade](https://forum.kirupa.com/t/slideshow-flash-xml-w-crossfade/319178)

<div class="topic-metadata">

**Author:** [@jimmypownall](https://forum.kirupa.com/u/jimmypownall)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 12:55am UTC](https://forum.kirupa.com/t/slideshow-flash-xml-w-crossfade/319178 "2011-02-11T00:55:35Z")

</div>

Hi, I've managed to merge some of the tutorials and AS from other posts to create an xml slideshow that rotates and has a series of buttons. http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm This is my online …

---

## [Recreate this movie](https://forum.kirupa.com/t/recreate-this-movie/319174)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 10:09pm UTC](https://forum.kirupa.com/t/recreate-this-movie/319174 "2011-02-10T22:09:36Z")

</div>

Does anyone has an idea of the code to replicate the top part of this page? http://www.twflash.fr/preload.html#/Accueil

---

## [Any help in stripping a script for MD5 Hashes](https://forum.kirupa.com/t/any-help-in-stripping-a-script-for-md5-hashes/319173)

<div class="topic-metadata">

**Author:** [@WILWILWEL](https://forum.kirupa.com/u/WILWILWEL)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 9:42pm UTC](https://forum.kirupa.com/t/any-help-in-stripping-a-script-for-md5-hashes/319173 "2011-02-10T21:42:47Z")

</div>

I've gotten this script of a friend of mine. It shows 3 tekstfield some selection boxes and submit buttons. You basicaly just fill in a word or a pharse and it gets transformed into a MD5 hash with a public key, bas…

---

## [Event.SOUND\_COMPLETE not working 2 well](https://forum.kirupa.com/t/event-sound-complete-not-working-2-well/319170)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:11pm UTC](https://forum.kirupa.com/t/event-sound-complete-not-working-2-well/319170 "2011-02-10T19:11:10Z")

</div>

Hi all I'm having a real big problem with the Event.SOUND\_COMPLETE in Flash. I have a movie that has a bunch of animations on diferent scenes the problem is that I need my movie to wait for my sound to finish before …

---

## [AS3 removing Dynamically Created Event Listener](https://forum.kirupa.com/t/as3-removing-dynamically-created-event-listener/319166)

<div class="topic-metadata">

**Author:** [@pjbruce](https://forum.kirupa.com/u/pjbruce)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:37pm UTC](https://forum.kirupa.com/t/as3-removing-dynamically-created-event-listener/319166 "2011-02-10T17:37:13Z")

</div>

Hi Guys, This is something I really need to crack - not just to solve the problem but understand the issue. I've dynamically created event listeners in the usual sort of way: myText.addEventListener(MouseEvent.MOU…

---

## [FLVPlayback Component loop and removal](https://forum.kirupa.com/t/flvplayback-component-loop-and-removal/319165)

<div class="topic-metadata">

**Author:** [@GSins](https://forum.kirupa.com/u/GSins)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 5:28pm UTC](https://forum.kirupa.com/t/flvplayback-component-loop-and-removal/319165 "2011-02-10T17:28:53Z")

</div>

Howdy all, I am a NOOB, (kind a feels like being at an AA meeting), Working on a slideshow gallery page for work (Lumber Yard w/ installed sales). Wanting to show off work of both our loyal contractors and our produc…

---

## [Restrict Input text via width of textbox](https://forum.kirupa.com/t/restrict-input-text-via-width-of-textbox/319162)

<div class="topic-metadata">

**Author:** [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 3:18pm UTC](https://forum.kirupa.com/t/restrict-input-text-via-width-of-textbox/319162 "2011-02-10T15:18:49Z")

</div>

I'd like to restrict the amount a user can type into a textbox based on the width of an existing textbox on the stage. I played around with the max chars but when you type something like a 'W' it is considerably wider th…

---

## [Add Next Prev button to gallery](https://forum.kirupa.com/t/add-next-prev-button-to-gallery/319161)

<div class="topic-metadata">

**Author:** [@ratanjaiswal](https://forum.kirupa.com/u/ratanjaiswal)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 3:14pm UTC](https://forum.kirupa.com/t/add-next-prev-button-to-gallery/319161 "2011-02-10T15:14:33Z")

</div>

Hi, I have followed a tutorial and completed a gallery which works fine but i want to add a next and prev button but cant have it can any one help me with the code here is my code //set the initial postitions/prope…

---

## [Urgent Help with AS3 Simple menu](https://forum.kirupa.com/t/urgent-help-with-as3-simple-menu/319157)

<div class="topic-metadata">

**Author:** [@djseze](https://forum.kirupa.com/u/djseze)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 12:15pm UTC](https://forum.kirupa.com/t/urgent-help-with-as3-simple-menu/319157 "2011-02-10T12:15:23Z")

</div>

Hello, I'm very new to AS3. I've created simple sites with simple buttons that go to frame labels or frame numbers but I need to create something a bit different for an urgent project. I'm trying to create some navig…

---

## [TextArea autoSize/ autowrap not working](https://forum.kirupa.com/t/textarea-autosize-autowrap-not-working/319156)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 12:00pm UTC](https://forum.kirupa.com/t/textarea-autosize-autowrap-not-working/319156 "2011-02-10T12:00:49Z")

</div>

Hi, I did a search and found few solutions to this problem however it is not working in my case. I am facing problem related to TextArea auto wrap. I used the following code I found on net to fix this however it is…

---

## [Multiple addChild (AS2 to AS3)](https://forum.kirupa.com/t/multiple-addchild-as2-to-as3/319151)

<div class="topic-metadata">

**Author:** [@shockelite](https://forum.kirupa.com/u/shockelite)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 9:03am UTC](https://forum.kirupa.com/t/multiple-addchild-as2-to-as3/319151 "2011-02-10T09:03:49Z")

</div>

for (var c:Number=0; c\<=myArray.length-1; c++) { for (var r:Number=0; r\<=myArray\[0\].length-1; r++, count++) { \[COLOR=darkgreen\]//Attaches movieclip (class: t0-t9)(var c = column / var r = row)\[/COLOR\] \[COLOR=red\] pa…

---

## [Need help displaying variables in final screen](https://forum.kirupa.com/t/need-help-displaying-variables-in-final-screen/319149)

<div class="topic-metadata">

**Author:** [@lone\_ranger](https://forum.kirupa.com/u/lone_ranger)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:49am UTC](https://forum.kirupa.com/t/need-help-displaying-variables-in-final-screen/319149 "2011-02-10T07:49:07Z")

</div>

Hi i have made a small flash game (my first). Its a simple shotting style game and I want to display 3 variables at the end. The variables calculate fine but I am unable to display them in the end screen. Can someone …

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=202)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=204)
