# programming

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

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

**Page:** 330

---

## [Opening an external swf file. help please!](https://forum.kirupa.com/t/opening-an-external-swf-file-help-please/319224)

<div class="topic-metadata">

**Author:** [@Yeahy](https://forum.kirupa.com/u/Yeahy)\
**Replies:** 0\
**Last updated:** [February 13, 2011, 1:55am UTC](https://forum.kirupa.com/t/opening-an-external-swf-file-help-please/319224 "2011-02-13T01:55:49Z")

</div>

I have a map and when a user clicks on the different rooms on the map, i want an external swf file to open up. can this be done? p/s: I've attached the pictures of the map and the external swf file. it will give u a c…

---

## [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…

---

## [Dreamweaver headaches :S](https://forum.kirupa.com/t/dreamweaver-headaches-s/319212)

<div class="topic-metadata">

**Author:** [@planned\_dilemma](https://forum.kirupa.com/u/planned_dilemma)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 5:33pm UTC](https://forum.kirupa.com/t/dreamweaver-headaches-s/319212 "2011-02-12T17:33:33Z")

</div>

Hi, I just built my first site in Photoshop/Dreamweaver. It went pretty smoothly but I'm still having some issues. The site can be viewed here: http://greatcookiedoughfundraisers.com/pages/index.html Right now, the…

---

## [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

---

## [Design A Image list](https://forum.kirupa.com/t/design-a-image-list/319210)

<div class="topic-metadata">

**Author:** [@sandaruwan](https://forum.kirupa.com/u/sandaruwan)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 3:16pm UTC](https://forum.kirupa.com/t/design-a-image-list/319210 "2011-02-12T15:16:20Z")

</div>

I am hoping to design a wap site using html.. Bt i need to find how to link images to the web page as a image list.. 1 page should be contain 5 images and image preview should be shown in side of the links eg image …

---

## [How to rip DVD, convert video, transfer iPod music and make iPhone ringtone](https://forum.kirupa.com/t/how-to-rip-dvd-convert-video-transfer-ipod-music-and-make-iphone-ringtone/319207)

<div class="topic-metadata">

**Author:** [@Vamaliu](https://forum.kirupa.com/u/Vamaliu)\
**Replies:** 0\
**Last updated:** [February 12, 2011, 6:26am UTC](https://forum.kirupa.com/t/how-to-rip-dvd-convert-video-transfer-ipod-music-and-make-iphone-ringtone/319207 "2011-02-12T06:26:15Z")

</div>

This guide aims to show you how to rip a DVD, convert video and transfer music between iPod and computer/two iPod, make your own iPhone ringtone. It includes 4 parts: \*\*Part 1. How to rip DVD to iPod/iPhone/Sansa/PSP…

---

## [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…

---

## [How to learn to trade profitable?](https://forum.kirupa.com/t/how-to-learn-to-trade-profitable/319190)

<div class="topic-metadata">

**Author:** [@Dizbibmeems](https://forum.kirupa.com/u/Dizbibmeems)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 10:38am UTC](https://forum.kirupa.com/t/how-to-learn-to-trade-profitable/319190 "2011-02-11T10:38:26Z")

</div>

Dear Trader, You probably know by now that trading is full of hype, unrealistic claims, marketing sharks, and downright scam artists. It doesn't matter if you're trading stocks, options, futures, or forex. The s…

---

## [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…

---

## [What is the difference between a server and a regular PC?](https://forum.kirupa.com/t/what-is-the-difference-between-a-server-and-a-regular-pc/319182)

<div class="topic-metadata">

**Author:** [@Penkwatsen](https://forum.kirupa.com/u/Penkwatsen)\
**Replies:** 0\
**Last updated:** [February 11, 2011, 5:38am UTC](https://forum.kirupa.com/t/what-is-the-difference-between-a-server-and-a-regular-pc/319182 "2011-02-11T05:38:58Z")

</div>

I need to buy a new server for my company. I went to the dell page to piece one together, but was dismayed to see the cost of one.

---

## [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…

---

## [IE problem with embedded SWF, using AC\_FL\_RunContent](https://forum.kirupa.com/t/ie-problem-with-embedded-swf-using-ac-fl-runcontent/319172)

<div class="topic-metadata">

**Author:** [@bugjah](https://forum.kirupa.com/u/bugjah)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 9:09pm UTC](https://forum.kirupa.com/t/ie-problem-with-embedded-swf-using-ac-fl-runcontent/319172 "2011-02-10T21:09:30Z")

</div>

Hi all I guess I'm a bit over my head with the problems I'm having. I spent a solid day yesterday trying to make some headway with this SWF display problem to no avail. What I am trying to do: 1) have a "two colum…

---

## [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 …

---

## [How do you create a Fog of War effect?](https://forum.kirupa.com/t/how-do-you-create-a-fog-of-war-effect/319169)

<div class="topic-metadata">

**Author:** [@netnerd85](https://forum.kirupa.com/u/netnerd85)\
**Replies:** 0\
**Last updated:** [February 10, 2011, 7:09pm UTC](https://forum.kirupa.com/t/how-do-you-create-a-fog-of-war-effect/319169 "2011-02-10T19:09:04Z")

</div>

How do you create a Fog of War effect using ActionScript 3.0? The exact effect I would like is to have an overlay on a scene (or map) that is black but the opacity/alpha/transparency is 50%. The visible area around the p…

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

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