# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1155

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

**Page:** 1156

---

## [AS3 OOP Best Practices](https://forum.kirupa.com/t/as3-oop-best-practices/244936)

<div class="topic-metadata">

**Author:** [@Sekka](https://forum.kirupa.com/u/Sekka)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 7:33pm UTC](https://forum.kirupa.com/t/as3-oop-best-practices/244936 "2007-11-23T19:33:06Z")

</div>

Hey, I am looking for some opinions on best practices for coding using OOP. I have been away from Flash for a while, and I am getting back into it at the moment for a project at University. I am diving right in to AS…

---

## [Can someone help me clean-up my code please?](https://forum.kirupa.com/t/can-someone-help-me-clean-up-my-code-please/244935)

<div class="topic-metadata">

**Author:** [@LittleFenris](https://forum.kirupa.com/u/LittleFenris)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 6:39pm UTC](https://forum.kirupa.com/t/can-someone-help-me-clean-up-my-code-please/244935 "2007-11-23T18:39:40Z")

</div>

So I've got my site working, but I KNOW the code is messy and inefficient. I'm very new to programming and haven't learned "proper" coding practices. I figure there is some way of using a "for loop" to do this more ef…

---

## [Drag and drop with multiple movie clip](https://forum.kirupa.com/t/drag-and-drop-with-multiple-movie-clip/244932)

<div class="topic-metadata">

**Author:** [@eureka5720](https://forum.kirupa.com/u/eureka5720)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 5:53pm UTC](https://forum.kirupa.com/t/drag-and-drop-with-multiple-movie-clip/244932 "2007-11-23T17:53:34Z")

</div>

Hi There; Referring to the tutorial at http://www.hed.swin.edu.au/design/tutorials/flash/drag\_drop\_tut/index.php#five (under the title of drag multiple object), i would like to make it allow the circle\_mc able to drop …

---

## [ActionScript-javascript communication](https://forum.kirupa.com/t/actionscript-javascript-communication/244924)

<div class="topic-metadata">

**Author:** [@mfsiddiq](https://forum.kirupa.com/u/mfsiddiq)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 4:10pm UTC](https://forum.kirupa.com/t/actionscript-javascript-communication/244924 "2007-11-23T16:10:45Z")

</div>

HI I am facing some problem with my as-js communication.I am passing a String expression to a javascript function using ExternalInterface.call function upon mouse click.My string expression is as follows …

---

## [MP3 Player XML help](https://forum.kirupa.com/t/mp3-player-xml-help/244923)

<div class="topic-metadata">

**Author:** [@Woodpeckersam](https://forum.kirupa.com/u/Woodpeckersam)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 4:01pm UTC](https://forum.kirupa.com/t/mp3-player-xml-help/244923 "2007-11-23T16:01:19Z")

</div>

Hi all i have a little problems… I followed the MP3 player tutorial on this website (great site, video tutorials) http://www.gotoandlearn.com Everything runs smoothly, but I noticed that the tutorial maker did not inc…

---

## [Sliding slideshow with XML](https://forum.kirupa.com/t/sliding-slideshow-with-xml/244922)

<div class="topic-metadata">

**Author:** [@andyd](https://forum.kirupa.com/u/andyd)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 4:00pm UTC](https://forum.kirupa.com/t/sliding-slideshow-with-xml/244922 "2007-11-23T16:00:28Z")

</div>

Hi Bit of an ask but does anyone know of a good tutorial that shows you how to create a sliding left/right slideshow (when the mouse goes left/right), the slides get bigger in the middle of the slideshow and smaller on…

---

## [Hiding Referrer Url](https://forum.kirupa.com/t/hiding-referrer-url/244921)

<div class="topic-metadata">

**Author:** [@emmett\_m](https://forum.kirupa.com/u/emmett_m)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 3:35pm UTC](https://forum.kirupa.com/t/hiding-referrer-url/244921 "2007-11-23T15:35:58Z")

</div>

Hello All, I have been doing freelance work for a client over the last year, who has asked me NOT to post any of that work on my portfolio, since his clients will see my portfolio's address in their referrer logs (with…

---

## [Stage\["displayState"\] help](https://forum.kirupa.com/t/stage-displaystate-help/244920)

<div class="topic-metadata">

**Author:** [@paul\_ferrie](https://forum.kirupa.com/u/paul_ferrie)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 3:27pm UTC](https://forum.kirupa.com/t/stage-displaystate-help/244920 "2007-11-23T15:27:36Z")

</div>

Hi guys, I have been messing around with Stage\["displayState"\]. So far i am seeing good results with what i am working on but i have noticed one small niggly thing. When i jump to fullscreen Text input fields no long…

---

## [Drag Mc on its \_x](https://forum.kirupa.com/t/drag-mc-on-its--x/244914)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 2:03pm UTC](https://forum.kirupa.com/t/drag-mc-on-its--x/244914 "2007-11-23T14:03:09Z")

</div>

How do I drag a MC just on its \_x axis, keeping the \_y the same? Thanks

---

## [Event handling problem](https://forum.kirupa.com/t/event-handling-problem/244911)

<div class="topic-metadata">

**Author:** [@encantado](https://forum.kirupa.com/u/encantado)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 12:32pm UTC](https://forum.kirupa.com/t/event-handling-problem/244911 "2007-11-23T12:32:36Z")

</div>

Hey guys & girls, As an event handling noob i've come up to the following problem: The code below generates a menu but i fail to get any response out of the event handling. Everything works just fine except that one ev…

---

## [Rewind movieclip](https://forum.kirupa.com/t/rewind-movieclip/244910)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 12:15pm UTC](https://forum.kirupa.com/t/rewind-movieclip/244910 "2007-11-23T12:15:03Z")

</div>

Hello all!! I have a main\_menu.swf that holds, you guessed it, the main menu \[smile\] The main menu moves its y value on all the different menu buttons depending on the contents of the .swf that holds the contents tha…

---

## [mc\_tween2.as question](https://forum.kirupa.com/t/mc-tween2-as-question/244909)

<div class="topic-metadata">

**Author:** [@Crookmon](https://forum.kirupa.com/u/Crookmon)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 11:40am UTC](https://forum.kirupa.com/t/mc-tween2-as-question/244909 "2007-11-23T11:40:31Z")

</div>

Hey there, I've got this problem with AS code that works properly only with certain publish settings. I'm using mc\_tween2 on a Flash8 project and I've downloaded a mc\_tween2.as sample called Activated Menu from the mc…

---

## [Resize class](https://forum.kirupa.com/t/resize-class/244907)

<div class="topic-metadata">

**Author:** [@wanda](https://forum.kirupa.com/u/wanda)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 11:22am UTC](https://forum.kirupa.com/t/resize-class/244907 "2007-11-23T11:22:59Z")

</div>

Argh .. this is really geeting on my nerves! I am trying to make a resize class that centers my main movie, but i can't seem to get it to work when i put it in a class. This is my code so far. import mx.utils.Dele…

---

## [Help Flex Problem](https://forum.kirupa.com/t/help-flex-problem/244906)

<div class="topic-metadata">

**Author:** [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 11:19am UTC](https://forum.kirupa.com/t/help-flex-problem/244906 "2007-11-23T11:19:52Z")

</div>

Hi i have just downloaded Flex Builder 2 and Flash 9 player for Internet Explorer. I added this piece of code in my ProgrammingBasics.as file: \[LEFT\] package { import flash.display.Sprite; public class ProgrammingBa…

---

## [Preloading images - Automated slideshow](https://forum.kirupa.com/t/preloading-images-automated-slideshow/244902)

<div class="topic-metadata">

**Author:** [@James001](https://forum.kirupa.com/u/James001)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 9:41am UTC](https://forum.kirupa.com/t/preloading-images-automated-slideshow/244902 "2007-11-23T09:41:30Z")

</div>

Hi, can anyone help me here. I've created a slideshow that runs off a setInterval. Basically I just want the next jpg in the array to load whilst the current slide is on the screen for the specified interval. ///I also…

---

## [XML gallery/navigation category](https://forum.kirupa.com/t/xml-gallery-navigation-category/244891)

<div class="topic-metadata">

**Author:** [@ToubMor](https://forum.kirupa.com/u/ToubMor)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 5:26am UTC](https://forum.kirupa.com/t/xml-gallery-navigation-category/244891 "2007-11-23T05:26:45Z")

</div>

Hi there, ive been searching the forum for hours but cant exactly find what i need. Im building this navigation/gallery sort a thing and im using KIRUPA's gallery. I know how this thing works now, but i iwant to try so…

---

## [Kirupa Photo gallery... can run in Flash 5?](https://forum.kirupa.com/t/kirupa-photo-gallery-can-run-in-flash-5/244886)

<div class="topic-metadata">

**Author:** [@bartlock](https://forum.kirupa.com/u/bartlock)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 1:56am UTC](https://forum.kirupa.com/t/kirupa-photo-gallery-can-run-in-flash-5/244886 "2007-11-23T01:56:12Z")

</div>

Hi. Is there a way to make the Kirupa Photo gallery to run with Flash 5 plug in? http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm

---

## [Count Up with Form Submission](https://forum.kirupa.com/t/count-up-with-form-submission/244881)

<div class="topic-metadata">

**Author:** [@tweaked\_eye](https://forum.kirupa.com/u/tweaked_eye)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 12:29am UTC](https://forum.kirupa.com/t/count-up-with-form-submission/244881 "2007-11-23T00:29:06Z")

</div>

Does anyone know of a component or script or tutorial how I can create a Flash Form that would allow someone to enter a date and have it spit out how many days since the date they provided? TIA! I am assuming there wou…

---

## [Dynamic Movie scope question](https://forum.kirupa.com/t/dynamic-movie-scope-question/244880)

<div class="topic-metadata">

**Author:** [@hc3d](https://forum.kirupa.com/u/hc3d)\
**Replies:** 0\
**Last updated:** [November 23, 2007, 12:15am UTC](https://forum.kirupa.com/t/dynamic-movie-scope-question/244880 "2007-11-23T00:15:43Z")

</div>

\[FONT=Times New Roman\] Dynamic MovieClip scope question \[/FONT\] \[FONT=Times New Roman\] \[/FONT\] \[FONT=Times New Roman\] I reused the thumbnail tutorial code from this site and retooled it to work from PHP to MyS…

---

## [Open Source Drawing Tool Classes for a Flash Drawing Pad?](https://forum.kirupa.com/t/open-source-drawing-tool-classes-for-a-flash-drawing-pad/244878)

<div class="topic-metadata">

**Author:** [@insultcomidog](https://forum.kirupa.com/u/insultcomidog)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 11:55pm UTC](https://forum.kirupa.com/t/open-source-drawing-tool-classes-for-a-flash-drawing-pad/244878 "2007-11-22T23:55:00Z")

</div>

Hey Guys, I'm trying to create a simple Flash drawing pad that allows to save and edit their drawings. I found Sen's tutorial but it appears to be written in Flash 6 and AS1: http://www.senocular.com/index.php?id=0.1…

---

## [\[FLASH8\] Getting an image gallery to show in another flash doc](https://forum.kirupa.com/t/flash8-getting-an-image-gallery-to-show-in-another-flash-doc/244873)

<div class="topic-metadata">

**Author:** [@elmoe](https://forum.kirupa.com/u/elmoe)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 10:58pm UTC](https://forum.kirupa.com/t/flash8-getting-an-image-gallery-to-show-in-another-flash-doc/244873 "2007-11-22T22:58:20Z")

</div>

Hey, I'm working in Actionscript 2 and I've been trying to get an image gallery to show up in my portfolio flash document. I know there is only a few lines of code to get this done....but I can't figure it out. Actionscr…

---

## [Sending messages from XML sockets](https://forum.kirupa.com/t/sending-messages-from-xml-sockets/244870)

<div class="topic-metadata">

**Author:** [@True\_Believer](https://forum.kirupa.com/u/True_Believer)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 9:28pm UTC](https://forum.kirupa.com/t/sending-messages-from-xml-sockets/244870 "2007-11-22T21:28:09Z")

</div>

Can some body please help me with this I am really stuck I’ve been staring at this for the past few hours and I can’t seem to work it out. I am using XML sockets and I need to send this to the server \[FONT=TimesNewR…

---

## [Small OOP Problem](https://forum.kirupa.com/t/small-oop-problem/244869)

<div class="topic-metadata">

**Author:** [@fried](https://forum.kirupa.com/u/fried)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 8:45pm UTC](https://forum.kirupa.com/t/small-oop-problem/244869 "2007-11-22T20:45:27Z")

</div>

Hi there, I am still very new to OOP and writing custom classes. Learning alot as I am going along. I am trying to write a simple preloader class. My question in my constructor function I call the drawshape() method a…

---

## [Confused about movieclip variables](https://forum.kirupa.com/t/confused-about-movieclip-variables/244868)

<div class="topic-metadata">

**Author:** [@phileasFoggy](https://forum.kirupa.com/u/phileasFoggy)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 8:28pm UTC](https://forum.kirupa.com/t/confused-about-movieclip-variables/244868 "2007-11-22T20:28:33Z")

</div>

Hello, I'm not very good at this programming thing but I thought this might work: \_global.whichClicked; b1.onMouseDown = function() { \_global.whichClicked = 1; }; b1.onMouseDown = function() { \_global.whichC…

---

## [Editing Actionscript](https://forum.kirupa.com/t/editing-actionscript/244864)

<div class="topic-metadata">

**Author:** [@apriigem](https://forum.kirupa.com/u/apriigem)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 7:15pm UTC](https://forum.kirupa.com/t/editing-actionscript/244864 "2007-11-22T19:15:23Z")

</div>

Hello all! I got this code for falling snow from this site and I was wondering if anyone know how to edit it so that I could have the snow float upwards instead of floating downwards. I'm not that great with actionscript…

---

## [Property of Movie Clip?](https://forum.kirupa.com/t/property-of-movie-clip/244862)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 6:35pm UTC](https://forum.kirupa.com/t/property-of-movie-clip/244862 "2007-11-22T18:35:39Z")

</div>

How do I center dynamically loaded pic? I've got this code: var mcLoder:MovieClipLoader = new MovieClipLoader (); var myListener:Object = new Object (); mcLoader.addListener(myListener); this.createEmptyMovieClip("m…

---

## [XML Feeds and FLV's](https://forum.kirupa.com/t/xml-feeds-and-flvs/244859)

<div class="topic-metadata">

**Author:** [@RabBell](https://forum.kirupa.com/u/RabBell)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 4:42pm UTC](https://forum.kirupa.com/t/xml-feeds-and-flvs/244859 "2007-11-22T16:42:26Z")

</div>

I've just started a new job when I notice on the website we have we're showing videos using Media Player. I ask, why don't use Flash player instead. One of the other developers agrees with me and then asks "How about w…

---

## [Loading different content depending on website](https://forum.kirupa.com/t/loading-different-content-depending-on-website/244857)

<div class="topic-metadata">

**Author:** [@bigbalroo](https://forum.kirupa.com/u/bigbalroo)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 4:26pm UTC](https://forum.kirupa.com/t/loading-different-content-depending-on-website/244857 "2007-11-22T16:26:00Z")

</div>

hey all, A quick question on a possibility.. Is it possible to have different content such as text and images to be loading into flash depending on what wesbsite the swf is in? let me break it down... 1 - I have …

---

## [Swf To Dvd For Plasma](https://forum.kirupa.com/t/swf-to-dvd-for-plasma/244856)

<div class="topic-metadata">

**Author:** [@thanigaiarasu](https://forum.kirupa.com/u/thanigaiarasu)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 4:08pm UTC](https://forum.kirupa.com/t/swf-to-dvd-for-plasma/244856 "2007-11-22T16:08:36Z")

</div>

I have a swf file which needs to play from a DVD on a 42" plasma screen. What resolution my flash file be and what converter should i use? - Thanigai Arasu . R

---

## [Explanation of scope and good practice wanted](https://forum.kirupa.com/t/explanation-of-scope-and-good-practice-wanted/244855)

<div class="topic-metadata">

**Author:** [@opet](https://forum.kirupa.com/u/opet)\
**Replies:** 0\
**Last updated:** [November 22, 2007, 3:53pm UTC](https://forum.kirupa.com/t/explanation-of-scope-and-good-practice-wanted/244855 "2007-11-22T15:53:24Z")

</div>

Hello people, My first post here so be kind to me \[smile\] I've been in and out of flash and actionscript for quite a while, but never had the time to properly get into it. As I'm now starting a slightly larger projec…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1154)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1156)
