# programming

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

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

**Page:** 905

---

## [Problem with external .swf](https://forum.kirupa.com/t/problem-with-external-swf/282777)

<div class="topic-metadata">

**Author:** [@hellohenric](https://forum.kirupa.com/u/hellohenric)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 10:43am UTC](https://forum.kirupa.com/t/problem-with-external-swf/282777 "2009-02-26T10:43:05Z")

</div>

Hi! I have a huge problem, on page load I have one .swf file that have a preloader that load everything. (as normal...) exept an external .swf file (that loads up when I click a button) Works fine, and the external s…

---

## [Playing one sound while stopping the others](https://forum.kirupa.com/t/playing-one-sound-while-stopping-the-others/282776)

<div class="topic-metadata">

**Author:** [@koneko](https://forum.kirupa.com/u/koneko)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 10:23am UTC](https://forum.kirupa.com/t/playing-one-sound-while-stopping-the-others/282776 "2009-02-26T10:23:08Z")

</div>

Hi, I'm stuck while trying to playing some sound and stopping the others. What I do is : I'm using a linkage to get access to my sound. For example I have 5 linkage sound. I need to play just one specific sound and stop …

---

## [Function repeat](https://forum.kirupa.com/t/function-repeat/282773)

<div class="topic-metadata">

**Author:** [@Mr\_marien](https://forum.kirupa.com/u/Mr_marien)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 9:53am UTC](https://forum.kirupa.com/t/function-repeat/282773 "2009-02-26T09:53:49Z")

</div>

Hi, I have a small problem, I want to repeat the function when you MOUSE\_OVER it.. p\_rechts.addEventListener(MouseEvent.MOUSE\_OVER, rechts); function rechts(e:MouseEvent) { stoel.collada.rotationY -= 5; } …

---

## [How do I make one panel on top?](https://forum.kirupa.com/t/how-do-i-make-one-panel-on-top/282772)

<div class="topic-metadata">

**Author:** [@cpthk](https://forum.kirupa.com/u/cpthk)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 8:41am UTC](https://forum.kirupa.com/t/how-do-i-make-one-panel-on-top/282772 "2009-02-26T08:41:55Z")

</div>

I have many panels in my flex, they are freely draggable. If one is overlap of another, how do I control one to be on top?

---

## [FF and IE - fullscreen image bug](https://forum.kirupa.com/t/ff-and-ie-fullscreen-image-bug/282770)

<div class="topic-metadata">

**Author:** [@pixi](https://forum.kirupa.com/u/pixi)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 8:24am UTC](https://forum.kirupa.com/t/ff-and-ie-fullscreen-image-bug/282770 "2009-02-26T08:24:35Z")

</div>

anyone know how to fix this? or heard of this issue? http://www.campingproperty.com/v11/ On the homepage after you close intro video.. the BG images load fine in IE, but in FF, you have to adjust the browser size …

---

## [Alpha problems](https://forum.kirupa.com/t/alpha-problems/282769)

<div class="topic-metadata">

**Author:** [@HullRobbie](https://forum.kirupa.com/u/HullRobbie)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 8:15am UTC](https://forum.kirupa.com/t/alpha-problems/282769 "2009-02-26T08:15:07Z")

</div>

Hi all, I'm new to Flash and just starting to get my head round ActionScript in Flash CS4, so if I'm missing something blindingly obvious, please bear with me. I'm creating a little project that uses GetDate and a li…

---

## [Width, height, rotation, scale wrong behaviour](https://forum.kirupa.com/t/width-height-rotation-scale-wrong-behaviour/282768)

<div class="topic-metadata">

**Author:** [@fido\_glc](https://forum.kirupa.com/u/fido_glc)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 7:40am UTC](https://forum.kirupa.com/t/width-height-rotation-scale-wrong-behaviour/282768 "2009-02-26T07:40:17Z")

</div>

Hello. I am working with the following properties in handling movieclips: \_width, \_height, \_rotation, \_xscale, \_yscale. The problem is that the movieclips are not as flexible as I thought they would be. What I expect…

---

## [Crerate sound spectrum](https://forum.kirupa.com/t/crerate-sound-spectrum/282765)

<div class="topic-metadata">

**Author:** [@jobybazty](https://forum.kirupa.com/u/jobybazty)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 5:40am UTC](https://forum.kirupa.com/t/crerate-sound-spectrum/282765 "2009-02-26T05:40:44Z")

</div>

Hi, I am very new to Flash and AS programming. I am doing a work which contains a sound spectrum display. I am trying to do it in AS2 or in AS3. In as 3 there is a method called computeSpectrum which will display the cur…

---

## [How to achieve this movement effect](https://forum.kirupa.com/t/how-to-achieve-this-movement-effect/282764)

<div class="topic-metadata">

**Author:** [@mycaptainkite](https://forum.kirupa.com/u/mycaptainkite)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 5:26am UTC](https://forum.kirupa.com/t/how-to-achieve-this-movement-effect/282764 "2009-02-26T05:26:55Z")

</div>

Hey all, I was wondering if anyone could show me how to achieve the effect on this site: http://www.suavinex.com/fusion/. Basically, the script for how to make the mouse position effect the position on the movieclips.

---

## [Drawing with as problem](https://forum.kirupa.com/t/drawing-with-as-problem/282760)

<div class="topic-metadata">

**Author:** [@cac3a](https://forum.kirupa.com/u/cac3a)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 3:48am UTC](https://forum.kirupa.com/t/drawing-with-as-problem/282760 "2009-02-26T03:48:06Z")

</div>

Can someone explain to me or point to somewhere where I can learn why objects change their coordinates in certain situations. To be more specific and give an exmaple I have this simple code that draws a small rectangle. …

---

## [URL Loaded image -\> BitmapData?](https://forum.kirupa.com/t/url-loaded-image-bitmapdata/282758)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 3:00am UTC](https://forum.kirupa.com/t/url-loaded-image-bitmapdata/282758 "2009-02-26T03:00:54Z")

</div>

How can I make this work? Basically I want to load an image from a URL, then set it as bitmapData, as shown below (down incorrect).. var imageLoader:Loader = new Loader(); var image:URLRequest = new URLRequest("http:/…

---

## [Spawing NPC's/Allies movieClipDuplicate Help](https://forum.kirupa.com/t/spawing-npcs-allies-movieclipduplicate-help/282757)

<div class="topic-metadata">

**Author:** [@Outmodeduser](https://forum.kirupa.com/u/Outmodeduser)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 2:52am UTC](https://forum.kirupa.com/t/spawing-npcs-allies-movieclipduplicate-help/282757 "2009-02-26T02:52:46Z")

</div>

Hello! I am working on a Beta for a game similar to armor alley, the Beta is basically me proving to myself i could actually make a game, but i digress. There is a movieClip on the stage that is a button you press (movie…

---

## [Help with Making a State a Button Hyperlink in Flash MX](https://forum.kirupa.com/t/help-with-making-a-state-a-button-hyperlink-in-flash-mx/282756)

<div class="topic-metadata">

**Author:** [@marci](https://forum.kirupa.com/u/marci)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 2:28am UTC](https://forum.kirupa.com/t/help-with-making-a-state-a-button-hyperlink-in-flash-mx/282756 "2009-02-26T02:28:19Z")

</div>

This site has been so much help. I really appreciate the forums and tutorials otherwise I would have thrown both my computer and probably my family out the window by now out of pure frustration. I used the tutorial to…

---

## [Confine Mouse to Shape on Drag?](https://forum.kirupa.com/t/confine-mouse-to-shape-on-drag/282755)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 2:26am UTC](https://forum.kirupa.com/t/confine-mouse-to-shape-on-drag/282755 "2009-02-26T02:26:16Z")

</div>

Using this code as a reference: http://www.flepstudio.org/forum/tutorials/592-startdrag-flash-cs3-actionscript-3-0-a.html I'm wondering if it's possible to confine the mouse's location, on drag, to the shape it is dr…

---

## [How To MUTE A Sound Embedded In A Timeline Layer](https://forum.kirupa.com/t/how-to-mute-a-sound-embedded-in-a-timeline-layer/282753)

<div class="topic-metadata">

**Author:** [@Paradise\_Wolf](https://forum.kirupa.com/u/Paradise_Wolf)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 1:51am UTC](https://forum.kirupa.com/t/how-to-mute-a-sound-embedded-in-a-timeline-layer/282753 "2009-02-26T01:51:48Z")

</div>

\*\*\[FONT=Arial\] I am developing a flash web site using ACTIONSCRIPT 3. There is a menu of small icons that, when one of them is clicked, the program loads the correspondent SWF into a loader and then presents it in a “v…

---

## [Removing onEnterFrame Conditional Not Working Will SetInterval?](https://forum.kirupa.com/t/removing-onenterframe-conditional-not-working-will-setinterval/282747)

<div class="topic-metadata">

**Author:** [@fcastro](https://forum.kirupa.com/u/fcastro)\
**Replies:** 0\
**Last updated:** [February 26, 2009, 12:13am UTC](https://forum.kirupa.com/t/removing-onenterframe-conditional-not-working-will-setinterval/282747 "2009-02-26T00:13:21Z")

</div>

Hi all, I am working on someones as2 file and I noticed that they had an onEnterFrame running non stop in the movie. I don't use onEnterFrame personally. So I tried to create a conditional to stop it. While the conditi…

---

## [Need help to convert multi pages PDF into SWF SLideshow](https://forum.kirupa.com/t/need-help-to-convert-multi-pages-pdf-into-swf-slideshow/282745)

<div class="topic-metadata">

**Author:** [@yukitopia](https://forum.kirupa.com/u/yukitopia)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 11:48pm UTC](https://forum.kirupa.com/t/need-help-to-convert-multi-pages-pdf-into-swf-slideshow/282745 "2009-02-25T23:48:59Z")

</div>

Is there an easy way to convert a multiple page PDF into an SWF slideshow? What I need to do is to make a single slideshow out of a 30 pages PDF, hoping to have it play slide by slide automatically with a 5-7 seconds i…

---

## [Video player/recorder question](https://forum.kirupa.com/t/video-player-recorder-question/282743)

<div class="topic-metadata">

**Author:** [@myCatMishka](https://forum.kirupa.com/u/myCatMishka)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 11:35pm UTC](https://forum.kirupa.com/t/video-player-recorder-question/282743 "2009-02-25T23:35:21Z")

</div>

Does anyone know of a Flash Video player, that can also record and save the recorded file? (I have CS3) I am in need of this, my player is currently in AS2, If anyone is willing to help me on a project, I will make sur…

---

## [Accessing stage instances and instantiation order](https://forum.kirupa.com/t/accessing-stage-instances-and-instantiation-order/282742)

<div class="topic-metadata">

**Author:** [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 11:05pm UTC](https://forum.kirupa.com/t/accessing-stage-instances-and-instantiation-order/282742 "2009-02-25T23:05:25Z")

</div>

Hello, I've been having a problem that I have not found a good solution for. I think this is a problem related to the Flash Player's architecture so an experienced eye here would be welcome. Imagine you've got 3 symb…

---

## [Run-time font embedding](https://forum.kirupa.com/t/run-time-font-embedding/282741)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 10:56pm UTC](https://forum.kirupa.com/t/run-time-font-embedding/282741 "2009-02-25T22:56:38Z")

</div>

I've looked everywhere for far too long and attempted many different solutions but just can't get this to work. Right now I'm doing this: \[Embed(source="/Users/sheldonnbbaker/Library/Fonts/AUdimat-Bold.ttf", fontFam…

---

## [Suckerfish / jQuery menu won't stay open in IE6](https://forum.kirupa.com/t/suckerfish-jquery-menu-wont-stay-open-in-ie6/282737)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 8:51pm UTC](https://forum.kirupa.com/t/suckerfish-jquery-menu-wont-stay-open-in-ie6/282737 "2009-02-25T20:51:04Z")

</div>

I've been working on using jQuery to get the pseudo :hover state mimicked for a horizontal Son of Suckerfish menu working in IE6. I'm almost there, except I can't seem to keep the 1st level sub-menu active past the menu…

---

## [How to add score](https://forum.kirupa.com/t/how-to-add-score/282732)

<div class="topic-metadata">

**Author:** [@hoho501](https://forum.kirupa.com/u/hoho501)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 7:38pm UTC](https://forum.kirupa.com/t/how-to-add-score/282732 "2009-02-25T19:38:52Z")

</div>

Plzzz help me i want to make it so when ever the ball hits the edges or the rectangle touches the ball it subtracts 5 points from the score but every second adds 1 point to the score heres the file

---

## [Problem with Stage.displayState in Chrome](https://forum.kirupa.com/t/problem-with-stage-displaystate-in-chrome/282729)

<div class="topic-metadata">

**Author:** [@pablosci](https://forum.kirupa.com/u/pablosci)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 7:11pm UTC](https://forum.kirupa.com/t/problem-with-stage-displaystate-in-chrome/282729 "2009-02-25T19:11:49Z")

</div>

Im having problems using Stage.displayState to launch a fullscreen state on a swf. The problem is that when the Stage.displayState = "fullscreen" (fs is launched) the mouse gets hand cursor and never remove while the fs …

---

## [Flash/AS3 XML Event Calendar](https://forum.kirupa.com/t/flash-as3-xml-event-calendar/282728)

<div class="topic-metadata">

**Author:** [@ghostir](https://forum.kirupa.com/u/ghostir)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 7:05pm UTC](https://forum.kirupa.com/t/flash-as3-xml-event-calendar/282728 "2009-02-25T19:05:30Z")

</div>

I am creating an XML-driven events calendar. What I have so far may be viewed at www.harlemedc.biz/activities.htm. Within the activities XML file are twelve “month” nodes, within which there are up to three “item” no…

---

## [Working with Dates between MySQL / PHP](https://forum.kirupa.com/t/working-with-dates-between-mysql-php/282726)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 6:57pm UTC](https://forum.kirupa.com/t/working-with-dates-between-mysql-php/282726 "2009-02-25T18:57:08Z")

</div>

What's your favorite way to work with dates when passing them between PHP / MySQL? At some point between the db and output (for most situations) you've got to convert the formatting of the date from whatever is in the db…

---

## [Flipping Polaroid Picture with AS3](https://forum.kirupa.com/t/flipping-polaroid-picture-with-as3/282725)

<div class="topic-metadata">

**Author:** [@FPG](https://forum.kirupa.com/u/FPG)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 6:54pm UTC](https://forum.kirupa.com/t/flipping-polaroid-picture-with-as3/282725 "2009-02-25T18:54:31Z")

</div>

I'm fairly new to AS3 and I recently upgraded from Flash 8 to Flash CS4. I was impressed with the 3D rotation tool and wanted to employ 3D effects in my latest project. In it, I want to have a bunch of Polaroids cascadi…

---

## [\[AS2\]\[CS4\] Scrolling masked movieclip issue](https://forum.kirupa.com/t/as2-cs4-scrolling-masked-movieclip-issue/282722)

<div class="topic-metadata">

**Author:** [@CYB34](https://forum.kirupa.com/u/CYB34)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 5:51pm UTC](https://forum.kirupa.com/t/as2-cs4-scrolling-masked-movieclip-issue/282722 "2009-02-25T17:51:23Z")

</div>

Hello, I'm trying to make a movieclip (contentMain) scroll on the y-axis (using mouse wheel, not pan) with the following code: mouseListener = new Object(); mouseListener.onMouseWheel = function (delta) { contentMain…

---

## [Inverted horizontal scrolling](https://forum.kirupa.com/t/inverted-horizontal-scrolling/282719)

<div class="topic-metadata">

**Author:** [@will2](https://forum.kirupa.com/u/will2)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 5:08pm UTC](https://forum.kirupa.com/t/inverted-horizontal-scrolling/282719 "2009-02-25T17:08:38Z")

</div>

Hey, I've got some actionscript I'm working on. I've got it to a pretty good point, but I'm having trouble refining the movement. Here is my code, nice and simple: onClipEvent (enterFrame) { if(this.\_ymouse \>=…

---

## [Masking inside movie clips?](https://forum.kirupa.com/t/masking-inside-movie-clips/282716)

<div class="topic-metadata">

**Author:** [@Phandral](https://forum.kirupa.com/u/Phandral)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 4:44pm UTC](https://forum.kirupa.com/t/masking-inside-movie-clips/282716 "2009-02-25T16:44:33Z")

</div>

Hey everyone, I'm new around these parts and to Flash CS4. Getting down to it, I always wanted Flash to emulate After Effects' animation environment after Adobe acquired it from Macromedia, but you know what they say a…

---

## [How do I make an outline from a shape?](https://forum.kirupa.com/t/how-do-i-make-an-outline-from-a-shape/282715)

<div class="topic-metadata">

**Author:** [@DaJackal](https://forum.kirupa.com/u/DaJackal)\
**Replies:** 0\
**Last updated:** [February 25, 2009, 4:44pm UTC](https://forum.kirupa.com/t/how-do-i-make-an-outline-from-a-shape/282715 "2009-02-25T16:44:23Z")

</div>

Hi! If I have a circle shape, or any else shape, what I should do to make a nice simple outline to that shape. Is there any way to make this simple. I tried to make this with the pen tool, bun it wasn't very precise. I…

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

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