# programming

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

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

**Page:** 893

---

## [Tweening and easing a mc onto stage on enter](https://forum.kirupa.com/t/tweening-and-easing-a-mc-onto-stage-on-enter/283578)

<div class="topic-metadata">

**Author:** [@Poul](https://forum.kirupa.com/u/Poul)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 2:25pm UTC](https://forum.kirupa.com/t/tweening-and-easing-a-mc-onto-stage-on-enter/283578 "2009-03-08T14:25:29Z")

</div>

Im trying to load a movie clip onto the stage as soon as you enter the main movie. I want to use action script to tween with a little ease in and out. I found a usefull tutorial that almost does what Im looking for, but …

---

## [Adding volume control to Simple Viewer-Pro gallery](https://forum.kirupa.com/t/adding-volume-control-to-simple-viewer-pro-gallery/283577)

<div class="topic-metadata">

**Author:** [@Nancye50](https://forum.kirupa.com/u/Nancye50)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 2:00pm UTC](https://forum.kirupa.com/t/adding-volume-control-to-simple-viewer-pro-gallery/283577 "2009-03-08T14:00:04Z")

</div>

I'm a complete Flash novice and am trying to add volume control and/or on/off controls to a Simple Viewer-Pro photo gallery. Is this an involved task or something I could tackle? Thanks for your help! Nancy

---

## [Add movieclip class](https://forum.kirupa.com/t/add-movieclip-class/283576)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 1:43pm UTC](https://forum.kirupa.com/t/add-movieclip-class/283576 "2009-03-08T13:43:43Z")

</div>

Hi, I want to write a class that adds a movieclip to the stage, I need to pass the movieclip class to be added, a variable name, delay time, x position, y position, parent. I would like to add it like this addMyIma…

---

## [Loading an external SWF and going to specific coordinates](https://forum.kirupa.com/t/loading-an-external-swf-and-going-to-specific-coordinates/283574)

<div class="topic-metadata">

**Author:** [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 1:12pm UTC](https://forum.kirupa.com/t/loading-an-external-swf-and-going-to-specific-coordinates/283574 "2009-03-08T13:12:48Z")

</div>

Hi guys I have menu.swf which loads an external SWF (longmenu.swf) (I attach an image to explain better) longmenu.swf has a long background on stage, which scrolls according to what the user clicks. It works fine on…

---

## [How to communicate between loaded swf and parent swf](https://forum.kirupa.com/t/how-to-communicate-between-loaded-swf-and-parent-swf/283573)

<div class="topic-metadata">

**Author:** [@Wouke](https://forum.kirupa.com/u/Wouke)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 11:49am UTC](https://forum.kirupa.com/t/how-to-communicate-between-loaded-swf-and-parent-swf/283573 "2009-03-08T11:49:57Z")

</div>

Hi guys, I started learning the basics of as3.0 a year ago by doing a lot of experiments.. I never read a book or took lessons or something.. I guess i'm still missing important logics when i'm programming. I'm creatin…

---

## [How to wait until user respond and then continue process?](https://forum.kirupa.com/t/how-to-wait-until-user-respond-and-then-continue-process/283572)

<div class="topic-metadata">

**Author:** [@cpthk](https://forum.kirupa.com/u/cpthk)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 8:35am UTC](https://forum.kirupa.com/t/how-to-wait-until-user-respond-and-then-continue-process/283572 "2009-03-08T08:35:37Z")

</div>

If I have code: Alert.show('Please respond'); request.send(); In this code, flex will pop alert to screen and immediately send out the request. How do I wait until user clicks ok on the alert and then send out the …

---

## [\[as2\] Keycode issue with play and pause toggle, please help](https://forum.kirupa.com/t/as2-keycode-issue-with-play-and-pause-toggle-please-help/283564)

<div class="topic-metadata">

**Author:** [@petra825](https://forum.kirupa.com/u/petra825)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 5:05am UTC](https://forum.kirupa.com/t/as2-keycode-issue-with-play-and-pause-toggle-please-help/283564 "2009-03-08T05:05:44Z")

</div>

Hi, I am trying to use the letter x to stop and play my movie, I got it to sucessfully stop but I am having trouble restarting it, can anyone please help me. this is what i have so far: keyListener = new Object(); …

---

## [Update Flash to play Pre-roll video](https://forum.kirupa.com/t/update-flash-to-play-pre-roll-video/283563)

<div class="topic-metadata">

**Author:** [@chame111](https://forum.kirupa.com/u/chame111)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 3:04am UTC](https://forum.kirupa.com/t/update-flash-to-play-pre-roll-video/283563 "2009-03-08T03:04:16Z")

</div>

Help!! I am completely lost...I need to update a customized flash player to play a pre-roll video such as an AD before it plays the main video and I haven't a clue. I thought it would be similar to the way the "postroll…

---

## [\[AS2\] Dragging with limits to where you can drag?](https://forum.kirupa.com/t/as2-dragging-with-limits-to-where-you-can-drag/283562)

<div class="topic-metadata">

**Author:** [@Lurker](https://forum.kirupa.com/u/Lurker)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 2:27am UTC](https://forum.kirupa.com/t/as2-dragging-with-limits-to-where-you-can-drag/283562 "2009-03-08T02:27:55Z")

</div>

I'm attempting to create something where you can imitate scrolling. Basically, it's similar to the custom scrollbar tutorial on the main site, but you drag the content movieclip instead of a button. In the startDrag() fu…

---

## [Datagrid AS3 Binding problems](https://forum.kirupa.com/t/datagrid-as3-binding-problems/283560)

<div class="topic-metadata">

**Author:** [@isdito](https://forum.kirupa.com/u/isdito)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 1:35am UTC](https://forum.kirupa.com/t/datagrid-as3-binding-problems/283560 "2009-03-08T01:35:35Z")

</div>

Hello and good night. My problem is that I have to datagrid one full of data and another empty, if I copy elements go well, with drag and drop Global.vars.Drag\_elements=new DataProvider(e.target.selectedItems) The …

---

## [AS 3: can a child call a function in its parent](https://forum.kirupa.com/t/as-3-can-a-child-call-a-function-in-its-parent/283554)

<div class="topic-metadata">

**Author:** [@eforblue](https://forum.kirupa.com/u/eforblue)\
**Replies:** 0\
**Last updated:** [March 8, 2009, 12:05am UTC](https://forum.kirupa.com/t/as-3-can-a-child-call-a-function-in-its-parent/283554 "2009-03-08T00:05:30Z")

</div>

Hi: I have a function (let's call it testFunction for right now ) on the actions layer in the main timeline There is a movie clip with 15 frames long in the library i want to add a child of the movie clip on the stag…

---

## [Bounding box onclick on a movieclip](https://forum.kirupa.com/t/bounding-box-onclick-on-a-movieclip/283546)

<div class="topic-metadata">

**Author:** [@geck0](https://forum.kirupa.com/u/geck0)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 9:03pm UTC](https://forum.kirupa.com/t/bounding-box-onclick-on-a-movieclip/283546 "2009-03-07T21:03:32Z")

</div>

Anyone know of a method whereby when i click on a movieclip on my stage i can create a bounding box which will allow me to click on any corner and re size the box manually......?

---

## [My preloader works locally, but not on a server](https://forum.kirupa.com/t/my-preloader-works-locally-but-not-on-a-server/283544)

<div class="topic-metadata">

**Author:** [@MFoller](https://forum.kirupa.com/u/MFoller)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 8:57pm UTC](https://forum.kirupa.com/t/my-preloader-works-locally-but-not-on-a-server/283544 "2009-03-07T20:57:18Z")

</div>

Hi everyone, I'm new here and here goes with my first post: I'm working on a website (www.fworks.dk - don't think the flash file can be seen in FF yet) and I want to load an swf-file with some illustrations and such. A…

---

## [Preloading Images from database](https://forum.kirupa.com/t/preloading-images-from-database/283543)

<div class="topic-metadata">

**Author:** [@fry17](https://forum.kirupa.com/u/fry17)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 8:42pm UTC](https://forum.kirupa.com/t/preloading-images-from-database/283543 "2009-03-07T20:42:22Z")

</div>

Hello all, I have a small problem with preloading images from a database. Basically i have a folder on my server called 'work', i have a database in which when i add a new project a folder is created on the server in…

---

## [3d menu (list component wrapped around horizontal cylinder)](https://forum.kirupa.com/t/3d-menu-list-component-wrapped-around-horizontal-cylinder/283540)

<div class="topic-metadata">

**Author:** [@tripaz](https://forum.kirupa.com/u/tripaz)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 6:52pm UTC](https://forum.kirupa.com/t/3d-menu-list-component-wrapped-around-horizontal-cylinder/283540 "2009-03-07T18:52:39Z")

</div>

hi, I am stuck trying to create a vertical 3d menu that acts a bit like a 3d carousel. Basically it would be like the list component wrapped around a horizontal cylinder. Minus the scrollbar but with a down and up …

---

## [Switching from one movieclip to another](https://forum.kirupa.com/t/switching-from-one-movieclip-to-another/283534)

<div class="topic-metadata">

**Author:** [@freshrod](https://forum.kirupa.com/u/freshrod)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 5:39pm UTC](https://forum.kirupa.com/t/switching-from-one-movieclip-to-another/283534 "2009-03-07T17:39:46Z")

</div>

Greetings I am trying to do something that, for all I know, should be pretty easy. Except.... What should happen is that when the swf plays it plays through one movieclip, then, on the last frame, switches to another m…

---

## [Keyboard Listener won't listen?](https://forum.kirupa.com/t/keyboard-listener-wont-listen/283531)

<div class="topic-metadata">

**Author:** [@relinquished](https://forum.kirupa.com/u/relinquished)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 4:29pm UTC](https://forum.kirupa.com/t/keyboard-listener-wont-listen/283531 "2009-03-07T16:29:25Z")

</div>

Hello, I'm having a bit of trouble with the keyboardEvent.KEY\_DOWN event listener. I'm not getting any errors, flash seems to be just ignoring that listener altogether. I'll paste my code below, if anyone could help, t…

---

## [External Loading of swf and watching behind the scenes](https://forum.kirupa.com/t/external-loading-of-swf-and-watching-behind-the-scenes/283528)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 3:25pm UTC](https://forum.kirupa.com/t/external-loading-of-swf-and-watching-behind-the-scenes/283528 "2009-03-07T15:25:19Z")

</div>

I'm currently working on a portfolio site, which, among other things, loads external swf files into the stage. The problem starts when I load a 400x300 swf file into the stage, which is 900x800. The result is that I g…

---

## [Multiple key press](https://forum.kirupa.com/t/multiple-key-press/283527)

<div class="topic-metadata">

**Author:** [@sam\_vickery](https://forum.kirupa.com/u/sam_vickery)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 2:21pm UTC](https://forum.kirupa.com/t/multiple-key-press/283527 "2009-03-07T14:21:31Z")

</div>

I have made a game where you move a tank with the arrow keys move the main turret with the wasd keys shoot the main turret with the space bar move a machine gun turret with the mouse and shoot that with the mouse click. …

---

## [ROLL\_OUT and MOUSE\_OUT triggering incorrectly](https://forum.kirupa.com/t/roll-out-and-mouse-out-triggering-incorrectly/283526)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 2:12pm UTC](https://forum.kirupa.com/t/roll-out-and-mouse-out-triggering-incorrectly/283526 "2009-03-07T14:12:42Z")

</div>

Hey! I am having a rather annoying problem!! Basically my code is triggering the event when it definitely should not be... Here is my layout: Node container - holds all my Sprites and has a MOUSE\_OVER (\<works fine) and…

---

## [TypeError. Trying to create a Class with an Array of Objects](https://forum.kirupa.com/t/typeerror-trying-to-create-a-class-with-an-array-of-objects/283523)

<div class="topic-metadata">

**Author:** [@Wurzagg](https://forum.kirupa.com/u/Wurzagg)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 11:14am UTC](https://forum.kirupa.com/t/typeerror-trying-to-create-a-class-with-an-array-of-objects/283523 "2009-03-07T11:14:19Z")

</div>

I've been trying to create an Array of Objects in a Class structure, for easy access of the objects from other classes and my .fla file. Unfortunately I keep running into this error: "TypeError: Error #1034: Type Coerc…

---

## [SWF not working if moved](https://forum.kirupa.com/t/swf-not-working-if-moved/283518)

<div class="topic-metadata">

**Author:** [@manojanand](https://forum.kirupa.com/u/manojanand)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 7:28am UTC](https://forum.kirupa.com/t/swf-not-working-if-moved/283518 "2009-03-07T07:28:19Z")

</div>

Hi guys! I have a small SWF that works if I run it in FlashDevelop or when I run it (by double clicking) it from the bin folder. Now, if I move the bin folder anywhere else, and then double click on the SWF, it runs, b…

---

## [\[Flash8\]for loop question](https://forum.kirupa.com/t/flash8-for-loop-question/283517)

<div class="topic-metadata">

**Author:** [@asoako](https://forum.kirupa.com/u/asoako)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 6:15am UTC](https://forum.kirupa.com/t/flash8-for-loop-question/283517 "2009-03-07T06:15:49Z")

</div>

Please help \[frowning\] Really want to know the script for this one. How to loop this script: here is the basic script of tiles: game.Tile0 = function(){ }; game.Tile0.\_prototype.\_\_proto = game.TileClass.prototype; gam…

---

## [Cross Domain Policy fun](https://forum.kirupa.com/t/cross-domain-policy-fun/283516)

<div class="topic-metadata">

**Author:** [@mullwaden](https://forum.kirupa.com/u/mullwaden)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 5:16am UTC](https://forum.kirupa.com/t/cross-domain-policy-fun/283516 "2009-03-07T05:16:03Z")

</div>

So I'm having some problems with Flex3 and sandbox security stuff. I'm running a java applet on my computer (so I'm connecting to "127.0.0.1" , no http) and doing some stuff with xml sockets. I know I'm supposed to cr…

---

## [PHP Tutorials](https://forum.kirupa.com/t/php-tutorials/283514)

<div class="topic-metadata">

**Author:** [@psychtaygar](https://forum.kirupa.com/u/psychtaygar)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 5:01am UTC](https://forum.kirupa.com/t/php-tutorials/283514 "2009-03-07T05:01:27Z")

</div>

Does anyone know of any websites that could help a beginner learn PHP? I already know HTML and have a mysql server to test my php pages. I just need to know how to code in php now-- All I know about PHP at the moment i…

---

## [Fluids: I need some serious inspiration](https://forum.kirupa.com/t/fluids-i-need-some-serious-inspiration/283512)

<div class="topic-metadata">

**Author:** [@Tychoruniko](https://forum.kirupa.com/u/Tychoruniko)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 3:46am UTC](https://forum.kirupa.com/t/fluids-i-need-some-serious-inspiration/283512 "2009-03-07T03:46:50Z")

</div>

I am in the midst of designing a little web toy for people to play with, mostly as a proof-of-concept for a bigger game. But there is one thing missing that I am having serious trouble finding any tutorials, inspiration …

---

## [Simulated panel size different than actual size](https://forum.kirupa.com/t/simulated-panel-size-different-than-actual-size/283511)

<div class="topic-metadata">

**Author:** [@cpthk](https://forum.kirupa.com/u/cpthk)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 2:32am UTC](https://forum.kirupa.com/t/simulated-panel-size-different-than-actual-size/283511 "2009-03-07T02:32:35Z")

</div>

I arrange all my panels side by side by using the design view in flex builder. But when I actually run it. One panel will actually be slightly taller than what I see in flex builder and overlap aother panel. I tried to r…

---

## [Possibly stupid question](https://forum.kirupa.com/t/possibly-stupid-question/283508)

<div class="topic-metadata">

**Author:** [@preciousroy](https://forum.kirupa.com/u/preciousroy)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:39am UTC](https://forum.kirupa.com/t/possibly-stupid-question/283508 "2009-03-07T00:39:28Z")

</div>

I'm trying to add sound to some buttons. It's just a little metallic 'klink' sound that plays on rollover. I only want the sound to play on the 'Over' state. So I've set up a layer (just for sound) for the button and I…

---

## [How to add print function to a coloring book?](https://forum.kirupa.com/t/how-to-add-print-function-to-a-coloring-book/283506)

<div class="topic-metadata">

**Author:** [@scorpiox](https://forum.kirupa.com/u/scorpiox)\
**Replies:** 0\
**Last updated:** [March 7, 2009, 12:01am UTC](https://forum.kirupa.com/t/how-to-add-print-function-to-a-coloring-book/283506 "2009-03-07T00:01:15Z")

</div>

How can i add a print function to a particular page for a coloring book?

---

## [Problem typing the @ with Alt GR +2, just works in IE](https://forum.kirupa.com/t/problem-typing-the-with-alt-gr-2-just-works-in-ie/283503)

<div class="topic-metadata">

**Author:** [@wasko74](https://forum.kirupa.com/u/wasko74)\
**Replies:** 0\
**Last updated:** [March 6, 2009, 11:29pm UTC](https://forum.kirupa.com/t/problem-typing-the-with-alt-gr-2-just-works-in-ie/283503 "2009-03-06T23:29:03Z")

</div>

I have been developing a site with a form in flash using external swf's. In my keyboard (set to portuguese language) to type the @ I must do Alt GR + 2, but in this form, this only works on IE. In the other browsers I mu…

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

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