# programming

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

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

**Page:** 342

---

## [Click to play](https://forum.kirupa.com/t/click-to-play/318548)

<div class="topic-metadata">

**Author:** [@Vauxwolf](https://forum.kirupa.com/u/Vauxwolf)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 7:25pm UTC](https://forum.kirupa.com/t/click-to-play/318548 "2011-01-23T19:25:51Z")

</div>

I'm currently working on a Point and click game. I want to play an animation mc of the character bending down to pick up items when the items are clicked on. I've got a the code on the pickable item frame but the anima…

---

## [Class Skins: An alternative to attaching classes from library?](https://forum.kirupa.com/t/class-skins-an-alternative-to-attaching-classes-from-library/318547)

<div class="topic-metadata">

**Author:** [@jvkirkwo](https://forum.kirupa.com/u/jvkirkwo)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 6:57pm UTC](https://forum.kirupa.com/t/class-skins-an-alternative-to-attaching-classes-from-library/318547 "2011-01-23T18:57:01Z")

</div>

I don't like attaching classes from the library. Maybe it's because it makes it easier to lose track of all the classes in a flash project or maybe it's because with the advancement with AS3, it seems almost silly that y…

---

## [Gettin Funky With Functions](https://forum.kirupa.com/t/gettin-funky-with-functions/318542)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 2:34pm UTC](https://forum.kirupa.com/t/gettin-funky-with-functions/318542 "2011-01-23T14:34:05Z")

</div>

Hey Gents, what is correct way to return data from multiple arrays out of a parse function and into an object so I can get to it globally? I tried a return objData at the end of the parse but only gives me the last one..…

---

## [iPad dev with Flash, pointers, experiences HELP](https://forum.kirupa.com/t/ipad-dev-with-flash-pointers-experiences-help/318539)

<div class="topic-metadata">

**Author:** [@Terraform](https://forum.kirupa.com/u/Terraform)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 12:12pm UTC](https://forum.kirupa.com/t/ipad-dev-with-flash-pointers-experiences-help/318539 "2011-01-23T12:12:53Z")

</div>

Hello everyone, I need a very simple app for my iPad for a presentation that I am partaking in. I am most familiar with Flash and am in no way a coding expert. The app I have in mind could easily be done in Flash a…

---

## [How to SHRINK final Dimensions of SWF w/ SWFobject / CS5](https://forum.kirupa.com/t/how-to-shrink-final-dimensions-of-swf-w-swfobject-cs5/318538)

<div class="topic-metadata">

**Author:** [@Terraform](https://forum.kirupa.com/u/Terraform)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 11:53am UTC](https://forum.kirupa.com/t/how-to-shrink-final-dimensions-of-swf-w-swfobject-cs5/318538 "2011-01-23T11:53:43Z")

</div>

Hey all, I think I have a simple enough question but maybe not. I have a final published movie of 1024x768 it is pretty much all set. BUT when I look at it on some laptops it is just too big and looks awful. I woul…

---

## [AS3 Var Scope](https://forum.kirupa.com/t/as3-var-scope/318533)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 5:19am UTC](https://forum.kirupa.com/t/as3-var-scope/318533 "2011-01-23T05:19:55Z")

</div>

Hey Friends, If I set a var outside a function, the code in that function would still see it, right? Should code like this work? I am trying to get code set in a function to be visible globally... var myArray:Arr…

---

## [Simple Score/Timer Error](https://forum.kirupa.com/t/simple-score-timer-error/318529)

<div class="topic-metadata">

**Author:** [@pattyx01](https://forum.kirupa.com/u/pattyx01)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 1:19am UTC](https://forum.kirupa.com/t/simple-score-timer-error/318529 "2011-01-23T01:19:27Z")

</div>

I've used flash for websites, but never for games. I'm an illustrator not a developer so I know my script is messed up somewhere. The simple concept of the game is to blow out all the candles on the cake. The timer works…

---

## [Multiple air instances/windows](https://forum.kirupa.com/t/multiple-air-instances-windows/318528)

<div class="topic-metadata">

**Author:** [@carldufourm](https://forum.kirupa.com/u/carldufourm)\
**Replies:** 0\
**Last updated:** [January 23, 2011, 12:04am UTC](https://forum.kirupa.com/t/multiple-air-instances-windows/318528 "2011-01-23T00:04:37Z")

</div>

I've done an Air app and now I realize I need to run two instances of it at the same time. I've searched the web and first it seemed that it was impossible, but I've found something about the invoke event. Pretty much al…

---

## [Question: retrieving returned values](https://forum.kirupa.com/t/question-retrieving-returned-values/318526)

<div class="topic-metadata">

**Author:** [@lkingman](https://forum.kirupa.com/u/lkingman)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 10:04pm UTC](https://forum.kirupa.com/t/question-retrieving-returned-values/318526 "2011-01-22T22:04:14Z")

</div>

I'm able to get my class to return an object, but not it's contents. I get back "\[object return\]" or "\[class return\]". How do I get the contents of the object, for example the string or numeric or boolean value? Th…

---

## [Making a MC Class clickable](https://forum.kirupa.com/t/making-a-mc-class-clickable/318525)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 9:47pm UTC](https://forum.kirupa.com/t/making-a-mc-class-clickable/318525 "2011-01-22T21:47:28Z")

</div>

In AS2 I could just do onRelease() inside the class, and all the movies would be clickable, if the class extended a MC. This is my AS3 code, not sure why it won't work. It's like nearly impossible to Google, spent like…

---

## [URLLoader or FlashPlayer caches loaded pages](https://forum.kirupa.com/t/urlloader-or-flashplayer-caches-loaded-pages/318524)

<div class="topic-metadata">

**Author:** [@M77](https://forum.kirupa.com/u/M77)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 9:30pm UTC](https://forum.kirupa.com/t/urlloader-or-flashplayer-caches-loaded-pages/318524 "2011-01-22T21:30:11Z")

</div>

for each load i create another URLLoader instance seems it's FlashPlayer flashplayer\_10\_sa\_debug.exe caches once loaded page i check the page i reload with browser - it returns the updated version and after this check Fl…

---

## [Millisecond Stop Watch](https://forum.kirupa.com/t/millisecond-stop-watch/318522)

<div class="topic-metadata">

**Author:** [@mastaojo](https://forum.kirupa.com/u/mastaojo)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 7:13pm UTC](https://forum.kirupa.com/t/millisecond-stop-watch/318522 "2011-01-22T19:13:08Z")

</div>

I am hoping this isn't too hard but I am having trouble with a simple get time function. I need to have the code to get and display the current time in a textbox, but also be able to control the time with a start and st…

---

## [getCamera not working over internet](https://forum.kirupa.com/t/getcamera-not-working-over-internet/318519)

<div class="topic-metadata">

**Author:** [@jac4b](https://forum.kirupa.com/u/jac4b)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 6:14pm UTC](https://forum.kirupa.com/t/getcamera-not-working-over-internet/318519 "2011-01-22T18:14:44Z")

</div>

does anyone know why getCamera would work perfectly locally but not if i upload it and open it through a browser?

---

## [What font does youtube video player use?](https://forum.kirupa.com/t/what-font-does-youtube-video-player-use/318518)

<div class="topic-metadata">

**Author:** [@tsd](https://forum.kirupa.com/u/tsd)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 4:16pm UTC](https://forum.kirupa.com/t/what-font-does-youtube-video-player-use/318518 "2011-01-22T16:16:24Z")

</div>

What font does youtube (in the video player) use?

---

## [Hiding the "Next" Button AS3](https://forum.kirupa.com/t/hiding-the-next-button-as3/318517)

<div class="topic-metadata">

**Author:** [@kirkyman0\_1](https://forum.kirupa.com/u/kirkyman0_1)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 4:13pm UTC](https://forum.kirupa.com/t/hiding-the-next-button-as3/318517 "2011-01-22T16:13:11Z")

</div>

Hi Apologies if this has been discussed before. I have a small microsite built using Flash 4. It contains 5 'pages' assigned to individual keyframes, each keyframe separated by 5 frames (F5s). I have a navigation bar f…

---

## [Collision and Reflection problem](https://forum.kirupa.com/t/collision-and-reflection-problem/318516)

<div class="topic-metadata">

**Author:** [@Litchi](https://forum.kirupa.com/u/Litchi)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 2:24pm UTC](https://forum.kirupa.com/t/collision-and-reflection-problem/318516 "2011-01-22T14:24:17Z")

</div>

Hi, first of all I want to say sorry if this problem has already been solved for someone else, I didn't find it with search function. Then, I want to say I'm a beginner with flash and object development ( yep, parents do…

---

## [PnC help needed](https://forum.kirupa.com/t/pnc-help-needed/318515)

<div class="topic-metadata">

**Author:** [@Vauxwolf](https://forum.kirupa.com/u/Vauxwolf)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 2:02pm UTC](https://forum.kirupa.com/t/pnc-help-needed/318515 "2011-01-22T14:02:04Z")

</div>

Hi all, I'm in need of some help to make a point and click game, I need to know: 1.How to move the character with a mouse. I currently am using keyboard keys, it only needs to move along the X axis, the other thing was…

---

## [Porting RPG Tile Tutorial AS1 to AS3](https://forum.kirupa.com/t/porting-rpg-tile-tutorial-as1-to-as3/318511)

<div class="topic-metadata">

**Author:** [@selacius](https://forum.kirupa.com/u/selacius)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 5:22am UTC](https://forum.kirupa.com/t/porting-rpg-tile-tutorial-as1-to-as3/318511 "2011-01-22T05:22:34Z")

</div>

I am trying to convert the rpg tile tutorial from Seifertim and from another website (http://www.tonypa.pri.ee/tbw/start.html) from AS1 to AS3 as I believe AS3 is the way to go. I have no prior experience with Flash, how…

---

## [How do I use this class in Flash](https://forum.kirupa.com/t/how-do-i-use-this-class-in-flash/318509)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 3:09am UTC](https://forum.kirupa.com/t/how-do-i-use-this-class-in-flash/318509 "2011-01-22T03:09:06Z")

</div>

I want to try this but dont know what to do to set it up. Im sure for the experts in easy. http://www.flashblog.co.uk/actionscript-basics-reading-xml-tutorial/

---

## [AS3 Parallax removal on other frame labels that are not meant to scroll - Help please](https://forum.kirupa.com/t/as3-parallax-removal-on-other-frame-labels-that-are-not-meant-to-scroll-help-please/318508)

<div class="topic-metadata">

**Author:** [@sweetkanani1](https://forum.kirupa.com/u/sweetkanani1)\
**Replies:** 0\
**Last updated:** [January 22, 2011, 12:35am UTC](https://forum.kirupa.com/t/as3-parallax-removal-on-other-frame-labels-that-are-not-meant-to-scroll-help-please/318508 "2011-01-22T00:35:49Z")

</div>

\[FONT=Georgia\]Hi ya, Would anyone be able to offer me some support with a problem I am experiencing with AS3 Parallax scroller? I have some frame labels set up not to have any scroll effect.. But when I remove the fr…

---

## [TextField and KeyboardEvent leaving \\n character](https://forum.kirupa.com/t/textfield-and-keyboardevent-leaving-n-character/318506)

<div class="topic-metadata">

**Author:** [@dadrew1](https://forum.kirupa.com/u/dadrew1)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 10:52pm UTC](https://forum.kirupa.com/t/textfield-and-keyboardevent-leaving-n-character/318506 "2011-01-21T22:52:46Z")

</div>

Hey everyone! Having a problem with my program - I have a textfield where a user inputs an answer to a question, then presses a button or presses the enter key to submit the answer. Code checks it, if it works good, if…

---

## [Save into Database while shows a customized preview](https://forum.kirupa.com/t/save-into-database-while-shows-a-customized-preview/318505)

<div class="topic-metadata">

**Author:** [@aman1985](https://forum.kirupa.com/u/aman1985)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 10:26pm UTC](https://forum.kirupa.com/t/save-into-database-while-shows-a-customized-preview/318505 "2011-01-21T22:26:09Z")

</div>

Hello, I am having a company here with foreign retailing. I have to ship packages abroad. Due to workload I cannot remember what parcels I have sent. I had a script which I used to print Labels to print. But now, wh…

---

## [Proportional Image Resizing](https://forum.kirupa.com/t/proportional-image-resizing/318502)

<div class="topic-metadata">

**Author:** [@jacktorrance\_1](https://forum.kirupa.com/u/jacktorrance_1)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 6:27pm UTC](https://forum.kirupa.com/t/proportional-image-resizing/318502 "2011-01-21T18:27:50Z")

</div>

Hi All, I'm relatively new to AS3.0 and Flash in general but I have made enough progress to establish a site with an xml image gallery. I would like each image in the xml gallery to be sized depending upon the stage …

---

## [Image dimension on client machine](https://forum.kirupa.com/t/image-dimension-on-client-machine/318500)

<div class="topic-metadata">

**Author:** [@BDore](https://forum.kirupa.com/u/BDore)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 6:22pm UTC](https://forum.kirupa.com/t/image-dimension-on-client-machine/318500 "2011-01-21T18:22:42Z")

</div>

Hi guys, been a while away from the forum and flash. But now I'm working on a project that demands a file upload for images. The guys over at development decided to use flash for this but they are not very proficient o…

---

## [Packager for iPhone](https://forum.kirupa.com/t/packager-for-iphone/318498)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 4:41pm UTC](https://forum.kirupa.com/t/packager-for-iphone/318498 "2011-01-21T16:41:21Z")

</div>

Hi I am trying to build a flash app for iphone. I did some simple things like form submission but I want more \[smile\] Do anybody know any tutorial for multiple gestures events? or anything specificly related to Flash…

---

## [Robot passing object to another robot](https://forum.kirupa.com/t/robot-passing-object-to-another-robot/318495)

<div class="topic-metadata">

**Author:** [@sb9014](https://forum.kirupa.com/u/sb9014)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 2:21pm UTC](https://forum.kirupa.com/t/robot-passing-object-to-another-robot/318495 "2011-01-21T14:21:55Z")

</div>

Guys, I'm trying to work out a better way of doing this animation, can you help? Flash CS5 AS3 I'm working on a project where I need to animate multiple robots picking up parts and dropping them. I've attached a quic…

---

## [AS3/XML: Image scroller: looping question - help needed](https://forum.kirupa.com/t/as3-xml-image-scroller-looping-question-help-needed/318494)

<div class="topic-metadata">

**Author:** [@stadi0](https://forum.kirupa.com/u/stadi0)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 2:10pm UTC](https://forum.kirupa.com/t/as3-xml-image-scroller-looping-question-help-needed/318494 "2011-01-21T14:10:49Z")

</div>

I have begun making a horizontal image scroller. The scroller loads external data and images via xml; all of which is displayed then scrolled right and left using two self-made buttons. With what I have already, is there…

---

## [Basic Game Help needed!](https://forum.kirupa.com/t/basic-game-help-needed/318493)

<div class="topic-metadata">

**Author:** [@TheRake](https://forum.kirupa.com/u/TheRake)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 1:45pm UTC](https://forum.kirupa.com/t/basic-game-help-needed/318493 "2011-01-21T13:45:16Z")

</div>

I have to do a small flash game for uni. I have thought of on the left having a soldier that you control, moving only up or down via UP and DOWN. He shoots enemies that randomly run at him from the right hand side. As …

---

## [No idea how to build a flash radio player \>\_\<](https://forum.kirupa.com/t/no-idea-how-to-build-a-flash-radio-player--/318492)

<div class="topic-metadata">

**Author:** [@DizzyVix](https://forum.kirupa.com/u/DizzyVix)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 1:01pm UTC](https://forum.kirupa.com/t/no-idea-how-to-build-a-flash-radio-player--/318492 "2011-01-21T13:01:04Z")

</div>

\[FONT=Calibri\] Please can someone help me – I have been trying to find a tutorial or instructions on how to create a small flash radio player that will stream an online radio station using an icecast hoster. \[/FONT\] \[…

---

## [Simple AS3 XML question](https://forum.kirupa.com/t/simple-as3-xml-question/318490)

<div class="topic-metadata">

**Author:** [@evissy](https://forum.kirupa.com/u/evissy)\
**Replies:** 0\
**Last updated:** [January 21, 2011, 12:31pm UTC](https://forum.kirupa.com/t/simple-as3-xml-question/318490 "2011-01-21T12:31:19Z")

</div>

Hello, I'm novice what comes to xml. I'm more into visual side of Flash. As the title says I have a simple question related to the tutorial from kirupa.com \[http://www.kirupa.com/web/xml/examples/simpleeditor.htm\](S…

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

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