# programming

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

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

**Page:** 260

---

## [Pure Actionscript Modal effect](https://forum.kirupa.com/t/pure-actionscript-modal-effect/323342)

<div class="topic-metadata">

**Author:** [@Discipol](https://forum.kirupa.com/u/Discipol)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 5:59pm UTC](https://forum.kirupa.com/t/pure-actionscript-modal-effect/323342 "2011-06-26T17:59:32Z")

</div>

Hello, I want to make a modal effect like a popup window in Flex, but with pure as3.:frankenstein: I put a filled Shape with a blur on it but doesn't look the same. I am assuming the blur effect is applied on the stage…

---

## [\[Ask\] Movement script: explanation](https://forum.kirupa.com/t/ask-movement-script-explanation/323341)

<div class="topic-metadata">

**Author:** [@nasi1215](https://forum.kirupa.com/u/nasi1215)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 5:22pm UTC](https://forum.kirupa.com/t/ask-movement-script-explanation/323341 "2011-06-26T17:22:14Z")

</div>

I'm newbie in Flash and action script,just start learning T\_\_T... onClipEvent (load) { speed=10; } onClipEvent (enterFrame) { if (key.isDown(key.RIGHT)) { \_x+=speed; } else if (key.isDown(key.LEFT)) { \_x-=speed; …

---

## [ClickTag in flash banner as3](https://forum.kirupa.com/t/clicktag-in-flash-banner-as3/323338)

<div class="topic-metadata">

**Author:** [@luteczka](https://forum.kirupa.com/u/luteczka)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 4:48pm UTC](https://forum.kirupa.com/t/clicktag-in-flash-banner-as3/323338 "2011-06-26T16:48:19Z")

</div>

Hi, I've made a banner that links to a page. I used this code to link: inv\_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler); function buttonClickHandler(event:MouseEvent):void { navigateToURL(new URLRequest(…

---

## [Problem managing assets for large (fighting) flash game](https://forum.kirupa.com/t/problem-managing-assets-for-large-fighting-flash-game/323332)

<div class="topic-metadata">

**Author:** [@ncholas](https://forum.kirupa.com/u/ncholas)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 6:15am UTC](https://forum.kirupa.com/t/problem-managing-assets-for-large-fighting-flash-game/323332 "2011-06-26T06:15:55Z")

</div>

I met lots of problems finishing our beat 'em up game because of the bulky assets. The gameplay consists of two modes: 1. The normal fighting 2. Cinematic mode - where players are only asked to press certain buttons and …

---

## [Drawing API - Overlap](https://forum.kirupa.com/t/drawing-api-overlap/323331)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 4:59am UTC](https://forum.kirupa.com/t/drawing-api-overlap/323331 "2011-06-26T04:59:02Z")

</div>

Hi, Is it possible to subtract shapes from a filled region? I've done this: graphics.lineStyle(0,0x000000); graphics.beginFill(0x000000,.9); graphics.drawRect(0,0,600,400); graphics.drawCircle(200,200,50); graphic…

---

## [Example app using MVC](https://forum.kirupa.com/t/example-app-using-mvc/323330)

<div class="topic-metadata">

**Author:** [@Phenies](https://forum.kirupa.com/u/Phenies)\
**Replies:** 0\
**Last updated:** [June 26, 2011, 4:38am UTC](https://forum.kirupa.com/t/example-app-using-mvc/323330 "2011-06-26T04:38:22Z")

</div>

I want to make a small application that allows the user to go through XML data thats put in a XML file. To make it more organized and so I can use the code later I also want to use classes and the MVC method. All I wan…

---

## [Undefined property onTileClicked?](https://forum.kirupa.com/t/undefined-property-ontileclicked/323328)

<div class="topic-metadata">

**Author:** [@TheN33k](https://forum.kirupa.com/u/TheN33k)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 7:27pm UTC](https://forum.kirupa.com/t/undefined-property-ontileclicked/323328 "2011-06-25T19:27:39Z")

</div>

Hi guys, I'm following a starter's guide to AS3, and it's giving me an error. I am following the guide exactly. package { //importing classes import flash.display.Sprite; import flash.events.MouseEvent; // end of…

---

## [Please HELP Me!](https://forum.kirupa.com/t/please-help-me/323325)

<div class="topic-metadata">

**Author:** [@camaleon](https://forum.kirupa.com/u/camaleon)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 4:08pm UTC](https://forum.kirupa.com/t/please-help-me/323325 "2011-06-25T16:08:39Z")

</div>

Hi guys. I'm new in flash in AS (ActionScript) I don't know nothing. :/ I have a project from school and I need your help Please! I need import data from Excel and make that those data when I click on start button …

---

## [XML random image gallery - non-repeating](https://forum.kirupa.com/t/xml-random-image-gallery-non-repeating/323324)

<div class="topic-metadata">

**Author:** [@chomp](https://forum.kirupa.com/u/chomp)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 2:22pm UTC](https://forum.kirupa.com/t/xml-random-image-gallery-non-repeating/323324 "2011-06-25T14:22:32Z")

</div>

Hi there, I'm using Flash CS3 and would like to create an image gallery that randomly loads images listed in an XML file without repeating any of the images until all have been displayed once. So far, I've managed t…

---

## [Global library?](https://forum.kirupa.com/t/global-library/323323)

<div class="topic-metadata">

**Author:** [@meneedit](https://forum.kirupa.com/u/meneedit)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 10:12am UTC](https://forum.kirupa.com/t/global-library/323323 "2011-06-25T10:12:50Z")

</div>

Hey guys, I'm making this thread because I have searched in google for how to make a "global library". I'm sure this is not what it's called but i couldnt think of another way to search. If I start a new project and …

---

## [\[ASK\] Voice recognition in Flash](https://forum.kirupa.com/t/ask-voice-recognition-in-flash/323320)

<div class="topic-metadata">

**Author:** [@BlackStyle](https://forum.kirupa.com/u/BlackStyle)\
**Replies:** 0\
**Last updated:** [June 25, 2011, 2:35am UTC](https://forum.kirupa.com/t/ask-voice-recognition-in-flash/323320 "2011-06-25T02:35:27Z")

</div>

Hello.. is that possible that flash can develop voice recognition application? ex : if user says "A" then flash can call movieclip "A", or in the application e-learning, user just say "next" then the application goi…

---

## [This simple code doesn't run, incredible](https://forum.kirupa.com/t/this-simple-code-doesnt-run-incredible/323316)

<div class="topic-metadata">

**Author:** [@joecoolman](https://forum.kirupa.com/u/joecoolman)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 11:41pm UTC](https://forum.kirupa.com/t/this-simple-code-doesnt-run-incredible/323316 "2011-06-24T23:41:44Z")

</div>

in timeline if you write a=5; if (a\>1) { trace("I'm inside the if's statements yeah!"); doOnce = setInterval(mytrace, 100, "This is a test!"); function mytrace(str) { trace(str); clearInte…

---

## [Custom Component freaking out Compiler](https://forum.kirupa.com/t/custom-component-freaking-out-compiler/323315)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 11:19pm UTC](https://forum.kirupa.com/t/custom-component-freaking-out-compiler/323315 "2011-06-24T23:19:03Z")

</div>

So I've run into an issue I was not expecting... I have written a custom component in CS5 and exported it as an SWC. It works fine and dandy if I place it on a timeline with one frame. It compiles in a timely manner,…

---

## [Clearing out an uploaded file using fileSelect (to replace it with a new one)](https://forum.kirupa.com/t/clearing-out-an-uploaded-file-using-fileselect-to-replace-it-with-a-new-one/323313)

<div class="topic-metadata">

**Author:** [@O\_Tamandua](https://forum.kirupa.com/u/O_Tamandua)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 8:17pm UTC](https://forum.kirupa.com/t/clearing-out-an-uploaded-file-using-fileselect-to-replace-it-with-a-new-one/323313 "2011-06-24T20:17:18Z")

</div>

SOLVED! Thanks and God bless, BenBart. Hello, all. This should be easy. I’ve got a file upload (for art) function on my application that works…but whenever you load a .jpg or .png file into the designnated movie clip …

---

## [Is there a better way to find the XML node which has a specific attribute?](https://forum.kirupa.com/t/is-there-a-better-way-to-find-the-xml-node-which-has-a-specific-attribute/323312)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 8:09pm UTC](https://forum.kirupa.com/t/is-there-a-better-way-to-find-the-xml-node-which-has-a-specific-attribute/323312 "2011-06-24T20:09:14Z")

</div>

I have a series of XML nodes that are the same (except for the data of course). I want to find the node with that attribute and use that node's data. I know I can do this with a for loop and an if statement but I was hop…

---

## [How do I Desaturate or greyscale WITHOUT using a filter](https://forum.kirupa.com/t/how-do-i-desaturate-or-greyscale-without-using-a-filter/323311)

<div class="topic-metadata">

**Author:** [@Mystify](https://forum.kirupa.com/u/Mystify)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 6:51pm UTC](https://forum.kirupa.com/t/how-do-i-desaturate-or-greyscale-without-using-a-filter/323311 "2011-06-24T18:51:58Z")

</div>

I am developing an application for iPhone retina display and need to be able to desaturate images. Now, everything I have ever seen says to use the color matrix filter... and this does work on the pc... however, becaus…

---

## [Resize handler randomly works?!](https://forum.kirupa.com/t/resize-handler-randomly-works/323308)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 4:49pm UTC](https://forum.kirupa.com/t/resize-handler-randomly-works/323308 "2011-06-24T16:49:09Z")

</div>

Hi all. I have a main swf which I load in a few different external swf. For each of the external swf I have resize handlers which make sure my loaded swf are position in the correct place when window is resized. It wor…

---

## [Usinf function from as document from inside fla. - help](https://forum.kirupa.com/t/usinf-function-from-as-document-from-inside-fla-help/323307)

<div class="topic-metadata">

**Author:** [@K2WEB](https://forum.kirupa.com/u/K2WEB)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 4:27pm UTC](https://forum.kirupa.com/t/usinf-function-from-as-document-from-inside-fla-help/323307 "2011-06-24T16:27:07Z")

</div>

Good morning members of Kirupa, Im having trouble running a certain function thats in my as document from inside my fla. What needs to happen is : when i click on my button it should run the function that\`s in my as. …

---

## [Handling text input -- not in a textfield](https://forum.kirupa.com/t/handling-text-input-not-in-a-textfield/323306)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 3:47pm UTC](https://forum.kirupa.com/t/handling-text-input-not-in-a-textfield/323306 "2011-06-24T15:47:28Z")

</div>

I am writing a class that will handle text input using a keyboard event attached to the stage (or it could be attached to a movieclip or something else). It will have many applications, but to give you a picture of somet…

---

## [Is anyone having issues with IE 9](https://forum.kirupa.com/t/is-anyone-having-issues-with-ie-9/323305)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 1:15pm UTC](https://forum.kirupa.com/t/is-anyone-having-issues-with-ie-9/323305 "2011-06-24T13:15:08Z")

</div>

I just got an updated version of IE, IE 9, and my GUI went to hell. Read something about a java issue that they are aware of. Noticed a call to a method named initLocation, this seems to be where it is breaking. Any…

---

## [XML link i dynamic flash text](https://forum.kirupa.com/t/xml-link-i-dynamic-flash-text/323301)

<div class="topic-metadata">

**Author:** [@crelle\_1988](https://forum.kirupa.com/u/crelle_1988)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 8:32am UTC](https://forum.kirupa.com/t/xml-link-i-dynamic-flash-text/323301 "2011-06-24T08:32:24Z")

</div>

Hi everybody I have a problem with making a url link from my data.xml file. My code is as follow: XML: \<?xml version="1.0" encoding="UTF-8"?\> \<site\> \<projekter\> \<projekt\> \<link\>http://www.youtube.com/ (...) \</pro…

---

## [Help me in this project](https://forum.kirupa.com/t/help-me-in-this-project/323299)

<div class="topic-metadata">

**Author:** [@RajuHB](https://forum.kirupa.com/u/RajuHB)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 7:27am UTC](https://forum.kirupa.com/t/help-me-in-this-project/323299 "2011-06-24T07:27:17Z")

</div>

Dear all, I did Product catalog, it contents intro and supportive files (.swf) how to give non editable file to them. or it should ask to install to run this catalog but the supportive file should not visible and edit. …

---

## [Seek Target Function Speed problem](https://forum.kirupa.com/t/seek-target-function-speed-problem/323293)

<div class="topic-metadata">

**Author:** [@calyston](https://forum.kirupa.com/u/calyston)\
**Replies:** 0\
**Last updated:** [June 24, 2011, 12:02am UTC](https://forum.kirupa.com/t/seek-target-function-speed-problem/323293 "2011-06-24T00:02:43Z")

</div>

Hi all! My god it's been a while since i've posted here! So here we go! I got a function that seek the player from a seperate class. The problem is that the function is written in a way that it's do a kind of easing wh…

---

## [Stuck trying to get certain animation effect](https://forum.kirupa.com/t/stuck-trying-to-get-certain-animation-effect/323292)

<div class="topic-metadata">

**Author:** [@gloopy](https://forum.kirupa.com/u/gloopy)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 10:14pm UTC](https://forum.kirupa.com/t/stuck-trying-to-get-certain-animation-effect/323292 "2011-06-23T22:14:21Z")

</div>

I saw this today: http://s0.2mdn.net/1062493/Wellingtoneuromillions728x90.swf I wonder if anyone might be able to advise please on how to animate the effect where the background changes from blue stars to yellow star…

---

## [Photos appear distorted](https://forum.kirupa.com/t/photos-appear-distorted/323291)

<div class="topic-metadata">

**Author:** [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 8:54pm UTC](https://forum.kirupa.com/t/photos-appear-distorted/323291 "2011-06-23T20:54:24Z")

</div>

Hi, I'm very new to Flash and AS3. I'm attempting to build a website mostly with Flash. It deals a lot with photos. I'm noticing a problem with the photos I'm using in my Flash projects though. When I put a photo in the …

---

## [Flash Banner Tips & Best Practices](https://forum.kirupa.com/t/flash-banner-tips-best-practices/323290)

<div class="topic-metadata">

**Author:** [@atebit](https://forum.kirupa.com/u/atebit)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 8:21pm UTC](https://forum.kirupa.com/t/flash-banner-tips-best-practices/323290 "2011-06-23T20:21:24Z")

</div>

Hello Does anyone know of a good resource for banner development tips and tricks - mainly in regards to image optimization, external imports and filesize reduction. Its been a while since i have looked into smart ways …

---

## [Problem with keyCodes. AS3](https://forum.kirupa.com/t/problem-with-keycodes-as3/323287)

<div class="topic-metadata">

**Author:** [@Leon\_Montemayor](https://forum.kirupa.com/u/Leon_Montemayor)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 6:58pm UTC](https://forum.kirupa.com/t/problem-with-keycodes-as3/323287 "2011-06-23T18:58:34Z")

</div>

Hello I am new here \[smile\] Actually I just registered because I need help with this problem, I have this code: stage.addEventListener(KeyboardEvent.KEY\_DOWN, entering, false, 0, true); function entering(Event:Keyboar…

---

## [Problems with NetStatus Events and buffering](https://forum.kirupa.com/t/problems-with-netstatus-events-and-buffering/323286)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 6:25pm UTC](https://forum.kirupa.com/t/problems-with-netstatus-events-and-buffering/323286 "2011-06-23T18:25:58Z")

</div>

So I know I'm deranged for still working with these flvs, but hear me out. I've read about the hassles of working with the buffer and it's bytes. All I want is to know when it is buffering and put a spinny wheel on the…

---

## [EnterFrame](https://forum.kirupa.com/t/enterframe/323285)

<div class="topic-metadata">

**Author:** [@bharath119](https://forum.kirupa.com/u/bharath119)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 3:55pm UTC](https://forum.kirupa.com/t/enterframe/323285 "2011-06-23T15:55:08Z")

</div>

Can anyone tell me what is meant by EnterFrame and it's use and how to declare it? And also tell me the difference between EnterFrame and MOUSE\_MOVE? Thank you, Bharath.

---

## [Question about Reducing Display Object References Tip from Senocular](https://forum.kirupa.com/t/question-about-reducing-display-object-references-tip-from-senocular/323284)

<div class="topic-metadata">

**Author:** [@stink6](https://forum.kirupa.com/u/stink6)\
**Replies:** 0\
**Last updated:** [June 23, 2011, 3:23pm UTC](https://forum.kirupa.com/t/question-about-reducing-display-object-references-tip-from-senocular/323284 "2011-06-23T15:23:03Z")

</div>

On Senocular's page http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=2 there is a Tip: Reducing Display Object References I need help with. if I do: addChild(new CustomMovieClass()).name = "myMovie"; …

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

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