# programming

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

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

**Page:** 1733

---

## [Random time with range](https://forum.kirupa.com/t/random-time-with-range/224951)

<div class="topic-metadata">

**Author:** [@reblis](https://forum.kirupa.com/u/reblis)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 2:49pm UTC](https://forum.kirupa.com/t/random-time-with-range/224951 "2007-05-07T14:49:39Z")

</div>

This is the code I have for a MC which will be one of many on the stage. onClipEvent (enterFrame) { function randRange(min:Number, max:Number):Number { var randomNum:Number = Math.floor(Math.random()\*(max-m…

---

## [Compile .as?](https://forum.kirupa.com/t/compile-as/224950)

<div class="topic-metadata">

**Author:** [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 2:47pm UTC](https://forum.kirupa.com/t/compile-as/224950 "2007-05-07T14:47:37Z")

</div>

Hey all, I downloaded a couple of example files from Andre Michelle's website... but I'm not sure how to actually run them. It's a series of .as files and misc files. http://lab.andre-michelle.com/bitmap-particles-2 Anyo…

---

## [Problem with geturl](https://forum.kirupa.com/t/problem-with-geturl/224949)

<div class="topic-metadata">

**Author:** [@lexwbb](https://forum.kirupa.com/u/lexwbb)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 2:38pm UTC](https://forum.kirupa.com/t/problem-with-geturl/224949 "2007-05-07T14:38:41Z")

</div>

I have a bug. i have a button that opnes in in new page a pdf file.if i change the host, it doesn\`t load it anymore. The part that i will keep is /pdf/1treapta/nc4nc6nc9.pdf this is my code on (release) { getU…

---

## [rollOver problems](https://forum.kirupa.com/t/rollover-problems/224947)

<div class="topic-metadata">

**Author:** [@xenos](https://forum.kirupa.com/u/xenos)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 2:11pm UTC](https://forum.kirupa.com/t/rollover-problems/224947 "2007-05-07T14:11:41Z")

</div>

I've came across this problem several times and it drives me crazy. I've got an animated button that I use a movie clip for. The code is something like this: on (rollOver) { root.buttonanimation.gotoAndPlay(2); } o…

---

## [Flash buttons work fine in IE but not in Firefox](https://forum.kirupa.com/t/flash-buttons-work-fine-in-ie-but-not-in-firefox/224945)

<div class="topic-metadata">

**Author:** [@shaytac](https://forum.kirupa.com/u/shaytac)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 2:02pm UTC](https://forum.kirupa.com/t/flash-buttons-work-fine-in-ie-but-not-in-firefox/224945 "2007-05-07T14:02:37Z")

</div>

Hi I m working on a web page that consists of flash buttons that plays external mp3 files when pressed. It is very simple page all i did was to embed flash buttons to an html file. It works fine with IE it loads all t…

---

## [How to target main timeline from within 3 mcs in a slidemenu?](https://forum.kirupa.com/t/how-to-target-main-timeline-from-within-3-mcs-in-a-slidemenu/224944)

<div class="topic-metadata">

**Author:** [@nikising](https://forum.kirupa.com/u/nikising)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 1:56pm UTC](https://forum.kirupa.com/t/how-to-target-main-timeline-from-within-3-mcs-in-a-slidemenu/224944 "2007-05-07T13:56:28Z")

</div>

Hello there, I am trying to modify a slidemenu script but don't really know how to accomplish it. The sliding menu is horizontal and slides each direction according to the mouse position. Basically, all I want is for t…

---

## [\[help\] Image changes](https://forum.kirupa.com/t/help-image-changes/224943)

<div class="topic-metadata">

**Author:** [@cjj](https://forum.kirupa.com/u/cjj)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 1:49pm UTC](https://forum.kirupa.com/t/help-image-changes/224943 "2007-05-07T13:49:47Z")

</div>

I am trying to use the following script for something. :hugegrin: http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm What I have done with this script is that I have a few "loadareas" where the images show up. So…

---

## [Would an interactive CD-ROM require a preloader?](https://forum.kirupa.com/t/would-an-interactive-cd-rom-require-a-preloader/224941)

<div class="topic-metadata">

**Author:** [@pete66](https://forum.kirupa.com/u/pete66)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 1:07pm UTC](https://forum.kirupa.com/t/would-an-interactive-cd-rom-require-a-preloader/224941 "2007-05-07T13:07:51Z")

</div>

Hi, the last time I made a preloader was for Flash 5 by doing something like actionscript on the 3rd frame saying "if loaded, play, else, gotoframe(1)". How necessary is a preloader if I want to make a reasonably simpl…

---

## [hitTest()](https://forum.kirupa.com/t/hittest/224940)

<div class="topic-metadata">

**Author:** [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 1:01pm UTC](https://forum.kirupa.com/t/hittest/224940 "2007-05-07T13:01:06Z")

</div>

I was just playing around with the hitTest and was wondering if I could get some help on what I am doing wrong. What I am trying to do is when one moviclip rolls over the other I wanted the output to trace "hit". Also wh…

---

## [How to: attach, unload then loadmovie](https://forum.kirupa.com/t/how-to-attach-unload-then-loadmovie/224939)

<div class="topic-metadata">

**Author:** [@figo2476](https://forum.kirupa.com/u/figo2476)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 12:57pm UTC](https://forum.kirupa.com/t/how-to-attach-unload-then-loadmovie/224939 "2007-05-07T12:57:13Z")

</div>

hi there: I wonder whether this will work: var myclip:MovieClip = \_root.attachMovie("clip", "clip", 1000); \_root.myclip.unloadMovie(); \_root.myclip.loadMovie("clip"); And the "clip" is still the same instance, whic…

---

## [Website fade in...how do i do that?](https://forum.kirupa.com/t/website-fade-in-how-do-i-do-that/224936)

<div class="topic-metadata">

**Author:** [@davelaruedrum](https://forum.kirupa.com/u/davelaruedrum)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 12:35pm UTC](https://forum.kirupa.com/t/website-fade-in-how-do-i-do-that/224936 "2007-05-07T12:35:51Z")

</div>

Hi, How do i actionscript a fade in in Flash? I have a website i want to fade in. Is there also a delay time i can set? Thanks, Dave

---

## [Gallery problem with next/prev buttons](https://forum.kirupa.com/t/gallery-problem-with-next-prev-buttons/224935)

<div class="topic-metadata">

**Author:** [@ced\_ced](https://forum.kirupa.com/u/ced_ced)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 12:22pm UTC](https://forum.kirupa.com/t/gallery-problem-with-next-prev-buttons/224935 "2007-05-07T12:22:47Z")

</div>

Hi, I'm working on a photo gallery and I have some weird things happening, hence the request for help! When the gallery opens, you can click on any picture, the main one then appears with various buttons: 1. Click on…

---

## [Action Problem On Sub Menu](https://forum.kirupa.com/t/action-problem-on-sub-menu/224934)

<div class="topic-metadata">

**Author:** [@vstorm](https://forum.kirupa.com/u/vstorm)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 12:18pm UTC](https://forum.kirupa.com/t/action-problem-on-sub-menu/224934 "2007-05-07T12:18:30Z")

</div>

http://www.vizualstorm.com/newdesign.html Any ideas on why my menu roll overs for "custom desktop" will not link? I have a go to and stop frame label action, but it just won't go anywhere. They are buttons contained in…

---

## [Variables Flash to PHP](https://forum.kirupa.com/t/variables-flash-to-php/224933)

<div class="topic-metadata">

**Author:** [@cw18](https://forum.kirupa.com/u/cw18)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 11:51am UTC](https://forum.kirupa.com/t/variables-flash-to-php/224933 "2007-05-07T11:51:39Z")

</div>

I am trying to send variables from flash to PHP and then write these in a .txt file. I have managed to get the PHP writing to a .txt file with data coded in the PHP but can not get the flash values to be printed. It i…

---

## [XML Photogallery Working great local but not live](https://forum.kirupa.com/t/xml-photogallery-working-great-local-but-not-live/224931)

<div class="topic-metadata">

**Author:** [@ejones](https://forum.kirupa.com/u/ejones)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 11:40am UTC](https://forum.kirupa.com/t/xml-photogallery-working-great-local-but-not-live/224931 "2007-05-07T11:40:10Z")

</div>

Hi, I have read and used the photogallery from Kirupa and have modified it to fit the site I am trying to develop for a friend (he is a musican and artist). Everything works great locally but when I upload the files w…

---

## [Stop sound from playing continuosly on keyisdown](https://forum.kirupa.com/t/stop-sound-from-playing-continuosly-on-keyisdown/224929)

<div class="topic-metadata">

**Author:** [@juliecat](https://forum.kirupa.com/u/juliecat)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:59am UTC](https://forum.kirupa.com/t/stop-sound-from-playing-continuosly-on-keyisdown/224929 "2007-05-07T10:59:46Z")

</div>

Hi people, got a problem any insights, tutorials online or clues gratefully received. I'm using a KeyIsDown action to trigger a sound. This works fine, however if the key is pressed down continuously it starts the soun…

---

## [Flash Button Stumped](https://forum.kirupa.com/t/flash-button-stumped/224928)

<div class="topic-metadata">

**Author:** [@flashstick](https://forum.kirupa.com/u/flashstick)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:55am UTC](https://forum.kirupa.com/t/flash-button-stumped/224928 "2007-05-07T10:55:30Z")

</div>

Hey everyone! I just had a quick question, I am making an actionscript animated movieclip with an embedded button insde of it. But when I put a button inside it and use the correct dot structure, it doesn't seem to wor…

---

## [Loading Random External Images](https://forum.kirupa.com/t/loading-random-external-images/224927)

<div class="topic-metadata">

**Author:** [@triffski](https://forum.kirupa.com/u/triffski)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:35am UTC](https://forum.kirupa.com/t/loading-random-external-images/224927 "2007-05-07T10:35:06Z")

</div>

x

---

## [C++/Webcam related question](https://forum.kirupa.com/t/c-webcam-related-question/224926)

<div class="topic-metadata">

**Author:** [@aussiedude](https://forum.kirupa.com/u/aussiedude)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:28am UTC](https://forum.kirupa.com/t/c-webcam-related-question/224926 "2007-05-07T10:28:42Z")

</div>

Hi everyone, I'm just posting here to ask everyone if anyone here knows a good, easy to use, simply C++ library to use to access a Generic USB Webcam. I want to make an app which will use some image analysis and motion…

---

## [Local Connection Interval](https://forum.kirupa.com/t/local-connection-interval/224925)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 9:53am UTC](https://forum.kirupa.com/t/local-connection-interval/224925 "2007-05-07T09:53:00Z")

</div>

I am using a Local Connection for sum Wallpaper Ads. Problem is, once the Local Connection Function is started it fires events every Frame. How can I achieve an Interval, that the Local Connection only checks for a Conne…

---

## [Simple Flash Actionscript Button Question](https://forum.kirupa.com/t/simple-flash-actionscript-button-question/224923)

<div class="topic-metadata">

**Author:** [@flashstick](https://forum.kirupa.com/u/flashstick)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 9:23am UTC](https://forum.kirupa.com/t/simple-flash-actionscript-button-question/224923 "2007-05-07T09:23:23Z")

</div>

Hey everyone! I just had a quick question, I am making an actionscript animated movieclip with an embedded button insde of it. But when I put a button inside it and use the correct dot structure, it doesn't seem to wor…

---

## [Bug with publish as v8 or what?](https://forum.kirupa.com/t/bug-with-publish-as-v8-or-what/224921)

<div class="topic-metadata">

**Author:** [@ahkim](https://forum.kirupa.com/u/ahkim)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 8:12am UTC](https://forum.kirupa.com/t/bug-with-publish-as-v8-or-what/224921 "2007-05-07T08:12:53Z")

</div>

Hello! This is my first post here, but have you already been helpfull many times. I recently installed CS3 version and made small application to try the new version. Everything works fine in CS3, but i wanted to publish…

---

## [Variables from Flash to PHP to mySQL acting weird?](https://forum.kirupa.com/t/variables-from-flash-to-php-to-mysql-acting-weird/224920)

<div class="topic-metadata">

**Author:** [@awesty](https://forum.kirupa.com/u/awesty)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 7:27am UTC](https://forum.kirupa.com/t/variables-from-flash-to-php-to-mysql-acting-weird/224920 "2007-05-07T07:27:29Z")

</div>

I am making a high score script. A name variable and score variable are taken from flash and put into php then inserted into a table. The score works fine but for the name column it always just comes up as '\<TEXTFORMAT L…

---

## [Lost and confused on symbol and mouse stuff](https://forum.kirupa.com/t/lost-and-confused-on-symbol-and-mouse-stuff/224919)

<div class="topic-metadata">

**Author:** [@AgentTuna](https://forum.kirupa.com/u/AgentTuna)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 7:23am UTC](https://forum.kirupa.com/t/lost-and-confused-on-symbol-and-mouse-stuff/224919 "2007-05-07T07:23:32Z")

</div>

Hey fellas, So im here stuck on my character for a sidescrollin shooter. I've made him out, he looks good, and everything but now im stuck on the character animation. For now before even getting him running or anything…

---

## [Working with sound](https://forum.kirupa.com/t/working-with-sound/224915)

<div class="topic-metadata">

**Author:** [@yankeedoodles](https://forum.kirupa.com/u/yankeedoodles)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 6:16am UTC](https://forum.kirupa.com/t/working-with-sound/224915 "2007-05-07T06:16:16Z")

</div>

I would like to create an "audio mixer" in flash that can help users to merge various instruments/beats and develop their own track. The issue that I have now is the saving. Can someone guide me on whether flash can save…

---

## [Creating a smooth scrolling MC containing btns](https://forum.kirupa.com/t/creating-a-smooth-scrolling-mc-containing-btns/224914)

<div class="topic-metadata">

**Author:** [@Booger](https://forum.kirupa.com/u/Booger)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 6:16am UTC](https://forum.kirupa.com/t/creating-a-smooth-scrolling-mc-containing-btns/224914 "2007-05-07T06:16:03Z")

</div>

Hi all, Creating my own navigation pane by using a movie clip that contains btns. This navigation pane is quite long, many btns, so I have set it in a mask and now I am trying to make it scroll smoothly, vertically. Th…

---

## [Is it possible to adjust width / height for an external loaded swf?](https://forum.kirupa.com/t/is-it-possible-to-adjust-width-height-for-an-external-loaded-swf/224911)

<div class="topic-metadata">

**Author:** [@eudora](https://forum.kirupa.com/u/eudora)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 5:37am UTC](https://forum.kirupa.com/t/is-it-possible-to-adjust-width-height-for-an-external-loaded-swf/224911 "2007-05-07T05:37:19Z")

</div>

I check the loader width and height and it says zero... how shld I go about adjusting the width and height for those swf?

---

## [Radio Streaming](https://forum.kirupa.com/t/radio-streaming/224908)

<div class="topic-metadata">

**Author:** [@octoc](https://forum.kirupa.com/u/octoc)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 4:57am UTC](https://forum.kirupa.com/t/radio-streaming/224908 "2007-05-07T04:57:14Z")

</div>

Hey there, We are building a flash website for radio network. They would like to have a audio player streaming live signal from other locations. Does it mean that we need to install a Flash Media Server even though, th…

---

## [Praystation play](https://forum.kirupa.com/t/praystation-play/224907)

<div class="topic-metadata">

**Author:** [@moodie](https://forum.kirupa.com/u/moodie)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 4:23am UTC](https://forum.kirupa.com/t/praystation-play/224907 "2007-05-07T04:23:34Z")

</div>

Hi, I've recently started learning ActionScript, and have been playing around with some flash files I got from Mr Davis here at Flash to the core. I've changed the chapter 10 example so that all the code is on one frame…

---

## [Simple Question - Scroll Text Inside External swf](https://forum.kirupa.com/t/simple-question-scroll-text-inside-external-swf/224906)

<div class="topic-metadata">

**Author:** [@kinney](https://forum.kirupa.com/u/kinney)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 4:00am UTC](https://forum.kirupa.com/t/simple-question-scroll-text-inside-external-swf/224906 "2007-05-07T04:00:11Z")

</div>

Hi Everyone, I have a really simple Newbie question regarding scroll text. I have some text in one swf, "about.swf" that you can scroll through using up and down arrows. I would like to load it inside of my master swf…

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

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