# programming

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

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

**Page:** 824

---

## [AI Shoots At User?](https://forum.kirupa.com/t/ai-shoots-at-user/287976)

<div class="topic-metadata">

**Author:** [@knoxrun](https://forum.kirupa.com/u/knoxrun)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 5:22pm UTC](https://forum.kirupa.com/t/ai-shoots-at-user/287976 "2009-05-08T17:22:13Z")

</div>

I have a simple game with two main symbols. A blue circle, that the user controls with the arrow keys, and a red circle which is the AI directed by random movement. My goal is to have the red circle shoot little yellow…

---

## [Character limit?](https://forum.kirupa.com/t/character-limit/287975)

<div class="topic-metadata">

**Author:** [@rserge](https://forum.kirupa.com/u/rserge)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 5:17pm UTC](https://forum.kirupa.com/t/character-limit/287975 "2009-05-08T17:17:16Z")

</div>

http://www.kirupa.com/developer/flash8/scrollbar.htm I am using the above tutorial to create a scrolling text box. The content within the text box is pretty big, a lot of text. ABout halfway through the scrolling(in …

---

## [Uploading file and then getting echo response problem](https://forum.kirupa.com/t/uploading-file-and-then-getting-echo-response-problem/287974)

<div class="topic-metadata">

**Author:** [@makportal](https://forum.kirupa.com/u/makportal)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 5:17pm UTC](https://forum.kirupa.com/t/uploading-file-and-then-getting-echo-response-problem/287974 "2009-05-08T17:17:06Z")

</div>

I'm trying to upload an image file to another server and load the image into my flash application. I've modified crossdomain.xml as to allow the php to do the uploading to the other server. var fileRef:FileReference =…

---

## [AS2 loadmovie using var](https://forum.kirupa.com/t/as2-loadmovie-using-var/287970)

<div class="topic-metadata">

**Author:** [@suzannehami](https://forum.kirupa.com/u/suzannehami)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:53pm UTC](https://forum.kirupa.com/t/as2-loadmovie-using-var/287970 "2009-05-08T16:53:58Z")

</div>

Hi I'm sure this has been asked and answered several times but I couldnt find an answer via the search, so my apologies for asking again. I'm pulling data using an asp page and have managed to get the vars to fill as I…

---

## [Load next swf after movieclip/tween complete?](https://forum.kirupa.com/t/load-next-swf-after-movieclip-tween-complete/287969)

<div class="topic-metadata">

**Author:** [@Rafolio](https://forum.kirupa.com/u/Rafolio)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:47pm UTC](https://forum.kirupa.com/t/load-next-swf-after-movieclip-tween-complete/287969 "2009-05-08T16:47:53Z")

</div>

Hi I'm really stuck with something in Flash and hoping you guys can help me out. In my scene I have 4 movie clips. Each clip has a stop(); in the first frame, then an actionscripted tween in the second frame. I also …

---

## [Filters not working!](https://forum.kirupa.com/t/filters-not-working/287968)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:44pm UTC](https://forum.kirupa.com/t/filters-not-working/287968 "2009-05-08T16:44:40Z")

</div>

I have a file that i am trying to add a blur filter to. it is at the very end of the movie. It shows up in the FLA but when I publish the movie the blur isn't there. any idea why.... Here is the fla file and swf I'm gett…

---

## [Looping timer?](https://forum.kirupa.com/t/looping-timer/287967)

<div class="topic-metadata">

**Author:** [@split67](https://forum.kirupa.com/u/split67)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:37pm UTC](https://forum.kirupa.com/t/looping-timer/287967 "2009-05-08T16:37:22Z")

</div>

I'm trying to get some text to simply fade out and back an infinite number of times. Like a slow blink. Using a timer class and a couple functions, i can get it to work once, but it won't keep repeating. What's wrong wit…

---

## [AS2 Need to populate Text and Radio buttons with XML](https://forum.kirupa.com/t/as2-need-to-populate-text-and-radio-buttons-with-xml/287966)

<div class="topic-metadata">

**Author:** [@mmimura10](https://forum.kirupa.com/u/mmimura10)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:23pm UTC](https://forum.kirupa.com/t/as2-need-to-populate-text-and-radio-buttons-with-xml/287966 "2009-05-08T16:23:37Z")

</div>

\[COLOR=black\]I have an interface that is being built using an XML doc. The XML follows this structure:\[/COLOR\] \[COLOR=black\]\[/COLOR\] \[FONT=Courier New\] \[COLOR=black\]\<?xml version="1.0"?\> \[/COLOR\] \[/FONT\]\[COLOR=black…

---

## [Increase sound button code](https://forum.kirupa.com/t/increase-sound-button-code/287964)

<div class="topic-metadata">

**Author:** [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 4:09pm UTC](https://forum.kirupa.com/t/increase-sound-button-code/287964 "2009-05-08T16:09:48Z")

</div>

I made a button that starts the song, but when you press on the same button again it starts the song a second time. So now it is playing twice. Could use some help so no many how times the button is pressed the song only…

---

## [Flv under mask with gaussian blur](https://forum.kirupa.com/t/flv-under-mask-with-gaussian-blur/287963)

<div class="topic-metadata">

**Author:** [@Joselito31](https://forum.kirupa.com/u/Joselito31)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 3:59pm UTC](https://forum.kirupa.com/t/flv-under-mask-with-gaussian-blur/287963 "2009-05-08T15:59:37Z")

</div>

Hi there, I need some help to realize this effect. I have created a video for my flash application, convert it into a flv file. Now, I have imported it into flash in a layer, then I have created a new layer where I w…

---

## [Automatic Timer Events](https://forum.kirupa.com/t/automatic-timer-events/287962)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 3:41pm UTC](https://forum.kirupa.com/t/automatic-timer-events/287962 "2009-05-08T15:41:11Z")

</div>

I'm trying to automatically set up a rotating animation via the Timer Event. There's a Movie Clip called main\_mc that's X position is changed with a Tween. Can the Timer Event run multiple events or is it only 1 per T…

---

## [Debugger Skipping Breakpoints](https://forum.kirupa.com/t/debugger-skipping-breakpoints/287960)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 3:00pm UTC](https://forum.kirupa.com/t/debugger-skipping-breakpoints/287960 "2009-05-08T15:00:31Z")

</div>

I think I'm missing something here. I'm extending SelectableList and I have three breakpoints: draw, drawLayout, and drawList. The debug player ignores all the breakpoints and does not actually stop until draw has been…

---

## [Drawing BitmapData to Bitmap](https://forum.kirupa.com/t/drawing-bitmapdata-to-bitmap/287959)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 2:50pm UTC](https://forum.kirupa.com/t/drawing-bitmapdata-to-bitmap/287959 "2009-05-08T14:50:28Z")

</div>

Hey all, its early and i feel dump right now. I know that i have done this effect with AS2 but can't seem to get it going in as3. what i need to do is basically a motion trail on a bitmap. I want to continuously…

---

## [Flash advances to frame 2 inspite of stop() command](https://forum.kirupa.com/t/flash-advances-to-frame-2-inspite-of-stop-command/287957)

<div class="topic-metadata">

**Author:** [@gdehoff](https://forum.kirupa.com/u/gdehoff)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 2:28pm UTC](https://forum.kirupa.com/t/flash-advances-to-frame-2-inspite-of-stop-command/287957 "2009-05-08T14:28:28Z")

</div>

I am creating an e-learning module using a PC with windows XP; running PowerPoint 2003 and Articulate Presenter v5.4 \*\*I have some .swfs that consist of multiple frames. These were created in CS4 and published for Fl…

---

## [ExternalInterface help](https://forum.kirupa.com/t/externalinterface-help/287955)

<div class="topic-metadata">

**Author:** [@Goth\_Santa](https://forum.kirupa.com/u/Goth_Santa)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 2:05pm UTC](https://forum.kirupa.com/t/externalinterface-help/287955 "2009-05-08T14:05:45Z")

</div>

I'm trying to have two flash menus talk to one another via ExternalInterface, but for whatever reason the javascript function isn't being called. I have two menus, topMenu and tabMenu. The idea is for clicking on one …

---

## [localToGlobal Confusion](https://forum.kirupa.com/t/localtoglobal-confusion/287953)

<div class="topic-metadata">

**Author:** [@ranjeet\_naidu](https://forum.kirupa.com/u/ranjeet_naidu)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 1:08pm UTC](https://forum.kirupa.com/t/localtoglobal-confusion/287953 "2009-05-08T13:08:33Z")

</div>

Guys am so bloody confused with as3. I have mcOne on stage and mcTwo within mcOne. I want to find out mcTwo\`s x and y coordinates in relation to the stage. Also i want to be able to zoom mcOne and to be able to drag mcTw…

---

## [Scrollbar Not working in safari & firefox](https://forum.kirupa.com/t/scrollbar-not-working-in-safari-firefox/287952)

<div class="topic-metadata">

**Author:** [@simply](https://forum.kirupa.com/u/simply)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 1:07pm UTC](https://forum.kirupa.com/t/scrollbar-not-working-in-safari-firefox/287952 "2009-05-08T13:07:39Z")

</div>

Hallo everyone. im new here and i have a question. For about 2 weeks now im fighting with the uiscrollbar component in as3. the swf works well. but when i load the html file the scrollbar doesnt work. here is…

---

## [Controlling Actipscript Values At Runtime With Buttons (AS2)](https://forum.kirupa.com/t/controlling-actipscript-values-at-runtime-with-buttons-as2/287951)

<div class="topic-metadata">

**Author:** [@zigsta](https://forum.kirupa.com/u/zigsta)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 12:27pm UTC](https://forum.kirupa.com/t/controlling-actipscript-values-at-runtime-with-buttons-as2/287951 "2009-05-08T12:27:53Z")

</div>

Hi you clever people Sorry if this is in the wrong place but I'm not overly sure what i really need. I'm looking for a way to control elements of my Actionscript at run-time via sliders and buttons on the stage so th…

---

## [cacheAsBitmap - How can you tell?](https://forum.kirupa.com/t/cacheasbitmap-how-can-you-tell/287949)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 9:40am UTC](https://forum.kirupa.com/t/cacheasbitmap-how-can-you-tell/287949 "2009-05-08T09:40:40Z")

</div>

Hi, I'm using the "Use runtime bitmap caching" in Flash 8, however.. when I publish my swf, and I zoom in on the movieclip, I see no signs of bitmap caching. Is it suppose to be like that? Because in Flash 8, if you …

---

## [JS Continue function error](https://forum.kirupa.com/t/js-continue-function-error/287948)

<div class="topic-metadata">

**Author:** [@larrywongm](https://forum.kirupa.com/u/larrywongm)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 8:24am UTC](https://forum.kirupa.com/t/js-continue-function-error/287948 "2009-05-08T08:24:06Z")

</div>

Hi ALL, I am here whit some javascript error in my program. Yesterday I created a small program. I used Continue function and wanted print some number after 5 but when I executed program it displayed serial number 1 …

---

## [PHP generated email won't display correctly on iPhone](https://forum.kirupa.com/t/php-generated-email-wont-display-correctly-on-iphone/287947)

<div class="topic-metadata">

**Author:** [@3dron](https://forum.kirupa.com/u/3dron)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 8:10am UTC](https://forum.kirupa.com/t/php-generated-email-wont-display-correctly-on-iphone/287947 "2009-05-08T08:10:00Z")

</div>

Here is my code: $headers = "From: auto-mailer@mydomain.com "; $headers .= "Reply-To: auto-mailer@mydomain.com "; $headers .= "MIME-Version: 1.0 "; //$headers .= "Content-Type: text/html; charset=ISO-8859-1 "; $hea…

---

## [Resize event doesn't get triggered](https://forum.kirupa.com/t/resize-event-doesnt-get-triggered/287946)

<div class="topic-metadata">

**Author:** [@harm\_less](https://forum.kirupa.com/u/harm_less)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 8:08am UTC](https://forum.kirupa.com/t/resize-event-doesnt-get-triggered/287946 "2009-05-08T08:08:58Z")

</div>

Hello all, I'm working on a project that uses a resize event and the Flash is full-browser (100% height and width). This means of course that every time the Flash stage size will change the resize function will be trig…

---

## [Adding/Removing objects to/from an array based on a variable?](https://forum.kirupa.com/t/adding-removing-objects-to-from-an-array-based-on-a-variable/287942)

<div class="topic-metadata">

**Author:** [@Vathian](https://forum.kirupa.com/u/Vathian)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 5:48am UTC](https://forum.kirupa.com/t/adding-removing-objects-to-from-an-array-based-on-a-variable/287942 "2009-05-08T05:48:25Z")

</div>

So a small example of my situation...On my stage I have 5 items labeled item1\_mc, item2\_mc, item3\_mc and so forth...they all have two keyframes on their respective timelines, one labeled "active" and the other "inactive"…

---

## [\[AS3\] Space Invaders Laser Spawning](https://forum.kirupa.com/t/as3-space-invaders-laser-spawning/287941)

<div class="topic-metadata">

**Author:** [@Flashh\_n00b](https://forum.kirupa.com/u/Flashh_n00b)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 5:27am UTC](https://forum.kirupa.com/t/as3-space-invaders-laser-spawning/287941 "2009-05-08T05:27:34Z")

</div>

Hey, I am working on making a Space Invaders clone to practice up my AS3. One of the main things in this project is that I want to make all of the graphics through Actionscript, simply because I have never worked with an…

---

## [Best option for creating bullets?](https://forum.kirupa.com/t/best-option-for-creating-bullets/287938)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 3:32am UTC](https://forum.kirupa.com/t/best-option-for-creating-bullets/287938 "2009-05-08T03:32:17Z")

</div>

Well, I could create a movie clip for a bullet and create a new instance of one every time a bullet is fired. Then, I could have 100 little bullets all flying around checking collision detection... There must be a bett…

---

## [Flash photo gallery with thumbnails - problem!](https://forum.kirupa.com/t/flash-photo-gallery-with-thumbnails-problem/287936)

<div class="topic-metadata">

**Author:** [@bgal](https://forum.kirupa.com/u/bgal)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 3:20am UTC](https://forum.kirupa.com/t/flash-photo-gallery-with-thumbnails-problem/287936 "2009-05-08T03:20:43Z")

</div>

Hey folks, I'm trying to use the flash gallery with thumbnails that was in one of the tutorials on this site. See here: http://www.kirupa.com/developer/mx2004/thumbnails.htm I wanted to make the flash player bigge…

---

## [Tutorials for High concept site](https://forum.kirupa.com/t/tutorials-for-high-concept-site/287933)

<div class="topic-metadata">

**Author:** [@Marketing\_EXP](https://forum.kirupa.com/u/Marketing_EXP)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 1:42am UTC](https://forum.kirupa.com/t/tutorials-for-high-concept-site/287933 "2009-05-08T01:42:24Z")

</div>

Hi folks! I was wondering if anyone could point me in the right direction to tutorials on flash development skills in order to develop a site such as www.keycloset.com .. also as a rough estimate how many man hours do…

---

## [GoToFullScreen Automaticly](https://forum.kirupa.com/t/gotofullscreen-automaticly/287932)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 1:25am UTC](https://forum.kirupa.com/t/gotofullscreen-automaticly/287932 "2009-05-08T01:25:05Z")

</div>

Hi I have a code that makes the flash site go to fullscreen. I am trying to do is go to fullscreen without press a button. I have a timer to do that but I am having an error. How can I do this? full.buttonMode = true…

---

## [Manage and host your own ads](https://forum.kirupa.com/t/manage-and-host-your-own-ads/287930)

<div class="topic-metadata">

**Author:** [@Groady](https://forum.kirupa.com/u/Groady)\
**Replies:** 0\
**Last updated:** [May 7, 2009, 11:53pm UTC](https://forum.kirupa.com/t/manage-and-host-your-own-ads/287930 "2009-05-07T23:53:31Z")

</div>

Some people here may be interested in a class package I will be releasing soon which will give game developers better control over the ads which appear in their games. Basically it will provide a means of remote swit…

---

## [Game Help (part 2)](https://forum.kirupa.com/t/game-help-part-2/287929)

<div class="topic-metadata">

**Author:** [@Drakob](https://forum.kirupa.com/u/Drakob)\
**Replies:** 0\
**Last updated:** [May 7, 2009, 11:47pm UTC](https://forum.kirupa.com/t/game-help-part-2/287929 "2009-05-07T23:47:31Z")

</div>

Hey Guys Ive got a game at the moment, with 3 external classes (different .as files). Currently they ARE communiticating, but with the error: TypeError: Error #1034: Type Coercion failed: cannot convert Frame1Bed$ to…

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

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