# programming

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

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

**Page:** 287

---

## [Tutorial: JavaScript Events](https://forum.kirupa.com/t/tutorial-javascript-events/321740)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 5:33am UTC](https://forum.kirupa.com/t/tutorial-javascript-events/321740 "2011-04-29T05:33:53Z")

</div>

Hi everyone, This is the place to discuss anything regarding the JavaScript Events tutorial \[smile\] Cheers, Kirupa :hugegrin:

---

## [Semi Automatic Shrink Wrapper - China Semi Automat](https://forum.kirupa.com/t/semi-automatic-shrink-wrapper-china-semi-automat/321738)

<div class="topic-metadata">

**Author:** [@fsgfsgfsvg7](https://forum.kirupa.com/u/fsgfsgfsvg7)\
**Replies:** 0\
**Last updated:** [April 29, 2011, 3:46am UTC](https://forum.kirupa.com/t/semi-automatic-shrink-wrapper-china-semi-automat/321738 "2011-04-29T03:46:17Z")

</div>

Application:Semi-Automatic Shrink Wrappers ( "L" sealers) manually feed items in to the machine to pressure seal a tight film over retail and food products. These shink wrapping machines are designed for medium to high v…

---

## [2 buttons (2 movies), 1 movie clip - how do I EMPTY the clip from one to the other?](https://forum.kirupa.com/t/2-buttons-2-movies-1-movie-clip-how-do-i-empty-the-clip-from-one-to-the-other/321734)

<div class="topic-metadata">

**Author:** [@O\_Tamandua](https://forum.kirupa.com/u/O_Tamandua)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 10:00pm UTC](https://forum.kirupa.com/t/2-buttons-2-movies-1-movie-clip-how-do-i-empty-the-clip-from-one-to-the-other/321734 "2011-04-28T22:00:56Z")

</div>

(Whoops - ALMOST solved - one last issue below!) Hi all, I’ve got two buttons, one shared movie clip. The two buttons each load two different movies. All I want to do is TOTALLY CLEAR OUT whatever movie is loaded from …

---

## [Color transform](https://forum.kirupa.com/t/color-transform/321732)

<div class="topic-metadata">

**Author:** [@heiny99](https://forum.kirupa.com/u/heiny99)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 8:53pm UTC](https://forum.kirupa.com/t/color-transform/321732 "2011-04-28T20:53:01Z")

</div>

The easiest way to explain this: Say I have a video tutorial. This tutorial is one MovieClip we'll call oneMC (with text, movieclips, and sprites within it). I have a color picker that allows the viewer to change the…

---

## [AS3 MovieClip Collision](https://forum.kirupa.com/t/as3-movieclip-collision/321728)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 7:00pm UTC](https://forum.kirupa.com/t/as3-movieclip-collision/321728 "2011-04-28T19:00:43Z")

</div>

Hi there I have a bullet object and a boulder object (both movieclips originating from JPEGs) in my AS3 game. The trouble I'm having is with hitTestObject for the collision detection, as it's taking in to account the…

---

## [Drag and drop objects that move others](https://forum.kirupa.com/t/drag-and-drop-objects-that-move-others/321727)

<div class="topic-metadata">

**Author:** [@Vandel212](https://forum.kirupa.com/u/Vandel212)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:27pm UTC](https://forum.kirupa.com/t/drag-and-drop-objects-that-move-others/321727 "2011-04-28T18:27:52Z")

</div>

Ok so here is what I am trying to do: I am going to have what is essentially a grid of 12 boxes. 4 across 3 high. There will be an object in each box. What I want to do is to allow the user to drag an object from one b…

---

## [Input text box to Dynamic text output - No cursor, can't input](https://forum.kirupa.com/t/input-text-box-to-dynamic-text-output-no-cursor-cant-input/321725)

<div class="topic-metadata">

**Author:** [@stargazer1682](https://forum.kirupa.com/u/stargazer1682)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:26pm UTC](https://forum.kirupa.com/t/input-text-box-to-dynamic-text-output-no-cursor-cant-input/321725 "2011-04-28T18:26:15Z")

</div>

I'm working on updating a quiz game; everything was already there, someone else programmed it. A problem I'm encountering, which is thankfully now, the last of many problems, is that at the very end of the test, you're s…

---

## [I can't get my xml data out of the onload function](https://forum.kirupa.com/t/i-cant-get-my-xml-data-out-of-the-onload-function/321724)

<div class="topic-metadata">

**Author:** [@bonassus](https://forum.kirupa.com/u/bonassus)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:08pm UTC](https://forum.kirupa.com/t/i-cant-get-my-xml-data-out-of-the-onload-function/321724 "2011-04-28T18:08:03Z")

</div>

I can't figure out why this doesn't work. I need to pass the text in the xml file to an object that needs to be created outside of the onload function so i need access to the data out side of that function. I've declared…

---

## [Stage width differs everytime](https://forum.kirupa.com/t/stage-width-differs-everytime/321723)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 5:04pm UTC](https://forum.kirupa.com/t/stage-width-differs-everytime/321723 "2011-04-28T17:04:26Z")

</div>

Hello below is the code I am using for a project. My problem is when I trace the stageRef.width in the constructor and in the function both of them output different values. My stage is 980 x 700 pixels but whenever I tra…

---

## [Various formats in a TextField](https://forum.kirupa.com/t/various-formats-in-a-textfield/321722)

<div class="topic-metadata">

**Author:** [@yung](https://forum.kirupa.com/u/yung)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 4:12pm UTC](https://forum.kirupa.com/t/various-formats-in-a-textfield/321722 "2011-04-28T16:12:20Z")

</div>

Hi!, Its possible to assign 2 or more Formats to a text in a TextField? I have an var txtChat:TextField; and I want to assign a TextFormat to the user, and another TextFormat to the text of the chat, in the same TextF…

---

## [Video Game Menu](https://forum.kirupa.com/t/video-game-menu/321718)

<div class="topic-metadata">

**Author:** [@FlashByDefault](https://forum.kirupa.com/u/FlashByDefault)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 1:23pm UTC](https://forum.kirupa.com/t/video-game-menu/321718 "2011-04-28T13:23:13Z")

</div>

This has been troubling me for some time now. I would LOVE to create a menu, on which I can scroll up and down and side to side threw out this menu, using the arrow keys. Every where I go, people have sweet turtorials …

---

## [How to make it looping contineously?](https://forum.kirupa.com/t/how-to-make-it-looping-contineously/321715)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 11:58am UTC](https://forum.kirupa.com/t/how-to-make-it-looping-contineously/321715 "2011-04-28T11:58:39Z")

</div>

Hi, The followig is the Typewriter effect text code. It works fine but doesn't repeat the action continuosly. How to modify the below code? var textLoader:URLLoader = new URLLoader(new URLRequest("Data.txt")); textLo…

---

## [Sending Session Data to PHP using AS3?](https://forum.kirupa.com/t/sending-session-data-to-php-using-as3/321714)

<div class="topic-metadata">

**Author:** [@abakiz](https://forum.kirupa.com/u/abakiz)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 11:55am UTC](https://forum.kirupa.com/t/sending-session-data-to-php-using-as3/321714 "2011-04-28T11:55:58Z")

</div>

Hello I've been searching around and I'm finding it difficult to find a basic tutorial on sending session data from flash to the current PHP page. Basically a random variable is created in AS3, I need for that random …

---

## [Help, CS5 AS2, preload swf's into a component](https://forum.kirupa.com/t/help-cs5-as2-preload-swfs-into-a-component/321713)

<div class="topic-metadata">

**Author:** [@Rauska](https://forum.kirupa.com/u/Rauska)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 10:38am UTC](https://forum.kirupa.com/t/help-cs5-as2-preload-swfs-into-a-component/321713 "2011-04-28T10:38:37Z")

</div>

Can anyone help? Ive bought a page flipper component that loads individual SWF's externally as pages... I have a preloader that loads my main SWF, but the page flipper still takes a while to load and needs progress ind…

---

## [Make blood vessel burst?](https://forum.kirupa.com/t/make-blood-vessel-burst/321712)

<div class="topic-metadata">

**Author:** [@Chbook](https://forum.kirupa.com/u/Chbook)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 9:35am UTC](https://forum.kirupa.com/t/make-blood-vessel-burst/321712 "2011-04-28T09:35:07Z")

</div>

:yoda:Hi guys, i have a blood vessel which 'opens up' when the timer reaches 5 seconds (timer initiated using button) and when play head reaches 10 (in the Artery timeline) the code should be executed which shows 'blood …

---

## [After showing the Billboard on Stage, the movie to be started!](https://forum.kirupa.com/t/after-showing-the-billboard-on-stage-the-movie-to-be-started/321711)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 8:33am UTC](https://forum.kirupa.com/t/after-showing-the-billboard-on-stage-the-movie-to-be-started/321711 "2011-04-28T08:33:18Z")

</div>

Hi, I have the following code to show the BillBoard: TweenMax.fromTo(Content\_mc.Welcome\_mc.BillBoard\_mc, 2, {x:398, y:48, alpha:0}, {x:398, y:48, alpha:1, delay:17, ease:Strong.easeOut}); (I have few text animation…

---

## [How to control my video?](https://forum.kirupa.com/t/how-to-control-my-video/321710)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:51am UTC](https://forum.kirupa.com/t/how-to-control-my-video/321710 "2011-04-28T06:51:18Z")

</div>

Hi, I have a video file which plays fine but it plays as soon as the welcome page starts. I have some small text animation which needs to play first and after 45 Seconds my video should start playing automatically. H…

---

## [Memory and CPU Usage issue](https://forum.kirupa.com/t/memory-and-cpu-usage-issue/321709)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:28am UTC](https://forum.kirupa.com/t/memory-and-cpu-usage-issue/321709 "2011-04-28T06:28:33Z")

</div>

Hey, I have one 500 Kb swf animation file. Its being loaded into another swf/exe. When I run this exe the memory and CPU usage keeps increasing always. But when I run only the animation swf, the memory usage is stable an…

---

## [gotoAndStop on a child](https://forum.kirupa.com/t/gotoandstop-on-a-child/321708)

<div class="topic-metadata">

**Author:** [@ashpool](https://forum.kirupa.com/u/ashpool)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 6:24am UTC](https://forum.kirupa.com/t/gotoandstop-on-a-child/321708 "2011-04-28T06:24:03Z")

</div>

im new in as3 (as you can see) and im having some problems. im creating a tile based game and im using something like this to draw the map: for (y=0; y\<=15; y++) { for (x=0; x\<=19; x++) { …

---

## [How to Rip DVD and Convert Video for Your New White iPhone 4](https://forum.kirupa.com/t/how-to-rip-dvd-and-convert-video-for-your-new-white-iphone-4/321706)

<div class="topic-metadata">

**Author:** [@Raidndiu](https://forum.kirupa.com/u/Raidndiu)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 5:55am UTC](https://forum.kirupa.com/t/how-to-rip-dvd-and-convert-video-for-your-new-white-iphone-4/321706 "2011-04-28T05:55:07Z")

</div>

Apple Company announces that white iPhone 4 will launch on April 28th, 2011. Since the release of iPhone 4, people have been waiting for white iPhone 4. It’s another surprise for people from Apple. With the release of w…

---

## [Template won't scroll and doesn't fit right](https://forum.kirupa.com/t/template-wont-scroll-and-doesnt-fit-right/321700)

<div class="topic-metadata">

**Author:** [@paulcase](https://forum.kirupa.com/u/paulcase)\
**Replies:** 0\
**Last updated:** [April 28, 2011, 2:01am UTC](https://forum.kirupa.com/t/template-wont-scroll-and-doesnt-fit-right/321700 "2011-04-28T02:01:03Z")

</div>

I bought this template for my church and edited it to how I wanted it and it looked great when I previewed it in Flash but now that its live it doesnt fit right on the screen and it wont scroll and just doesnt work right…

---

## [Help removing a symbol then adding it in a different place](https://forum.kirupa.com/t/help-removing-a-symbol-then-adding-it-in-a-different-place/321698)

<div class="topic-metadata">

**Author:** [@nippyeyes](https://forum.kirupa.com/u/nippyeyes)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 11:13pm UTC](https://forum.kirupa.com/t/help-removing-a-symbol-then-adding-it-in-a-different-place/321698 "2011-04-27T23:13:57Z")

</div>

Hi, i am currently trying to write code, so if i enter a value into a textbox it will move a symbol up and down the screen according to the value. I was using the method of removing the child at for example removeChildAt…

---

## [Loading images from Picasa](https://forum.kirupa.com/t/loading-images-from-picasa/321696)

<div class="topic-metadata">

**Author:** [@holysocks](https://forum.kirupa.com/u/holysocks)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 10:45pm UTC](https://forum.kirupa.com/t/loading-images-from-picasa/321696 "2011-04-27T22:45:23Z")

</div>

Making an online portfolio? How about using Picasa to host the images and serve as an easy content management system? here's how: http://as3adventure.blogspot.com/2011/04/loading-images-from-picasa.html

---

## [Flash game assignment with many TypeError: Error #1009](https://forum.kirupa.com/t/flash-game-assignment-with-many-typeerror-error-1009/321695)

<div class="topic-metadata">

**Author:** [@Barrymac73](https://forum.kirupa.com/u/Barrymac73)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 8:34pm UTC](https://forum.kirupa.com/t/flash-game-assignment-with-many-typeerror-error-1009/321695 "2011-04-27T20:34:35Z")

</div>

hey all, I am new to this forum and studying actionscript for past few months in college. I am a student with a game to build as an assignment. It's our first time making a game and while im really enjoying actionscript,…

---

## [Help Needed - embedding alt image to flash header](https://forum.kirupa.com/t/help-needed-embedding-alt-image-to-flash-header/321692)

<div class="topic-metadata">

**Author:** [@furniss03](https://forum.kirupa.com/u/furniss03)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 5:47pm UTC](https://forum.kirupa.com/t/help-needed-embedding-alt-image-to-flash-header/321692 "2011-04-27T17:47:38Z")

</div>

Hi all I am trying a stupidly simple thing, but for the life of me, can't work out how to get it to work properly. I want to place an alternative jpg into a header flash movie, incase the flash is blocked or not suppor…

---

## [Need help in as3](https://forum.kirupa.com/t/need-help-in-as3/321691)

<div class="topic-metadata">

**Author:** [@kup0](https://forum.kirupa.com/u/kup0)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 5:45pm UTC](https://forum.kirupa.com/t/need-help-in-as3/321691 "2011-04-27T17:45:36Z")

</div>

Hi, I'm currently trying to program a flash game using actionscript 3.0 where users would step on insects. Basically, I added multiple instances of insects movieclip and remove them by using hitTest function. When the…

---

## [Fullscreen Content and Video](https://forum.kirupa.com/t/fullscreen-content-and-video/321689)

<div class="topic-metadata">

**Author:** [@outback](https://forum.kirupa.com/u/outback)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 5:35pm UTC](https://forum.kirupa.com/t/fullscreen-content-and-video/321689 "2011-04-27T17:35:49Z")

</div>

Hi All, I'm having some problems when using full screen on Flash. I have my stage content and also a FLV running I want the whole stage to go fullscreen when I hit the fullscreen button not only the flv. I've tr…

---

## [Why does this not show up?](https://forum.kirupa.com/t/why-does-this-not-show-up/321687)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 4:02pm UTC](https://forum.kirupa.com/t/why-does-this-not-show-up/321687 "2011-04-27T16:02:34Z")

</div>

All I am trying to do is add a movieclip from the library to the stage from the class below. The trace works but the dang thing does not show up. I am trying to get into using classes finally. Thanks in advance. packa…

---

## [Is there a way to get some realistic photo filters in Flash with AS3?](https://forum.kirupa.com/t/is-there-a-way-to-get-some-realistic-photo-filters-in-flash-with-as3/321686)

<div class="topic-metadata">

**Author:** [@sindrom](https://forum.kirupa.com/u/sindrom)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 2:01pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-get-some-realistic-photo-filters-in-flash-with-as3/321686 "2011-04-27T14:01:03Z")

</div>

Hello! Does anyone know or can show me an example on how to reproduce the Photoshop Image/Adjustments/Photo filters... in Flash with AS3. Is the same result that you get when you put a filter over the lenses of a camera.…

---

## [\_alpha not working in Internet Explorer](https://forum.kirupa.com/t/-alpha-not-working-in-internet-explorer/321685)

<div class="topic-metadata">

**Author:** [@almada](https://forum.kirupa.com/u/almada)\
**Replies:** 0\
**Last updated:** [April 27, 2011, 1:57pm UTC](https://forum.kirupa.com/t/-alpha-not-working-in-internet-explorer/321685 "2011-04-27T13:57:36Z")

</div>

Hi, I have a big Flash (AS2) book, with a small button that, on zoom, disappears (\_alpha = 0) This is working either when i run the swf directly, in Firefox 4 and Chrome. But does not work in Internet Explorer 8. Tha…

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

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