# programming

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

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

**Page:** 1602

---

## [Sound Fade new window](https://forum.kirupa.com/t/sound-fade-new-window/234396)

<div class="topic-metadata">

**Author:** [@ToubMor](https://forum.kirupa.com/u/ToubMor)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 9:22pm UTC](https://forum.kirupa.com/t/sound-fade-new-window/234396 "2007-08-01T21:22:23Z")

</div>

Hi guys, a time ago i came across a site which sound faded out when you went to a other window. It faded backin when getting back to the window. Is there someone who knows how this is done. probable with some java and …

---

## [No caching](https://forum.kirupa.com/t/no-caching/234394)

<div class="topic-metadata">

**Author:** [@mattop](https://forum.kirupa.com/u/mattop)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 9:12pm UTC](https://forum.kirupa.com/t/no-caching/234394 "2007-08-01T21:12:30Z")

</div>

Hi. I'm working on my site right now: http://www.ixworks.com/ and I've made a shoutbox. It's in flash. And in ie for some reason, I have to restart the browser and go back to the page to see the lastest posts. In fir…

---

## [Strange FLVPlayback problem](https://forum.kirupa.com/t/strange-flvplayback-problem/234391)

<div class="topic-metadata">

**Author:** [@KingKoopa](https://forum.kirupa.com/u/KingKoopa)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 8:41pm UTC](https://forum.kirupa.com/t/strange-flvplayback-problem/234391 "2007-08-01T20:41:55Z")

</div>

Ok, this is really frustrating. I used the FLVPlayback component to make a stream (from FMS) and it all works fine, even accepts variables passed from good old FlashVars. But then when I introduce it into the site enviro…

---

## [Dynamic Text Vs. Label Component](https://forum.kirupa.com/t/dynamic-text-vs-label-component/234387)

<div class="topic-metadata">

**Author:** [@absfuzzlog](https://forum.kirupa.com/u/absfuzzlog)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 8:05pm UTC](https://forum.kirupa.com/t/dynamic-text-vs-label-component/234387 "2007-08-01T20:05:50Z")

</div>

I cannot seem to be able to set the "text" property of the Label component during the constructor of the "DocumentClass". Even though tracing "myLabel.text" at the constructor shows the correct text, when the swf file i…

---

## [Using sortOn with date objects](https://forum.kirupa.com/t/using-sorton-with-date-objects/234385)

<div class="topic-metadata">

**Author:** [@robx2](https://forum.kirupa.com/u/robx2)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 7:26pm UTC](https://forum.kirupa.com/t/using-sorton-with-date-objects/234385 "2007-08-01T19:26:59Z")

</div>

I have a multidimensional array where the items have Date objects. I 've tried to use Array.sortOn(myDate) with no success. Do I have to convert the Date to a string (like 20070731) to use sortOn correctly? What's best p…

---

## [Need help with making a movie clips play when corrosponding buttons are hit](https://forum.kirupa.com/t/need-help-with-making-a-movie-clips-play-when-corrosponding-buttons-are-hit/234380)

<div class="topic-metadata">

**Author:** [@deadzone404](https://forum.kirupa.com/u/deadzone404)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 7:01pm UTC](https://forum.kirupa.com/t/need-help-with-making-a-movie-clips-play-when-corrosponding-buttons-are-hit/234380 "2007-08-01T19:01:23Z")

</div>

I'm pretty new to Flash and I'm using Flash MX 2004. So far I have the basic layout built and all the buttons made. What I need to do is make a movie clip play when its button is pressed (on the same screen, but off to t…

---

## [Flash Scaling Bug?](https://forum.kirupa.com/t/flash-scaling-bug/234378)

<div class="topic-metadata">

**Author:** [@tomthinks](https://forum.kirupa.com/u/tomthinks)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:40pm UTC](https://forum.kirupa.com/t/flash-scaling-bug/234378 "2007-08-01T18:40:46Z")

</div>

I just noticed that if you set a symbol on the stage, then rotate it using the transform tool, the symbol's x and y scale is reduced by 0.1% each time. I'm pretty sure this exists with every version of flash. Anyone else…

---

## [Check Out This Site!](https://forum.kirupa.com/t/check-out-this-site/234376)

<div class="topic-metadata">

**Author:** [@comydow](https://forum.kirupa.com/u/comydow)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:34pm UTC](https://forum.kirupa.com/t/check-out-this-site/234376 "2007-08-01T18:34:24Z")

</div>

Hey, I was looking at this Flash site for a new TV show, www.chuckssecret.com, and I have a few pretty basic questions about this site! First, how did they make the icons draggable and clickable (always wondered how to d…

---

## [Advice needed on which technology to use for a client-side app](https://forum.kirupa.com/t/advice-needed-on-which-technology-to-use-for-a-client-side-app/234375)

<div class="topic-metadata">

**Author:** [@mwiley63](https://forum.kirupa.com/u/mwiley63)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:33pm UTC](https://forum.kirupa.com/t/advice-needed-on-which-technology-to-use-for-a-client-side-app/234375 "2007-08-01T18:33:12Z")

</div>

Hello, I wasn't too sure where to post this, but this forum seemed like the best place for it. I am trying to decide which technology would be best for an application that I am going to describe. What I need is an a…

---

## [Pan background left/right with mouse position, anyone know how?](https://forum.kirupa.com/t/pan-background-left-right-with-mouse-position-anyone-know-how/234374)

<div class="topic-metadata">

**Author:** [@adam\_fake](https://forum.kirupa.com/u/adam_fake)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:32pm UTC](https://forum.kirupa.com/t/pan-background-left-right-with-mouse-position-anyone-know-how/234374 "2007-08-01T18:32:01Z")

</div>

Hi, Exactly like th titled states, i'm looking to have a background that will pan with left or right dependent where the mouse position is. So obviously if the mouse goes to the right of the page, the background image …

---

## [Getting a new media location via JS?](https://forum.kirupa.com/t/getting-a-new-media-location-via-js/234372)

<div class="topic-metadata">

**Author:** [@Flash\_Matic](https://forum.kirupa.com/u/Flash_Matic)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:29pm UTC](https://forum.kirupa.com/t/getting-a-new-media-location-via-js/234372 "2007-08-01T18:29:28Z")

</div>

I have created a FLV player for a client and it does everything they need (Pos Bar, Volume Bar, Full Screen, Etc..) Now the only thing left to do is they want to be able to call the playVideo(file.flv) function via JavaS…

---

## [Reset Draw API F8 A/S2](https://forum.kirupa.com/t/reset-draw-api-f8-a-s2/234371)

<div class="topic-metadata">

**Author:** [@Maddug](https://forum.kirupa.com/u/Maddug)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:28pm UTC](https://forum.kirupa.com/t/reset-draw-api-f8-a-s2/234371 "2007-08-01T18:28:58Z")

</div>

Hi, I have a "marker" tool where the user can click it and then write on the stage. They can click it again and it turns it off and clears the lines made. I've also added the a/s to buttons so that when the user naviga…

---

## [loadMovie within a loadMovie F8 AS2](https://forum.kirupa.com/t/loadmovie-within-a-loadmovie-f8-as2/234368)

<div class="topic-metadata">

**Author:** [@Maddug](https://forum.kirupa.com/u/Maddug)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:20pm UTC](https://forum.kirupa.com/t/loadmovie-within-a-loadmovie-f8-as2/234368 "2007-08-01T18:20:26Z")

</div>

So I've been trying to get this loadMovie within an loadMovie to work...with no luck at all... // This code is in my main 'shell' swf file myBtn.onPress = function() { dropZone.loadMovie("projects/project1.swf"); } /…

---

## [Need some help with an application I'm building](https://forum.kirupa.com/t/need-some-help-with-an-application-im-building/234365)

<div class="topic-metadata">

**Author:** [@pokefan](https://forum.kirupa.com/u/pokefan)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:05pm UTC](https://forum.kirupa.com/t/need-some-help-with-an-application-im-building/234365 "2007-08-01T18:05:57Z")

</div>

This is an app I'm trying to build for a new website and I'm a little lost. I've tried to find some help in various places and nothing seems to work out right. I've built an email form and was going to do it that way but…

---

## [Preloading a movie?](https://forum.kirupa.com/t/preloading-a-movie/234363)

<div class="topic-metadata">

**Author:** [@helios02](https://forum.kirupa.com/u/helios02)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 5:42pm UTC](https://forum.kirupa.com/t/preloading-a-movie/234363 "2007-08-01T17:42:30Z")

</div>

Using the basic approach located here http://www.kirupa.com/forum/showthread.php?t=223798&page=24 to load a .swf, I'm left with property access errors in the .swf I'm loading. I have a published .swf with a document clas…

---

## [Trying to stop people from downloading the .FLV](https://forum.kirupa.com/t/trying-to-stop-people-from-downloading-the-flv/234361)

<div class="topic-metadata">

**Author:** [@pares101](https://forum.kirupa.com/u/pares101)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 5:41pm UTC](https://forum.kirupa.com/t/trying-to-stop-people-from-downloading-the-flv/234361 "2007-08-01T17:41:04Z")

</div>

Is there any way to make people not be able to get the .flv file??? and have it? http://all-streaming-media.com/record-video-stream/Replay-Media-Catcher-HTTP-RTMP-FLV-MP3-ripper-recorder.htm

---

## [Is it ok to use \<center\> to center an image?](https://forum.kirupa.com/t/is-it-ok-to-use-center-to-center-an-image/234360)

<div class="topic-metadata">

**Author:** [@jeffonfire](https://forum.kirupa.com/u/jeffonfire)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 5:20pm UTC](https://forum.kirupa.com/t/is-it-ok-to-use-center-to-center-an-image/234360 "2007-08-01T17:20:33Z")

</div>

Is it ok to use \<center\> to center an image? I mean will it work in all browsers?:h::h:

---

## [Why import classes?](https://forum.kirupa.com/t/why-import-classes/234358)

<div class="topic-metadata">

**Author:** [@wvoets](https://forum.kirupa.com/u/wvoets)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 5:08pm UTC](https://forum.kirupa.com/t/why-import-classes/234358 "2007-08-01T17:08:56Z")

</div>

This might be a stupid question… but why do you have to import classes? For instance: import flash.display.StageScaleMode; stage.scaleMode = StageScaleMode.NO\_SCALE; But if you leave out “import flash.display.Stage…

---

## [Stopping auto slideshow after one run through (Kirupa tutorial)](https://forum.kirupa.com/t/stopping-auto-slideshow-after-one-run-through-kirupa-tutorial/234357)

<div class="topic-metadata">

**Author:** [@mdwylde](https://forum.kirupa.com/u/mdwylde)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 4:51pm UTC](https://forum.kirupa.com/t/stopping-auto-slideshow-after-one-run-through-kirupa-tutorial/234357 "2007-08-01T16:51:40Z")

</div>

Hi - I'm using the Kirupa tutorial of the xml auto slideshow. I need it to stop after it runs through all the images one time. How should I modify the code below in order to do that? Thanks for the help! Mdwylde …

---

## [Help in dynamically creating a transparent area on a movieclip](https://forum.kirupa.com/t/help-in-dynamically-creating-a-transparent-area-on-a-movieclip/234356)

<div class="topic-metadata">

**Author:** [@alvinyorkie](https://forum.kirupa.com/u/alvinyorkie)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 4:35pm UTC](https://forum.kirupa.com/t/help-in-dynamically-creating-a-transparent-area-on-a-movieclip/234356 "2007-08-01T16:35:59Z")

</div>

I have a .jpg graphic in a movieclip on layer two (1024/768). This is used as a background. I have a .jpg scrolling movieclip on layer one. It is a very wide graphic used for displaying a panorama. I would like to be…

---

## [Flash 8 or Flash CS3](https://forum.kirupa.com/t/flash-8-or-flash-cs3/234354)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 4:16pm UTC](https://forum.kirupa.com/t/flash-8-or-flash-cs3/234354 "2007-08-01T16:16:09Z")

</div>

I've been working with MX for a while now and I feel its time to upgrade. I was wondering what you guys thought about Flash 8 and CS3 - are there any reasons to go with one over the other? I assume it would be easier …

---

## [Replacing image files with video](https://forum.kirupa.com/t/replacing-image-files-with-video/234351)

<div class="topic-metadata">

**Author:** [@drdave](https://forum.kirupa.com/u/drdave)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:39pm UTC](https://forum.kirupa.com/t/replacing-image-files-with-video/234351 "2007-08-01T15:39:02Z")

</div>

Anyone know how to replace image files in a flash gallery with video flv? Or a tutorial. Thanks Dave

---

## [file\_get\_contents](https://forum.kirupa.com/t/file-get-contents/234349)

<div class="topic-metadata">

**Author:** [@Mr\_Paul\_Jones](https://forum.kirupa.com/u/Mr_Paul_Jones)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:32pm UTC](https://forum.kirupa.com/t/file-get-contents/234349 "2007-08-01T15:32:32Z")

</div>

I am using php file\_get\_contents to access a txt file that contains tab separated data (basically a spreadsheet) Can someone please advise how I can make the site show the data as a table and not just a long string…

---

## [Using a "factory" class globally](https://forum.kirupa.com/t/using-a-factory-class-globally/234348)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:19pm UTC](https://forum.kirupa.com/t/using-a-factory-class-globally/234348 "2007-08-01T15:19:23Z")

</div>

Ok, So i have my "factory" class which holds some functions and variables/objects (eg. glow filters) used globally by many different instances. But every time I want to use somthing I am currently initiating a new object…

---

## [Invert colors/channel of a bitmapData object](https://forum.kirupa.com/t/invert-colors-channel-of-a-bitmapdata-object/234347)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:16pm UTC](https://forum.kirupa.com/t/invert-colors-channel-of-a-bitmapdata-object/234347 "2007-08-01T15:16:35Z")

</div>

What's quick way to invert the colors of a BitmapData channel. (eg. I want to invert the alpha channel (eg. a pixel that is 200 in alpha channel becomes 55...). The reason is i'm copying this grayscale Perlinnoise smok…

---

## [Is there a way to export an image from Flash on the web?](https://forum.kirupa.com/t/is-there-a-way-to-export-an-image-from-flash-on-the-web/234344)

<div class="topic-metadata">

**Author:** [@gokujou](https://forum.kirupa.com/u/gokujou)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:35pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-export-an-image-from-flash-on-the-web/234344 "2007-08-01T14:35:14Z")

</div>

Hello, I am trying to find a way to make an application that will export either a vector file or a high quality image for print after the end-user has added their text and made some size changes. Is there any way that …

---

## [Setting up mail in PHP](https://forum.kirupa.com/t/setting-up-mail-in-php/234342)

<div class="topic-metadata">

**Author:** [@jasvarghese](https://forum.kirupa.com/u/jasvarghese)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:34pm UTC](https://forum.kirupa.com/t/setting-up-mail-in-php/234342 "2007-08-01T14:34:12Z")

</div>

Hi all, I was searching for a solution in php. I settled up my mail in php but its not working and throwing up some errors like Warning: main(Mail.php): failed to open stream: No such file or directory in F:\\hshome\\x…

---

## [Creating a random map into an array](https://forum.kirupa.com/t/creating-a-random-map-into-an-array/234341)

<div class="topic-metadata">

**Author:** [@hatu](https://forum.kirupa.com/u/hatu)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:33pm UTC](https://forum.kirupa.com/t/creating-a-random-map-into-an-array/234341 "2007-08-01T14:33:42Z")

</div>

I'm trying to create a program that creates a random map for a side scrolling cave. So I need to store the roof and the grounds y coordinate into a big array, like 10 000 pieces of wall. The only way I've gotten it to …

---

## [MC levels](https://forum.kirupa.com/t/mc-levels/234340)

<div class="topic-metadata">

**Author:** [@rsquare](https://forum.kirupa.com/u/rsquare)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:32pm UTC](https://forum.kirupa.com/t/mc-levels/234340 "2007-08-01T14:32:53Z")

</div>

Good day I feel like this is a stupid question but it's always bothered to not know this. I have my main timeline where all of the different pages are, in this timeline I created a movie clips and inside that movie cli…

---

## [Exit(?) a class](https://forum.kirupa.com/t/exit-a-class/234339)

<div class="topic-metadata">

**Author:** [@mmorosky](https://forum.kirupa.com/u/mmorosky)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:03pm UTC](https://forum.kirupa.com/t/exit-a-class/234339 "2007-08-01T14:03:47Z")

</div>

I've created a short game where the main class file, MainGame, creates an instance of the actual game, ActualGame. MainGame displays the start screen complete with a "Play game" button which creates an instance of Actual…

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

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