# programming

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

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

**Page:** 318

---

## [Pause ,Play not working](https://forum.kirupa.com/t/pause-play-not-working/319893)

<div class="topic-metadata">

**Author:** [@mina\_deshmukh](https://forum.kirupa.com/u/mina_deshmukh)\
**Replies:** 0\
**Last updated:** [March 8, 2011, 5:20am UTC](https://forum.kirupa.com/t/pause-play-not-working/319893 "2011-03-08T05:20:40Z")

</div>

I have a shell which dynamically loads swf through xml ,everything works fine,but,when I click a button in a dropdown menu correct swf starts playing but the menu goes behind the swf. Please help me out.

---

## [Generating an image, saving to hard drive](https://forum.kirupa.com/t/generating-an-image-saving-to-hard-drive/319892)

<div class="topic-metadata">

**Author:** [@H4T](https://forum.kirupa.com/u/H4T)\
**Replies:** 0\
**Last updated:** [March 8, 2011, 3:57am UTC](https://forum.kirupa.com/t/generating-an-image-saving-to-hard-drive/319892 "2011-03-08T03:57:46Z")

</div>

I'm working on an interactive kiosk application for a children's museum, and have been having a hell of a time getting this last and final piece working. I created a feature in my main kiosk application (written entirely…

---

## [prevFrame nextFrame issues](https://forum.kirupa.com/t/prevframe-nextframe-issues/319891)

<div class="topic-metadata">

**Author:** [@rasield](https://forum.kirupa.com/u/rasield)\
**Replies:** 0\
**Last updated:** [March 8, 2011, 2:50am UTC](https://forum.kirupa.com/t/prevframe-nextframe-issues/319891 "2011-03-08T02:50:37Z")

</div>

Hioh all. New user and all that trying to get some help. I'm having some issues with the prevFrame/nextFrame in some code and, with the last bit of tweaking I tried to do on it, the whole thing just kinda died on me and …

---

## [Audio & graphics - load/delay problems](https://forum.kirupa.com/t/audio-graphics-load-delay-problems/319889)

<div class="topic-metadata">

**Author:** [@widya](https://forum.kirupa.com/u/widya)\
**Replies:** 0\
**Last updated:** [March 8, 2011, 12:01am UTC](https://forum.kirupa.com/t/audio-graphics-load-delay-problems/319889 "2011-03-08T00:01:32Z")

</div>

Hi there, I'm having some problems (on the client's side.. isn't that always the case?!?!!?!) regarding some performance issues, where the audio takes a while buffering before playing, and where the audio would pause mid…

---

## [URGENT hitTestPoint works in Flash but not browser](https://forum.kirupa.com/t/urgent-hittestpoint-works-in-flash-but-not-browser/319887)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 11:39pm UTC](https://forum.kirupa.com/t/urgent-hittestpoint-works-in-flash-but-not-browser/319887 "2011-03-07T23:39:19Z")

</div>

I've been developing a game that uses hitTestPoint to determine a collision between an ball and a shape. This method has been working fine if I just test the swf in flash but as soon as it's embed in a browser the hitTe…

---

## [Embeding SWF inside in a fla file](https://forum.kirupa.com/t/embeding-swf-inside-in-a-fla-file/319886)

<div class="topic-metadata">

**Author:** [@dandd](https://forum.kirupa.com/u/dandd)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 10:45pm UTC](https://forum.kirupa.com/t/embeding-swf-inside-in-a-fla-file/319886 "2011-03-07T22:45:00Z")

</div>

I've tried importing a SWF file into a new fla file but when I test it the embeded swf doesn't do anything. I can't click and drag any of the things that I could if I ran the SWF file on its own. The embeded file uses…

---

## [Instance \_name](https://forum.kirupa.com/t/instance--name/319885)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.kirupa.com/u/Dave)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 10:35pm UTC](https://forum.kirupa.com/t/instance--name/319885 "2011-03-07T22:35:44Z")

</div>

Hi Guys, I want to get this right, but can't seem to. Looks like the way I am doing it is wrong. This is what I want: When you click a button, a variable is assigned as an instance name and therefore an action occurs…

---

## [Quest For A Dynamic Button Prob](https://forum.kirupa.com/t/quest-for-a-dynamic-button-prob/319882)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 6:31pm UTC](https://forum.kirupa.com/t/quest-for-a-dynamic-button-prob/319882 "2011-03-07T18:31:14Z")

</div>

id like to be able to assign a movieClip, x&y position,text,event string,etc to a dynamic button class called EZButton. Here's my document: (There's a movieclip in the library called TestButton) package { import …

---

## [EventListener inside External MovieClip](https://forum.kirupa.com/t/eventlistener-inside-external-movieclip/319881)

<div class="topic-metadata">

**Author:** [@keithjgardner](https://forum.kirupa.com/u/keithjgardner)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 6:04pm UTC](https://forum.kirupa.com/t/eventlistener-inside-external-movieclip/319881 "2011-03-07T18:04:46Z")

</div>

How do I listen for an event in an external movieclip? var DRALoader:Loader = new Loader(); var Phone:URLRequest = new URLRequest("DRA\_Phone.swf"); DRALoader.load(Phone); I can run a function located in the loaded…

---

## [AIR flash.events.Event.CLOSING equivilant for a projector?](https://forum.kirupa.com/t/air-flash-events-event-closing-equivilant-for-a-projector/319880)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 5:46pm UTC](https://forum.kirupa.com/t/air-flash-events-event-closing-equivilant-for-a-projector/319880 "2011-03-07T17:46:47Z")

</div>

I am looking for an equivalent of the flash.events.Event.CLOSING event available in AIR applications. I have a projector and I want it to send a message to a socket on close so that another application can know when the…

---

## [Embedded Font and External SWF](https://forum.kirupa.com/t/embedded-font-and-external-swf/319878)

<div class="topic-metadata">

**Author:** [@Cliffinator](https://forum.kirupa.com/u/Cliffinator)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 5:36pm UTC](https://forum.kirupa.com/t/embedded-font-and-external-swf/319878 "2011-03-07T17:36:49Z")

</div>

My question is simple: Does a externally loaded swf inhert the embedded font of the main swf that loads it? so the do I have embedded the same font in both the main and externally loaded swf? Thanks guys! \[smile\]

---

## [Reference class problem](https://forum.kirupa.com/t/reference-class-problem/319877)

<div class="topic-metadata">

**Author:** [@TurboTuTone](https://forum.kirupa.com/u/TurboTuTone)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 5:05pm UTC](https://forum.kirupa.com/t/reference-class-problem/319877 "2011-03-07T17:05:35Z")

</div>

Hello everyone, Im wondering if anyone can help me out with a little problem im having. Ive been working on a small game and noticed i was re-using the same code several times so i decided to see if i can combine the c…

---

## [Creating a website using the Arrow Keys and Return Key to navigate](https://forum.kirupa.com/t/creating-a-website-using-the-arrow-keys-and-return-key-to-navigate/319876)

<div class="topic-metadata">

**Author:** [@handemmet](https://forum.kirupa.com/u/handemmet)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 4:32pm UTC](https://forum.kirupa.com/t/creating-a-website-using-the-arrow-keys-and-return-key-to-navigate/319876 "2011-03-07T16:32:28Z")

</div>

Hi All I'm creating a website where I want to navigate through the menus using the Arrow Keys and by hitting the Return Key.............it launches that selected page. How is this done???? Thank you for any help Re…

---

## [Detect any Button press](https://forum.kirupa.com/t/detect-any-button-press/319875)

<div class="topic-metadata">

**Author:** [@daush](https://forum.kirupa.com/u/daush)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 4:25pm UTC](https://forum.kirupa.com/t/detect-any-button-press/319875 "2011-03-07T16:25:42Z")

</div>

Hi there. Can someone helpme on this. i have 10 buttons on stage. bt01,bt02,bt03... for every button in my code i have bt01.onPress = function() all buttons call the same function: animation(this); How can i detect…

---

## [Nesting Actionscript from external AS into file](https://forum.kirupa.com/t/nesting-actionscript-from-external-as-into-file/319874)

<div class="topic-metadata">

**Author:** [@Ebreezesoccer23](https://forum.kirupa.com/u/Ebreezesoccer23)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 4:23pm UTC](https://forum.kirupa.com/t/nesting-actionscript-from-external-as-into-file/319874 "2011-03-07T16:23:39Z")

</div>

If anyone could help me rework this actionscript i found in a tutorial I would appreciate it. I am wanting to nest it in the file instead of calling it externally. Below is the code. Thanks package { import flash.dis…

---

## [Drag and Drop Application](https://forum.kirupa.com/t/drag-and-drop-application/319870)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 2:15pm UTC](https://forum.kirupa.com/t/drag-and-drop-application/319870 "2011-03-07T14:15:08Z")

</div>

Hi, I’m currently trying to create an application whit some drag and drop functionality but I’m having a hard time trying to figure how this can be done. What I have is basically a rectangular MovieClip which will be…

---

## [Flash over HTML - SEO trick?](https://forum.kirupa.com/t/flash-over-html-seo-trick/319869)

<div class="topic-metadata">

**Author:** [@szymanero](https://forum.kirupa.com/u/szymanero)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 12:32pm UTC](https://forum.kirupa.com/t/flash-over-html-seo-trick/319869 "2011-03-07T12:32:26Z")

</div>

Hello, A question - maybe someone can tell me more about this approach - Flash over html and Google's index. What if u place transparent flash element OVER html - for ex. as an intro, which fades after btn click. Let …

---

## [Enter frame events, a question on optimisation](https://forum.kirupa.com/t/enter-frame-events-a-question-on-optimisation/319866)

<div class="topic-metadata">

**Author:** [@jeffNevington](https://forum.kirupa.com/u/jeffNevington)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 10:42am UTC](https://forum.kirupa.com/t/enter-frame-events-a-question-on-optimisation/319866 "2011-03-07T10:42:24Z")

</div>

Lets say I am working on some basic shooting game that involves lots of moving enemies. The enemies all come from one class that extends movieclip. I want the enemies to move 10px downwards every frame. At the moment…

---

## [AS3, MC follows mouse constant speed?](https://forum.kirupa.com/t/as3-mc-follows-mouse-constant-speed/319864)

<div class="topic-metadata">

**Author:** [@kazenkoh](https://forum.kirupa.com/u/kazenkoh)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 9:00am UTC](https://forum.kirupa.com/t/as3-mc-follows-mouse-constant-speed/319864 "2011-03-07T09:00:53Z")

</div>

Hello, I am new for action-script, and I encountered a problem for making a simple game that character follow the mouse direction with constant speed. and I found one of the thread from other forum is similar what I wa…

---

## [Tutorial: Revisiting Some Tags in HTML 5](https://forum.kirupa.com/t/tutorial-revisiting-some-tags-in-html-5/319861)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 7:58am UTC](https://forum.kirupa.com/t/tutorial-revisiting-some-tags-in-html-5/319861 "2011-03-07T07:58:45Z")

</div>

Hi everyone, This is the place to discuss anything regarding the Revisiting Some Tags in HTML 5 tutorial \[smile\] Cheers, Kirupa :megaman\_x:

---

## [Please teach me a method to let units avoiding obstacle(units)](https://forum.kirupa.com/t/please-teach-me-a-method-to-let-units-avoiding-obstacle-units/319860)

<div class="topic-metadata">

**Author:** [@formns](https://forum.kirupa.com/u/formns)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 7:45am UTC](https://forum.kirupa.com/t/please-teach-me-a-method-to-let-units-avoiding-obstacle-units/319860 "2011-03-07T07:45:12Z")

</div>

Hi, I'm not native English speaker so I don't speak English well but please understand it. I'm just making RTS game and I finished putting units and that a unit could move. And I implemented a game-map with a "Graph". I…

---

## [Help needed "tabEnabling" not working in simple login page](https://forum.kirupa.com/t/help-needed-tabenabling-not-working-in-simple-login-page/319859)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 7:10am UTC](https://forum.kirupa.com/t/help-needed-tabenabling-not-working-in-simple-login-page/319859 "2011-03-07T07:10:29Z")

</div>

Hello Friends, I need a small help in Flex. I am doing a simple login page application in FlashBuilder 4.0 & i have kept 2 input boxes like Login,Password and a submit buttion. On clicking the button i am calling a met…

---

## [Setting Dynamic Boundaries?](https://forum.kirupa.com/t/setting-dynamic-boundaries/319858)

<div class="topic-metadata">

**Author:** [@macrar1010](https://forum.kirupa.com/u/macrar1010)\
**Replies:** 0\
**Last updated:** [March 7, 2011, 7:02am UTC](https://forum.kirupa.com/t/setting-dynamic-boundaries/319858 "2011-03-07T07:02:40Z")

</div>

Hi, I downloaded an interactive (AS2 )map from Active Den and am trying to modify it a little. http://vnd-ink.com/Pat/main/index1.html Mouse over the lower left "Red X" to see the issue. The pop ups are being cu…

---

## [Self-path intersection](https://forum.kirupa.com/t/self-path-intersection/319854)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 10:49pm UTC](https://forum.kirupa.com/t/self-path-intersection/319854 "2011-03-06T22:49:10Z")

</div>

So I'm trying to figure out a way of finding the intersection of a path that loops around on itself. The best way to hold the path of an object would just keep an array of points to a certain length as it moves. I'm lo…

---

## [Guidance With Mouse Motion Slider (Here)](https://forum.kirupa.com/t/guidance-with-mouse-motion-slider-here/319851)

<div class="topic-metadata">

**Author:** [@megshea](https://forum.kirupa.com/u/megshea)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 9:16pm UTC](https://forum.kirupa.com/t/guidance-with-mouse-motion-slider-here/319851 "2011-03-06T21:16:42Z")

</div>

I have been taking bits of tutorials and trying to get a mouse slider for thumbnails working. So far this is what I have: http://www.yazizle.com/flash/thumbSlider01.html. With some great help here I am learning but f…

---

## [Please help! null object reference](https://forum.kirupa.com/t/please-help-null-object-reference/319850)

<div class="topic-metadata">

**Author:** [@Matino](https://forum.kirupa.com/u/Matino)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 9:16pm UTC](https://forum.kirupa.com/t/please-help-null-object-reference/319850 "2011-03-06T21:16:13Z")

</div>

I keep getting some null object reference errors. I was trying to make a maze game and made some codes for MovieClip symbols in seperate files, that's where the error is located. I need help to make the actionscript file…

---

## [Flash File not appearing on website](https://forum.kirupa.com/t/flash-file-not-appearing-on-website/319849)

<div class="topic-metadata">

**Author:** [@viperant](https://forum.kirupa.com/u/viperant)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 8:04pm UTC](https://forum.kirupa.com/t/flash-file-not-appearing-on-website/319849 "2011-03-06T20:04:01Z")

</div>

Hi there, Sorry. I am new to this and i do know there are other post like this (which didn't help me) However I have created a flash video and have placed it on my website (using dreamweaver) and everything works per…

---

## [Heat map blobs](https://forum.kirupa.com/t/heat-map-blobs/319848)

<div class="topic-metadata">

**Author:** [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 8:03pm UTC](https://forum.kirupa.com/t/heat-map-blobs/319848 "2011-03-06T20:03:03Z")

</div>

Hi, Im trying to make a heat map. I have a managed to do all the data bits relatively simply. The bit Im struggling with visualisation part. I can easily draw different sized shapes etc, but it looks like loads of images…

---

## [Why does effectively the same code act differently here?](https://forum.kirupa.com/t/why-does-effectively-the-same-code-act-differently-here/319846)

<div class="topic-metadata">

**Author:** [@accursed](https://forum.kirupa.com/u/accursed)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 7:06pm UTC](https://forum.kirupa.com/t/why-does-effectively-the-same-code-act-differently-here/319846 "2011-03-06T19:06:39Z")

</div>

Oh great masters of actionscript, help out this very sick individual :crazy: Ok, i'm working on a platforming game, and i'll be adding enemies. To do this i thought i'd do a spawn system; a class draws rectangles on st…

---

## [Problem Loading .flv video from Server](https://forum.kirupa.com/t/problem-loading-flv-video-from-server/319844)

<div class="topic-metadata">

**Author:** [@7AP](https://forum.kirupa.com/u/7AP)\
**Replies:** 0\
**Last updated:** [March 6, 2011, 2:26pm UTC](https://forum.kirupa.com/t/problem-loading-flv-video-from-server/319844 "2011-03-06T14:26:39Z")

</div>

On http://www.fuchsia.biz/video.html there should be a flv file loading in streaming. It works perfectly when tested locally...but simply it doesn't start What am I doing wrong? I read somewhere http://kb2.adobe.com/cps/…

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

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