# programming

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

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

**Page:** 1702

---

## [Loop you stupid streamed song! ARG!](https://forum.kirupa.com/t/loop-you-stupid-streamed-song-arg/227174)

<div class="topic-metadata">

**Author:** [@Bloodshed](https://forum.kirupa.com/u/Bloodshed)\
**Replies:** 0\
**Last updated:** [May 28, 2007, 5:15am UTC](https://forum.kirupa.com/t/loop-you-stupid-streamed-song-arg/227174 "2007-05-28T05:15:16Z")

</div>

I have made it so a small song streams in flash, I have also made stop and play buttons. Stream code (which I have placed on a text box): onClipEvent (load) { mySound = new Sound(); mySound.loadSound("song…

---

## [SWF slows down in HTML?](https://forum.kirupa.com/t/swf-slows-down-in-html/227173)

<div class="topic-metadata">

**Author:** [@rohan](https://forum.kirupa.com/u/rohan)\
**Replies:** 0\
**Last updated:** [May 28, 2007, 4:09am UTC](https://forum.kirupa.com/t/swf-slows-down-in-html/227173 "2007-05-28T04:09:19Z")

</div>

Having a weird problem that I've never experience before...after testing my SWF from flash and seeing that all animations were working fine, I went along and placed it in an HTML file to test some things, and noticed the…

---

## [Tired eye's and MySQL errors... :(](https://forum.kirupa.com/t/tired-eyes-and-mysql-errors/227165)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [May 28, 2007, 1:32am UTC](https://forum.kirupa.com/t/tired-eyes-and-mysql-errors/227165 "2007-05-28T01:32:13Z")

</div>

$query = "INSERT INTO books (key,author,title,publisher,year,cat) VALUES ('$bookKey','$auth','$title','$publisher','$year','$cat');"; Can anybody tell me what's wrong with the above query? I, for the life of me, can't …

---

## [Flash Memory Usage](https://forum.kirupa.com/t/flash-memory-usage/227164)

<div class="topic-metadata">

**Author:** [@silent111](https://forum.kirupa.com/u/silent111)\
**Replies:** 0\
**Last updated:** [May 28, 2007, 1:27am UTC](https://forum.kirupa.com/t/flash-memory-usage/227164 "2007-05-28T01:27:53Z")

</div>

Well I got two questions here about memory usage of flash programs. 1. I made a flash game and when I play it the memory usage looks normal but if I leave it running for a long time it seems to just keep going up and u…

---

## [MySQL Error](https://forum.kirupa.com/t/mysql-error/227160)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 11:28pm UTC](https://forum.kirupa.com/t/mysql-error/227160 "2007-05-27T23:28:36Z")

</div>

Hey all, just got a little prob which is absolutely buggin me i can't find this simple error...i'm going blind because i tested it it worked fine....couple hours later tested again (nothing changed) and i get this erro…

---

## [Fullscreen mode not working](https://forum.kirupa.com/t/fullscreen-mode-not-working/227157)

<div class="topic-metadata">

**Author:** [@mathew\_er](https://forum.kirupa.com/u/mathew_er)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 10:58pm UTC](https://forum.kirupa.com/t/fullscreen-mode-not-working/227157 "2007-05-27T22:58:40Z")

</div>

Hello \[smile\] I'm not really getting this... in a flex HTML template I have this \<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="${application}" width="${width}" height="${height}" codebas…

---

## [MovieClip navigation?](https://forum.kirupa.com/t/movieclip-navigation/227154)

<div class="topic-metadata">

**Author:** [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 10:17pm UTC](https://forum.kirupa.com/t/movieclip-navigation/227154 "2007-05-27T22:17:13Z")

</div>

I know this is a very simple question and it has a very simple answer. I am having a brain fart and I cannot figure this out to save my life. I have the following code below. The problem is I am trying to access a cert…

---

## [Is it possible to code a page counter into flash?](https://forum.kirupa.com/t/is-it-possible-to-code-a-page-counter-into-flash/227152)

<div class="topic-metadata">

**Author:** [@Loof](https://forum.kirupa.com/u/Loof)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 9:08pm UTC](https://forum.kirupa.com/t/is-it-possible-to-code-a-page-counter-into-flash/227152 "2007-05-27T21:08:35Z")

</div>

Can I have a counter in flash? I don't know if it's possible in ActionScript. What about a Javascript version?

---

## [Flash on Mac](https://forum.kirupa.com/t/flash-on-mac/227150)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 7:32pm UTC](https://forum.kirupa.com/t/flash-on-mac/227150 "2007-05-27T19:32:12Z")

</div>

So, I'm running Flash CS3 on my MacBook Pro (17") with Intel Chip... I just got it like 2 months ago. But I'm noticing that there's a lag when I'm working in Flash. double-clicking on layers to rename them, switching in…

---

## [TextField "Reading" Para Returns from External](https://forum.kirupa.com/t/textfield-reading-para-returns-from-external/227149)

<div class="topic-metadata">

**Author:** [@will\_s](https://forum.kirupa.com/u/will_s)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 7:28pm UTC](https://forum.kirupa.com/t/textfield-reading-para-returns-from-external/227149 "2007-05-27T19:28:39Z")

</div>

I have an external text file that is styled with HTML and also picks up CSS styles from an external file once loaded into a dynamic text field. It works great--too great. I want to put paragraph returns in the text f…

---

## [What is the correct way to use attachMovie?](https://forum.kirupa.com/t/what-is-the-correct-way-to-use-attachmovie/227142)

<div class="topic-metadata">

**Author:** [@Loof](https://forum.kirupa.com/u/Loof)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 4:03pm UTC](https://forum.kirupa.com/t/what-is-the-correct-way-to-use-attachmovie/227142 "2007-05-27T16:03:09Z")

</div>

I’m trying to make a file that creates an empty MC, then another MC is attached. Here is what I have, but it isn’t working: \_root.createEmptyMovieClip(ASClip, this.getNextHighestDepth); ASClip.attachMovie(“logoMC”, “T…

---

## [51's Forum scripts download](https://forum.kirupa.com/t/51s-forum-scripts-download/227139)

<div class="topic-metadata">

**Author:** [@hanklu](https://forum.kirupa.com/u/hanklu)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 3:16pm UTC](https://forum.kirupa.com/t/51s-forum-scripts-download/227139 "2007-05-27T15:16:25Z")

</div>

I will delete file in July. PHP A. \[BBS\]Aterr-0..9.2 \[BBS\]AZBB1.0 B. \[BBS\]bbpress0.8 C. \[BBS\]CelesteBoard2003,Aug \[BBS\]CKong-2.6 \[BBS\]CBB0.9Beta3 \[BBS\]CoolForum0.8.4 D . \[BBS\]Discuz!5.5.0 \[BBS\]DynamicFlashFor…

---

## [Newbie Sound Questions](https://forum.kirupa.com/t/newbie-sound-questions/227136)

<div class="topic-metadata">

**Author:** [@cherrybomb](https://forum.kirupa.com/u/cherrybomb)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 1:27pm UTC](https://forum.kirupa.com/t/newbie-sound-questions/227136 "2007-05-27T13:27:19Z")

</div>

Hey there I'm pretty new to flash, just about getting the hang of buttons....I have a college project that I'm working on and have to include some sound. I wanted to know whether you could add actionscripts to imported s…

---

## [Navigation - button behaviour!?!?!?!?](https://forum.kirupa.com/t/navigation-button-behaviour/227129)

<div class="topic-metadata">

**Author:** [@lena](https://forum.kirupa.com/u/lena)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 11:44am UTC](https://forum.kirupa.com/t/navigation-button-behaviour/227129 "2007-05-27T11:44:49Z")

</div>

Hola. I have made simple navigation using external "Imc\_tween.as". It works beautifull, but there is one thing I can't make it to work. I can't make active button/link to be "dead" and in "active" colour. Any solution? …

---

## [Full screen flash query](https://forum.kirupa.com/t/full-screen-flash-query/227127)

<div class="topic-metadata">

**Author:** [@rohan](https://forum.kirupa.com/u/rohan)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 11:38am UTC](https://forum.kirupa.com/t/full-screen-flash-query/227127 "2007-05-27T11:38:00Z")

</div>

Just wondering...if the average user has a resolution of 1024 x 768...and you want to make a full screen flash movie...what resolution should you keep your file at? :h: And also...I want to create a flash movie that occ…

---

## [getURL Question](https://forum.kirupa.com/t/geturl-question/227126)

<div class="topic-metadata">

**Author:** [@dr77](https://forum.kirupa.com/u/dr77)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 10:56am UTC](https://forum.kirupa.com/t/geturl-question/227126 "2007-05-27T10:56:16Z")

</div>

Hello all, I would like to allow visitors to download flash files from my website. I have the following code one my first button: download\_btn.onRelease = function(){ getURL("blankWebsite.exe"); } This works fin…

---

## [Email Validation not working... Always sends never wrong! help?](https://forum.kirupa.com/t/email-validation-not-working-always-sends-never-wrong-help/227125)

<div class="topic-metadata">

**Author:** [@PinkPoliceman](https://forum.kirupa.com/u/PinkPoliceman)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 10:08am UTC](https://forum.kirupa.com/t/email-validation-not-working-always-sends-never-wrong-help/227125 "2007-05-27T10:08:12Z")

</div>

I just want one field to validate the email, currently it is sending no matter what is entered in to the form field...? What is wrong with my code your help is much appreciated. Thanks. \<?php function checkEmail($txt…

---

## [Using the Shared Library](https://forum.kirupa.com/t/using-the-shared-library/227123)

<div class="topic-metadata">

**Author:** [@darkstyle](https://forum.kirupa.com/u/darkstyle)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 9:54am UTC](https://forum.kirupa.com/t/using-the-shared-library/227123 "2007-05-27T09:54:43Z")

</div>

\*\*I love this tutorials http://www.kirupa.com/developer/flash8/shared\_library.htm But I have one question: How can i Pre-load my external shared library file before loading my flash??? \*\*

---

## [FLV player script - Clear function needed](https://forum.kirupa.com/t/flv-player-script-clear-function-needed/227122)

<div class="topic-metadata">

**Author:** [@VisualSpeaks](https://forum.kirupa.com/u/VisualSpeaks)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 9:38am UTC](https://forum.kirupa.com/t/flv-player-script-clear-function-needed/227122 "2007-05-27T09:38:08Z")

</div>

Aloha everyone, I am working on a film company website, experiencing some issues with the flv player. I am urgently seeking some help on creating the "clear function" to initialize the process, could anyone help me what …

---

## [Animation and function, controlling \_x and \_y](https://forum.kirupa.com/t/animation-and-function-controlling--x-and--y/227120)

<div class="topic-metadata">

**Author:** [@Theofiel](https://forum.kirupa.com/u/Theofiel)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 9:21am UTC](https://forum.kirupa.com/t/animation-and-function-controlling--x-and--y/227120 "2007-05-27T09:21:46Z")

</div>

Hi Kirupaneers, Have been struggeling for days now :jail:, I have in the \_root a function called elastic and then on the stage a movieclip containing 9 smaller clips called t1 --\> t9, these movieclips are each at a dif…

---

## [\[CS3\] how to script: save drawing on swf, then reload to draw again](https://forum.kirupa.com/t/cs3-how-to-script-save-drawing-on-swf-then-reload-to-draw-again/227119)

<div class="topic-metadata">

**Author:** [@ivaninkirupa](https://forum.kirupa.com/u/ivaninkirupa)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 8:43am UTC](https://forum.kirupa.com/t/cs3-how-to-script-save-drawing-on-swf-then-reload-to-draw-again/227119 "2007-05-27T08:43:02Z")

</div>

i'm working on a class project that allows people to draw on a square, save it, display it for others to see, and then lets anyone to continue drawing on that square. how do i script that? i need to use flash and AS2.0…

---

## [PLEASE HELP! Easing scrollbar code needed to add mouse wheel function not working?](https://forum.kirupa.com/t/please-help-easing-scrollbar-code-needed-to-add-mouse-wheel-function-not-working/227116)

<div class="topic-metadata">

**Author:** [@ace0002](https://forum.kirupa.com/u/ace0002)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 6:33am UTC](https://forum.kirupa.com/t/please-help-easing-scrollbar-code-needed-to-add-mouse-wheel-function-not-working/227116 "2007-05-27T06:33:19Z")

</div>

\[COLOR=black\]\[FONT=Arial\]Hi,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\]I really appreciate some help here is the code below for my scrollbar which works fine but I can't get the mouse wheel code to work (I've taken it ou…

---

## [Stage questions](https://forum.kirupa.com/t/stage-questions/227112)

<div class="topic-metadata">

**Author:** [@rohan](https://forum.kirupa.com/u/rohan)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 5:18am UTC](https://forum.kirupa.com/t/stage-questions/227112 "2007-05-27T05:18:27Z")

</div>

Hi all, I have a couple of questions which have come from developing my first full screen flash site. The first is about animating the change in positioning that happens when a user resizes their browser. Now I have …

---

## [Movieclip transition problem](https://forum.kirupa.com/t/movieclip-transition-problem/227111)

<div class="topic-metadata">

**Author:** [@matrix8369\_yaho](https://forum.kirupa.com/u/matrix8369_yaho)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 5:01am UTC](https://forum.kirupa.com/t/movieclip-transition-problem/227111 "2007-05-27T05:01:37Z")

</div>

Hello I have been looking for an hour now and cant find a thing to help so maby one of you flash wizards out there can. I have a movie clip with a stop action in the middle of it and when I click on a button on the na…

---

## [Duplicate objects](https://forum.kirupa.com/t/duplicate-objects/227109)

<div class="topic-metadata">

**Author:** [@trane65](https://forum.kirupa.com/u/trane65)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 4:23am UTC](https://forum.kirupa.com/t/duplicate-objects/227109 "2007-05-27T04:23:19Z")

</div>

I have this turntable .fla that I want to duplicate on the same stage so that I have 2 independently functioning turntables. I've tried making a movie clip out of the turntable objects (several movie clips, btns, etc.)…

---

## [movieClips stored in Arrays](https://forum.kirupa.com/t/movieclips-stored-in-arrays/227108)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 4:10am UTC](https://forum.kirupa.com/t/movieclips-stored-in-arrays/227108 "2007-05-27T04:10:46Z")

</div>

i have 2 arrays - displayArray and shoppingCartArray. into the displayArray i push movieClips created using duplicateMovieClip in a for loop. so far so good. so from then on i can reference the mcs using an index of the …

---

## [Measuring performance in AS3](https://forum.kirupa.com/t/measuring-performance-in-as3/227105)

<div class="topic-metadata">

**Author:** [@costa](https://forum.kirupa.com/u/costa)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 2:58am UTC](https://forum.kirupa.com/t/measuring-performance-in-as3/227105 "2007-05-27T02:58:49Z")

</div>

Dear all, I just want to ask, how you measure how fast flash is executing a code. I would like to compare two functions in order to know which is faster. Thanks in advance

---

## [Complex Layout issue](https://forum.kirupa.com/t/complex-layout-issue/227100)

<div class="topic-metadata">

**Author:** [@Esoltas](https://forum.kirupa.com/u/Esoltas)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 12:37am UTC](https://forum.kirupa.com/t/complex-layout-issue/227100 "2007-05-27T00:37:24Z")

</div>

Why is the dark grey element suspended below the blue, and how can I get it to fall into place? Look at http://www.freewebs.com/phi\_studios/suzanne.htm to see what I mean. CSS: http://www.freewebs.com/phi\_studios/suzan…

---

## [Sizes when producing for full screen?](https://forum.kirupa.com/t/sizes-when-producing-for-full-screen/227098)

<div class="topic-metadata">

**Author:** [@stu\_t](https://forum.kirupa.com/u/stu_t)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 12:02am UTC](https://forum.kirupa.com/t/sizes-when-producing-for-full-screen/227098 "2007-05-27T00:02:37Z")

</div>

when making a site like this http://www.dariocapizzi.com/ would I have to make one SWF will really big dimentions and load it into a base SWF which loads in a background image? I want to load an image in the backgr…

---

## [Problem with hitTest](https://forum.kirupa.com/t/problem-with-hittest/227089)

<div class="topic-metadata">

**Author:** [@Adbul](https://forum.kirupa.com/u/Adbul)\
**Replies:** 0\
**Last updated:** [May 26, 2007, 9:41pm UTC](https://forum.kirupa.com/t/problem-with-hittest/227089 "2007-05-26T21:41:17Z")

</div>

Hi! It seems that the Hittest method makes all objects into squares and hitTests the squares. How do i prevent this? An example to show you what i mean http://www.box.net/shared/6tcodkbq7x (notice how checkbox reac…

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

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