# programming

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

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

**Page:** 1206

---

## [Keyboard Input in AS3](https://forum.kirupa.com/t/keyboard-input-in-as3/262600)

<div class="topic-metadata">

**Author:** [@itbkris](https://forum.kirupa.com/u/itbkris)\
**Replies:** 2\
**Last updated:** [June 7, 2008, 4:09pm UTC](https://forum.kirupa.com/t/keyboard-input-in-as3/262600 "2008-06-07T16:09:57Z")

</div>

Is there a way to know when the printscreen key is pressed? I want to black out images when it is hit but it does not have a charCode. Any ideas? -Kris

---

## [Hmm. Not sure if this will make much sense but!](https://forum.kirupa.com/t/hmm-not-sure-if-this-will-make-much-sense-but/262180)

<div class="topic-metadata">

**Author:** [@Nectar](https://forum.kirupa.com/u/Nectar)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 3:26pm UTC](https://forum.kirupa.com/t/hmm-not-sure-if-this-will-make-much-sense-but/262180 "2008-06-07T15:26:14Z")

</div>

Alright. I'm wondering if there's anyway to create self-writing text like at http://designstudiofurniture.com/ without animating it myself.. not sure how to explain what I'm thinking though but like.. action scripting it…

---

## [Managed C](https://forum.kirupa.com/t/managed-c/262598)

<div class="topic-metadata">

**Author:** [@Torq](https://forum.kirupa.com/u/Torq)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 2:58pm UTC](https://forum.kirupa.com/t/managed-c/262598 "2008-06-07T14:58:13Z")

</div>

I seem to remember, before Flex, people attempting to use external C code to produce faster 3D apps with Flash 8. I can't remember what it was, but there was some functions to use lower level code. I think it was C. C…

---

## [photoFlow Flash and LightBox](https://forum.kirupa.com/t/photoflow-flash-and-lightbox/262590)

<div class="topic-metadata">

**Author:** [@cyber007](https://forum.kirupa.com/u/cyber007)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 11:07am UTC](https://forum.kirupa.com/t/photoflow-flash-and-lightbox/262590 "2008-06-07T11:07:29Z")

</div>

I am using photoFlow Flash component AS 2.0, now how can I integrated with LightBox to make interactive photo gallery? I get some reference from photoFlow Flash component AS 3.0 and LightBox but i don't understand that…

---

## [Collision detection in a game](https://forum.kirupa.com/t/collision-detection-in-a-game/262589)

<div class="topic-metadata">

**Author:** [@ilyas415](https://forum.kirupa.com/u/ilyas415)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 10:57am UTC](https://forum.kirupa.com/t/collision-detection-in-a-game/262589 "2008-06-07T10:57:19Z")

</div>

Hi guys. Need help with a small project im working on. Basically im trying to check for collisions succesfully and make the character move to a certain position when colliding with something. Link: http://truimagz.com/…

---

## [Restarting a movie clip problem](https://forum.kirupa.com/t/restarting-a-movie-clip-problem/262494)

<div class="topic-metadata">

**Author:** [@gloopy](https://forum.kirupa.com/u/gloopy)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 8:14am UTC](https://forum.kirupa.com/t/restarting-a-movie-clip-problem/262494 "2008-06-07T08:14:27Z")

</div>

I have a very simple movie that randomly places a movie clip: \*\*Frame 1:\*\* i=0; \*\*Frame 2:\*\* \_root.tile.duplicateMovieClip("tile"+i,i+1) \_root\["tile"+i\].\_x=Math.random()\*550+20; \_root\["tile"+i\].\_y=Math.random()\*320+…

---

## [Setting Boundaries](https://forum.kirupa.com/t/setting-boundaries/262498)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 8:07am UTC](https://forum.kirupa.com/t/setting-boundaries/262498 "2008-06-07T08:07:59Z")

</div>

Ok, I have a scrolling terrain and I put the scrolling code on the player. Heres the code: onClipEvent (load) { movespeed = 5; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { \_root.terrain.\_x -= movesp…

---

## [Loader object for FLV, SWF](https://forum.kirupa.com/t/loader-object-for-flv-swf/262581)

<div class="topic-metadata">

**Author:** [@mullwaden](https://forum.kirupa.com/u/mullwaden)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 7:37am UTC](https://forum.kirupa.com/t/loader-object-for-flv-swf/262581 "2008-06-07T07:37:08Z")

</div>

I'm trying to make a movie player of a sort that loads all the things in a folder and plays them one by one. This folder can contain images, flvs and swfs. Is this possible ? Anyone having some code or project lying arou…

---

## [How to align center the xml loaded images](https://forum.kirupa.com/t/how-to-align-center-the-xml-loaded-images/262579)

<div class="topic-metadata">

**Author:** [@Devendra\_Singh](https://forum.kirupa.com/u/Devendra_Singh)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 7:00am UTC](https://forum.kirupa.com/t/how-to-align-center-the-xml-loaded-images/262579 "2008-06-07T07:00:20Z")

</div>

Iam trying to find a solution to do something similar to what it mentioned below. I have a x number images of different size(width,height), which are loading dynamically from xml. so plz help me out that how can my a…

---

## [Netstream Seek Oddity](https://forum.kirupa.com/t/netstream-seek-oddity/262572)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 4:56am UTC](https://forum.kirupa.com/t/netstream-seek-oddity/262572 "2008-06-07T04:56:38Z")

</div>

Hi, I'm currently working on a video playing app, and all is fine, except for one odd bug. I have a standard seek drag bar. When the video is paused at start and I used that seek bar, the video will seek to the point…

---

## [Additional Conditions to Contact Form?](https://forum.kirupa.com/t/additional-conditions-to-contact-form/262564)

<div class="topic-metadata">

**Author:** [@mikeepic](https://forum.kirupa.com/u/mikeepic)\
**Replies:** 3\
**Last updated:** [June 7, 2008, 12:44am UTC](https://forum.kirupa.com/t/additional-conditions-to-contact-form/262564 "2008-06-07T00:44:32Z")

</div>

Hello. I have this contact form that I tweaked a few weeks back with the help of some fellow Kirupa member. Its worked fine thus far. I need to know how to insert additional "Conditions". I am completely in the dark with…

---

## [Vertical Scroll Bar missing in browser](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 11:12pm UTC](https://forum.kirupa.com/t/vertical-scroll-bar-missing-in-browser/262541 "2008-06-06T23:12:30Z")

</div>

I am trying to get my flash site to not scale/resize when the window is resized...but I also want it to stay centered on the page...the centering part I have figured out, and I also have the no scaling part figured out..…

---

## [Best Practices](https://forum.kirupa.com/t/best-practices/262559)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 9:49pm UTC](https://forum.kirupa.com/t/best-practices/262559 "2008-06-06T21:49:45Z")

</div>

So I'm building a website that entirely in Flash. Basically just trying to plan out my class structure as this is the first AS 3 class based website I'm creating. I have all my assets located inside my index.fla libra…

---

## [Displaying the mysql in flash](https://forum.kirupa.com/t/displaying-the-mysql-in-flash/261794)

<div class="topic-metadata">

**Author:** [@peredy](https://forum.kirupa.com/u/peredy)\
**Replies:** 11\
**Last updated:** [June 6, 2008, 9:31pm UTC](https://forum.kirupa.com/t/displaying-the-mysql-in-flash/261794 "2008-06-06T21:31:23Z")

</div>

I read the tutorial to do it all. I even adjusted all the coding to the best of my knowlege. But it doesnt like this line... var component = \_parent; and the as file was changed to where to call the php file, but tha…

---

## [Need to add a button to a tweened movie clip](https://forum.kirupa.com/t/need-to-add-a-button-to-a-tweened-movie-clip/262555)

<div class="topic-metadata">

**Author:** [@paulsyhand](https://forum.kirupa.com/u/paulsyhand)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 8:50pm UTC](https://forum.kirupa.com/t/need-to-add-a-button-to-a-tweened-movie-clip/262555 "2008-06-06T20:50:22Z")

</div>

Hello, I am kind of new at actionscript and I can't seem to figure out how to get a button to work when it is inside of a tweened movie clip. Here's the code... the object "face" contains the buttons. I tried to use…

---

## [Liquid Layout Troubleshoot](https://forum.kirupa.com/t/liquid-layout-troubleshoot/261532)

<div class="topic-metadata">

**Author:** [@Maive](https://forum.kirupa.com/u/Maive)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 8:23pm UTC](https://forum.kirupa.com/t/liquid-layout-troubleshoot/261532 "2008-06-06T20:23:55Z")

</div>

For those liquid layout experts: Do you know why the site comes out cropped when it's uploaded? This was applied to another site and it worked fine. I'm not sure if it has to do with the levels of where the layers ar…

---

## [Count Down Need your help](https://forum.kirupa.com/t/count-down-need-your-help/262503)

<div class="topic-metadata">

**Author:** [@Majumderit](https://forum.kirupa.com/u/Majumderit)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 8:07pm UTC](https://forum.kirupa.com/t/count-down-need-your-help/262503 "2008-06-06T20:07:27Z")

</div>

Hi i need a flash countdown where all the text field are seperate.could you help me to do it??? PLease

---

## [Variable Scope](https://forum.kirupa.com/t/variable-scope/262538)

<div class="topic-metadata">

**Author:** [@benny\_hill](https://forum.kirupa.com/u/benny_hill)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 7:58pm UTC](https://forum.kirupa.com/t/variable-scope/262538 "2008-06-06T19:58:12Z")

</div>

I have a map of the world. Each country is a movieclip with a class of "Country" linked to it. Now in the timeline I have a variable for a color. How can I access that variable which is on the timeline from the Countr…

---

## [getURL("javascript:close()"); wont work](https://forum.kirupa.com/t/geturl-javascript-close-wont-work/262537)

<div class="topic-metadata">

**Author:** [@magicmule](https://forum.kirupa.com/u/magicmule)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 7:55pm UTC](https://forum.kirupa.com/t/geturl-javascript-close-wont-work/262537 "2008-06-06T19:55:37Z")

</div>

I'm trying to apply this code to a "close" button on an swf within an html page. on (release) { getURL("javascript:close()"); } Any ideas on why it wont work. It doesnt do anything when pressing it. Is there an a…

---

## [Monoslide.com problem](https://forum.kirupa.com/t/monoslide-com-problem/262536)

<div class="topic-metadata">

**Author:** [@wdv](https://forum.kirupa.com/u/wdv)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 7:44pm UTC](https://forum.kirupa.com/t/monoslide-com-problem/262536 "2008-06-06T19:44:27Z")

</div>

Hey Guys!, I just purchased monoslide and I would like to load it into another swf. The manual says to use the code thats in the main timeline but it doesnt say what action to assign for the movie clip that loads …

---

## [Plz HELP! i need to move game pieces according to a dice roll](https://forum.kirupa.com/t/plz-help-i-need-to-move-game-pieces-according-to-a-dice-roll/262527)

<div class="topic-metadata">

**Author:** [@audios7ave](https://forum.kirupa.com/u/audios7ave)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 7:43pm UTC](https://forum.kirupa.com/t/plz-help-i-need-to-move-game-pieces-according-to-a-dice-roll/262527 "2008-06-06T19:43:45Z")

</div>

could any one help me I'm a beginner programmer and have a project to do in a class my project is to make a board game using flash MX...unfortunately I'm doing the game TROUBLE where you pop a die and move pieces accordi…

---

## [Hello! Help needed with specific BitmapData problem](https://forum.kirupa.com/t/hello-help-needed-with-specific-bitmapdata-problem/262535)

<div class="topic-metadata">

**Author:** [@TedMilk](https://forum.kirupa.com/u/TedMilk)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 7:31pm UTC](https://forum.kirupa.com/t/hello-help-needed-with-specific-bitmapdata-problem/262535 "2008-06-06T19:31:46Z")

</div>

Hi, this is my first post! I'll try and help people, but right now it is me that needs help. OK, so I'm making a game. I have three parallax layers for the background - the top two have transparency enabled and I'm co…

---

## [Help with an Array used to create a Back-Button](https://forum.kirupa.com/t/help-with-an-array-used-to-create-a-back-button/262532)

<div class="topic-metadata">

**Author:** [@bradleykal](https://forum.kirupa.com/u/bradleykal)\
**Replies:** 5\
**Last updated:** [June 6, 2008, 7:07pm UTC](https://forum.kirupa.com/t/help-with-an-array-used-to-create-a-back-button/262532 "2008-06-06T19:07:45Z")

</div>

Hi All, I'm at my wits end (again) with AS3. Been slowly learning it, but then bump into a problem that I spend hours puzzling over.... var i:Number = bbArray.length; bbArray\* returns undefined - don't know why?! O…

---

## [Buttons inside MovieClip](https://forum.kirupa.com/t/buttons-inside-movieclip/262511)

<div class="topic-metadata">

**Author:** [@ShawnMattCraw](https://forum.kirupa.com/u/ShawnMattCraw)\
**Replies:** 6\
**Last updated:** [June 6, 2008, 6:37pm UTC](https://forum.kirupa.com/t/buttons-inside-movieclip/262511 "2008-06-06T18:37:24Z")

</div>

I have a movie clip with five buttons inside that have named instances. Whenever I try to use stop(); // to stop the playhead at frame 1 power\_btn.addEventListener(MouseEvent.CLICK, doClick); function doClick(e:Mo…

---

## [Passing realtime data to web page via CSS](https://forum.kirupa.com/t/passing-realtime-data-to-web-page-via-css/262491)

<div class="topic-metadata">

**Author:** [@tecktalk](https://forum.kirupa.com/u/tecktalk)\
**Replies:** 5\
**Last updated:** [June 6, 2008, 6:19pm UTC](https://forum.kirupa.com/t/passing-realtime-data-to-web-page-via-css/262491 "2008-06-06T18:19:47Z")

</div>

I have a number of data points that I want to display on a web page. At the moment I use Imagemagick and place the data items on a base image and just display the image. the data gets updated every 5 minutes. Data is fo…

---

## [Tracing the url in AS2.0](https://forum.kirupa.com/t/tracing-the-url-in-as2-0/262502)

<div class="topic-metadata">

**Author:** [@midunlap](https://forum.kirupa.com/u/midunlap)\
**Replies:** 3\
**Last updated:** [June 6, 2008, 6:10pm UTC](https://forum.kirupa.com/t/tracing-the-url-in-as2-0/262502 "2008-06-06T18:10:35Z")

</div>

Greetings! I have an Actionscript 2.0 question for anyone out there. I working on a Flash quiz that will trace the users coming from a particular page on a website. If the user comes from that page then a link will not…

---

## [Loading an XML document using a relative file path](https://forum.kirupa.com/t/loading-an-xml-document-using-a-relative-file-path/262518)

<div class="topic-metadata">

**Author:** [@andrew\_surf](https://forum.kirupa.com/u/andrew_surf)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 6:06pm UTC](https://forum.kirupa.com/t/loading-an-xml-document-using-a-relative-file-path/262518 "2008-06-06T18:06:58Z")

</div>

Hi... I'm at my wits end with this, so any suggestions or advice would be great. I've created an flv video player that has playlist information added from an xml document. The swf player, video and xml doc are all loca…

---

## [Email Form does not send messages](https://forum.kirupa.com/t/email-form-does-not-send-messages/262186)

<div class="topic-metadata">

**Author:** [@pomolives](https://forum.kirupa.com/u/pomolives)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 6:03pm UTC](https://forum.kirupa.com/t/email-form-does-not-send-messages/262186 "2008-06-06T18:03:21Z")

</div>

The email form on my contact page isn't working. It has 3 input fields: name, email, message, and a \*\*send button; \*\*when clicked, the form should change to a "message sent" message and the send button changes to a "Bac…

---

## [URGENT HELP REQ: SWF with sound](https://forum.kirupa.com/t/urgent-help-req-swf-with-sound/262402)

<div class="topic-metadata">

**Author:** [@robthedesginer](https://forum.kirupa.com/u/robthedesginer)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 4:59pm UTC](https://forum.kirupa.com/t/urgent-help-req-swf-with-sound/262402 "2008-06-06T16:59:30Z")

</div>

hi guys after my previous post (which worked beautifully, by the way... and thanks!) i have now stumbled upon a new problem. in short, i have a multi-scene movie which i wanted a single soundtrack to run through. tha…

---

## [ComboBox Value concatenating instead of adding](https://forum.kirupa.com/t/combobox-value-concatenating-instead-of-adding/262517)

<div class="topic-metadata">

**Author:** [@nixon](https://forum.kirupa.com/u/nixon)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 4:34pm UTC](https://forum.kirupa.com/t/combobox-value-concatenating-instead-of-adding/262517 "2008-06-06T16:34:09Z")

</div>

I'm trying the add the data value of a selected combo box item (.35) to 1 using: var theFringe:Number = \_root.calc.fringe.getValue(); \_root.calc.fFringe.text = theFringe+1; Returns: .351 Is there a way to convert t…

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

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