# programming

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

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

**Page:** 1562

---

## ["wait a few seconds" in flash](https://forum.kirupa.com/t/wait-a-few-seconds-in-flash/237343)

<div class="topic-metadata">

**Author:** [@Nutty](https://forum.kirupa.com/u/Nutty)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 3:53pm UTC](https://forum.kirupa.com/t/wait-a-few-seconds-in-flash/237343 "2007-08-29T15:53:26Z")

</div>

Is there an easy way to say to flash that it should wait a few seconds before going to the next frame? Thanks, Waldo

---

## [Duration of mp3 streaming file](https://forum.kirupa.com/t/duration-of-mp3-streaming-file/237340)

<div class="topic-metadata">

**Author:** [@corneliu9d](https://forum.kirupa.com/u/corneliu9d)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 2:42pm UTC](https://forum.kirupa.com/t/duration-of-mp3-streaming-file/237340 "2007-08-29T14:42:29Z")

</div>

I'm loading a mp3 file and I don't know how can I make a bar to show the current played/remaining song, without loading the whole file. The Sound.duration property is real just after the file is completely loaded. The ba…

---

## [Progressive vs Streaming and h264 playback](https://forum.kirupa.com/t/progressive-vs-streaming-and-h264-playback/237338)

<div class="topic-metadata">

**Author:** [@zepovinho](https://forum.kirupa.com/u/zepovinho)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 2:30pm UTC](https://forum.kirupa.com/t/progressive-vs-streaming-and-h264-playback/237338 "2007-08-29T14:30:02Z")

</div>

\[COLOR=black\]\[FONT='MS Shell Dlg'\]I need to decide we will deliver on demand videos in progressive or streaming.\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT='MS Shell Dlg'\] \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT='MS Shell Dlg'\]We aim …

---

## [Media Display component - stopping it form automatically downloading](https://forum.kirupa.com/t/media-display-component-stopping-it-form-automatically-downloading/237334)

<div class="topic-metadata">

**Author:** [@kg1984](https://forum.kirupa.com/u/kg1984)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 2:11pm UTC](https://forum.kirupa.com/t/media-display-component-stopping-it-form-automatically-downloading/237334 "2007-08-29T14:11:53Z")

</div>

hi, I have a few videos displayed with the Media Display component of CS3 where I have set autoplay to false (i.e. user must click play button to start video). This is all fine, but the only problem is that the video f…

---

## [Photo Gallery and Loader();](https://forum.kirupa.com/t/photo-gallery-and-loader/237330)

<div class="topic-metadata">

**Author:** [@psilos](https://forum.kirupa.com/u/psilos)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 1:32pm UTC](https://forum.kirupa.com/t/photo-gallery-and-loader/237330 "2007-08-29T13:32:35Z")

</div>

Hello, I want to create some photo gallery, but don't know how in AS 3.0. Ok, if I want to load only one image I would do this: still = new Loader(); still.contentLoaderInfo.addEventListener(Event.CO…

---

## [This is why I F\*\*\*\*\*\* hate IE6](https://forum.kirupa.com/t/this-is-why-i-f-hate-ie6/237329)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 1:11pm UTC](https://forum.kirupa.com/t/this-is-why-i-f-hate-ie6/237329 "2007-08-29T13:11:22Z")

</div>

Can anyone suggest why http://nuweb.northumbria.ac.uk/restyle2007/index.html works in anything standards based, like IE, safari, Opera, in fact even IE7,... ...but simply displays like a heap of kak in IE6. I know it s…

---

## [Please HELP.. how to alter xml from flash?](https://forum.kirupa.com/t/please-help-how-to-alter-xml-from-flash/237326)

<div class="topic-metadata">

**Author:** [@Big\_Will](https://forum.kirupa.com/u/Big_Will)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 12:24pm UTC](https://forum.kirupa.com/t/please-help-how-to-alter-xml-from-flash/237326 "2007-08-29T12:24:55Z")

</div>

This is what I got so far… http://doubleumedia.co.za/working\_folder/xml/simple\_editor11.swf to see how it works:.. - press load - edit the text - Send - Press Load 1 (it refreshes the bottom text field and displays the…

---

## [m4a](https://forum.kirupa.com/t/m4a/237323)

<div class="topic-metadata">

**Author:** [@Saddu](https://forum.kirupa.com/u/Saddu)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 12:12pm UTC](https://forum.kirupa.com/t/m4a/237323 "2007-08-29T12:12:36Z")

</div>

Hi All , Just a simple question ...flash can play a m4a file ?????? Thanks, Saddu.

---

## [Refresh XML in flash](https://forum.kirupa.com/t/refresh-xml-in-flash/237322)

<div class="topic-metadata">

**Author:** [@availjkj](https://forum.kirupa.com/u/availjkj)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 11:51am UTC](https://forum.kirupa.com/t/refresh-xml-in-flash/237322 "2007-08-29T11:51:14Z")

</div>

I am developing a standalone flash application using xml. Its kind of a slide show. There are 100 slides and all the content is coming from XML. The problem is when ever i want to make a change i.e in XML- lets say 99th …

---

## [Contact form supporting greek language](https://forum.kirupa.com/t/contact-form-supporting-greek-language/237320)

<div class="topic-metadata">

**Author:** [@whsecurity](https://forum.kirupa.com/u/whsecurity)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 10:46am UTC](https://forum.kirupa.com/t/contact-form-supporting-greek-language/237320 "2007-08-29T10:46:08Z")

</div>

I'm using this tutorial: http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm And works perfectly!!!! Thanks! The problem is that i'm in greece and i need greek language support! I receive the mail but th…

---

## [Flash problem: Movie stops for no reason](https://forum.kirupa.com/t/flash-problem-movie-stops-for-no-reason/237317)

<div class="topic-metadata">

**Author:** [@vladmateescu](https://forum.kirupa.com/u/vladmateescu)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 10:24am UTC](https://forum.kirupa.com/t/flash-problem-movie-stops-for-no-reason/237317 "2007-08-29T10:24:30Z")

</div>

I am currently using Flash CS3 on a Mac. I have a total of 11 scenes with audio. For some reason when I test the movie it stops somewhere in scene 10 and the audio continues. When I tested only the scene, it works fine b…

---

## [Scale without distortion](https://forum.kirupa.com/t/scale-without-distortion/237316)

<div class="topic-metadata">

**Author:** [@The\_Dude1](https://forum.kirupa.com/u/The_Dude1)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 9:46am UTC](https://forum.kirupa.com/t/scale-without-distortion/237316 "2007-08-29T09:46:25Z")

</div>

Dear readers, I am having a problem with a flash movie (swf). The idea is to have it resize to a clients monitor resolution. Setting the publish settings dimensions to a 100% works. The problem is however, that when th…

---

## [Flash button control](https://forum.kirupa.com/t/flash-button-control/237315)

<div class="topic-metadata">

**Author:** [@Avax](https://forum.kirupa.com/u/Avax)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 9:26am UTC](https://forum.kirupa.com/t/flash-button-control/237315 "2007-08-29T09:26:25Z")

</div>

I guess this should be easy and requires just basic action script, but... I have few flash buttons (swf) and one main flash animation on my page. I want to make each button start main movie at a different keyframe. Any …

---

## [Block IP address from viewing website - help](https://forum.kirupa.com/t/block-ip-address-from-viewing-website-help/237310)

<div class="topic-metadata">

**Author:** [@geO\_GY](https://forum.kirupa.com/u/geO_GY)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 7:23am UTC](https://forum.kirupa.com/t/block-ip-address-from-viewing-website-help/237310 "2007-08-29T07:23:24Z")

</div>

Is there some type of code which will block an ip address from viewing your website? (Not on the same intranet, but another ISP) or Through the web host "CPANEL" are their any options for blocking specific IP address…

---

## [Alpha on Dynamic Text](https://forum.kirupa.com/t/alpha-on-dynamic-text/237304)

<div class="topic-metadata">

**Author:** [@ff45t1z](https://forum.kirupa.com/u/ff45t1z)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 6:18am UTC](https://forum.kirupa.com/t/alpha-on-dynamic-text/237304 "2007-08-29T06:18:32Z")

</div>

On the page i'm developing now i have a container\_mc which is affected by an alpha fade. It fades out to zero, so it is rendered completely invisible. Part of the site's design requires that I had nested Dynamic text bo…

---

## [Extending Flex?](https://forum.kirupa.com/t/extending-flex/237300)

<div class="topic-metadata">

**Author:** [@mathew\_er](https://forum.kirupa.com/u/mathew_er)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 4:15am UTC](https://forum.kirupa.com/t/extending-flex/237300 "2007-08-29T04:15:01Z")

</div>

Hi, I've been looking around for a while and couldn't find anything. I'm looking for some stuff to add to Flex Builder to get some functionality stripped off from original Eclipse. I understand that some of those were …

---

## [StyleSheet Problem](https://forum.kirupa.com/t/stylesheet-problem/237298)

<div class="topic-metadata">

**Author:** [@twistedpixel](https://forum.kirupa.com/u/twistedpixel)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 3:45am UTC](https://forum.kirupa.com/t/stylesheet-problem/237298 "2007-08-29T03:45:49Z")

</div>

Hi, I have this code here in Flash where I am dynamically populating a text component... var styles = new TextField.StyleSheet(); var css\_url="efarmasi.css"; styles.load(css\_url); styles.onLoad = function(ok) { if…

---

## [Thumbnail Gallery Help](https://forum.kirupa.com/t/thumbnail-gallery-help/237297)

<div class="topic-metadata">

**Author:** [@grillbat](https://forum.kirupa.com/u/grillbat)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 3:23am UTC](https://forum.kirupa.com/t/thumbnail-gallery-help/237297 "2007-08-29T03:23:33Z")

</div>

\[COLOR=red\]Of course, like most I am a beginner to as, Flash, etc. I've just completed the wonderful, and I guess pretty famous "Photo Gallery Using XML and Flash" with thumbnails tutorial (it's the best on the web!). Ev…

---

## [\[FMX04\] need help with loadVars and a dynamic text hack ... example provided](https://forum.kirupa.com/t/fmx04-need-help-with-loadvars-and-a-dynamic-text-hack-example-provided/237296)

<div class="topic-metadata">

**Author:** [@ktravers](https://forum.kirupa.com/u/ktravers)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 2:49am UTC](https://forum.kirupa.com/t/fmx04-need-help-with-loadvars-and-a-dynamic-text-hack-example-provided/237296 "2007-08-29T02:49:35Z")

</div>

Hello kind Kirupa folks. Long time lurker, first time poster. I'm a hack with Action Script, but I need to solve this quickly (of course). I have dynamic text being pulled in from a txt file. I have invisible buttons …

---

## [Scroll Pane Issue](https://forum.kirupa.com/t/scroll-pane-issue/237292)

<div class="topic-metadata">

**Author:** [@choule](https://forum.kirupa.com/u/choule)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 1:02am UTC](https://forum.kirupa.com/t/scroll-pane-issue/237292 "2007-08-29T01:02:53Z")

</div>

Hi Everyone! Thank you all for your help! I am learning so much! Right now I am trying to get two small things to work, but haven't had any luck for the past few days! 1.) I am making a site with a horizontal scroll…

---

## [Local Shared Object Help](https://forum.kirupa.com/t/local-shared-object-help/237291)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 0\
**Last updated:** [August 29, 2007, 12:22am UTC](https://forum.kirupa.com/t/local-shared-object-help/237291 "2007-08-29T00:22:29Z")

</div>

Hey all, I am trying to have a local shared object in flash to detect whether a user is a new user or a returning user. If they are a new user i want to do newUser function and if they are a previous user I want to do …

---

## [Programming Animation](https://forum.kirupa.com/t/programming-animation/237289)

<div class="topic-metadata">

**Author:** [@vinnieq](https://forum.kirupa.com/u/vinnieq)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 11:50pm UTC](https://forum.kirupa.com/t/programming-animation/237289 "2007-08-28T23:50:46Z")

</div>

Trying to the different ways through which i could: animate a sprite's movement, depending on where the user clicks... Any feedback would be great.. Thanks..

---

## [REALLY WEIRD AS/XML PROBLEM... i think](https://forum.kirupa.com/t/really-weird-as-xml-problem-i-think/237288)

<div class="topic-metadata">

**Author:** [@hoss9009](https://forum.kirupa.com/u/hoss9009)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 11:45pm UTC](https://forum.kirupa.com/t/really-weird-as-xml-problem-i-think/237288 "2007-08-28T23:45:03Z")

</div>

So i made this site... works great on my vista comp, but wont work on my friends mac... if you go here http://designlev.com/beta/ , then from the homepage go to : portfolio-\>photography and you'll know notice the main …

---

## [PHP email problems](https://forum.kirupa.com/t/php-email-problems/237285)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:55pm UTC](https://forum.kirupa.com/t/php-email-problems/237285 "2007-08-28T22:55:05Z")

</div>

I'm having real issues getting this php script to work properly, and my web hosts aren't being much help. Everyone I talk to says it should work fine. The variables are coming in from a flash form. The issue is as fo…

---

## [Problems w/ Adding Thumbnails using XML & Flash 8](https://forum.kirupa.com/t/problems-w-adding-thumbnails-using-xml-flash-8/237284)

<div class="topic-metadata">

**Author:** [@AW177](https://forum.kirupa.com/u/AW177)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:54pm UTC](https://forum.kirupa.com/t/problems-w-adding-thumbnails-using-xml-flash-8/237284 "2007-08-28T22:54:33Z")

</div>

Hello all, this is my first post, so glad to meet everyone! I have a problem, I am working on my personal site, and wanted to incorporate a thumbnail/image gallery, and came upon the tutorial listed on Kirupa.com located…

---

## [Hittest Problems!](https://forum.kirupa.com/t/hittest-problems/237283)

<div class="topic-metadata">

**Author:** [@Spiderduckie](https://forum.kirupa.com/u/Spiderduckie)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:23pm UTC](https://forum.kirupa.com/t/hittest-problems/237283 "2007-08-28T22:23:54Z")

</div>

Man, I'm in a real jam here, I'm trying to make it so that when my character MC, called char, hits the MC called "end" the scene changes to a scene called "Level 2". I'm really stuck here, can anyone help?

---

## [Tween fading issues](https://forum.kirupa.com/t/tween-fading-issues/237282)

<div class="topic-metadata">

**Author:** [@tomto](https://forum.kirupa.com/u/tomto)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:20pm UTC](https://forum.kirupa.com/t/tween-fading-issues/237282 "2007-08-28T22:20:03Z")

</div>

import mx.transitions.Tween; import mx.transitions.easing.\*; import flash.display.\*; function nxtFrame () { var txtTween = new Tween(infoMC, "\_alpha", tweenStyle, 100, 0, 10); txtTween.onMotionFinished = func…

---

## [I have a random sentence generator, but how do I add sound to it?](https://forum.kirupa.com/t/i-have-a-random-sentence-generator-but-how-do-i-add-sound-to-it/237281)

<div class="topic-metadata">

**Author:** [@tivaelydoc](https://forum.kirupa.com/u/tivaelydoc)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:03pm UTC](https://forum.kirupa.com/t/i-have-a-random-sentence-generator-but-how-do-i-add-sound-to-it/237281 "2007-08-28T22:03:00Z")

</div>

I would provide the game but due to it’s explicit language, I’ll abstain. I have a code that randomly generates a random sentence: on (release) { result = a\[random(a.length)\]+" "+b\[random(b.length)\]+" "+c\[random…

---

## [Making Rain!](https://forum.kirupa.com/t/making-rain/237280)

<div class="topic-metadata">

**Author:** [@cmos](https://forum.kirupa.com/u/cmos)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 10:01pm UTC](https://forum.kirupa.com/t/making-rain/237280 "2007-08-28T22:01:14Z")

</div>

I need some help making some rain fall from a cloud. Well, not actually rain, it will be hearts. I modified some code found online from a snow tutorial in hopes to get it working. Its close but still off. I've attach…

---

## [Repel away from mouse](https://forum.kirupa.com/t/repel-away-from-mouse/237279)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [August 28, 2007, 9:57pm UTC](https://forum.kirupa.com/t/repel-away-from-mouse/237279 "2007-08-28T21:57:24Z")

</div>

I've been trying to come up with a script that will make mc's repel away from the mouse. Here is an example of exactly what I'm looking for: http://www.antstudio-bcn.com/ and here is the beginning of a script that I…

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

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