# programming

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

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

**Page:** 1532

---

## [DispatchEvent + AddEventListener](https://forum.kirupa.com/t/dispatchevent-addeventlistener/239725)

<div class="topic-metadata">

**Author:** [@Grofit](https://forum.kirupa.com/u/Grofit)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 1:09pm UTC](https://forum.kirupa.com/t/dispatchevent-addeventlistener/239725 "2007-09-25T13:09:36Z")

</div>

Hello, Ive got a class that i want to trigger an event when its done its Asynchonous stuff which will cause another file to react with the listener and process this information. Thats the basics for it... let me give y…

---

## [Dynamic updating Map](https://forum.kirupa.com/t/dynamic-updating-map/239724)

<div class="topic-metadata">

**Author:** [@talonofdarkness](https://forum.kirupa.com/u/talonofdarkness)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 1:07pm UTC](https://forum.kirupa.com/t/dynamic-updating-map/239724 "2007-09-25T13:07:08Z")

</div>

Hey all, i would like some help with an idea i have for my game i am making. The map is a large 100x100 square grid, now this is to big to display all at once, so i am wondering how to affectively reduce the size so u …

---

## [Dynamic Text Fields not Working](https://forum.kirupa.com/t/dynamic-text-fields-not-working/239723)

<div class="topic-metadata">

**Author:** [@mrmike](https://forum.kirupa.com/u/mrmike)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 12:53pm UTC](https://forum.kirupa.com/t/dynamic-text-fields-not-working/239723 "2007-09-25T12:53:59Z")

</div>

Hi, I have attached a file. I am pulling my hair out trying to find out why this isn't working. Is there anyone out there that can help me out? I'm trying to get the dynamic text fields to display the numbers I have s…

---

## [Basic Physics question (and more)](https://forum.kirupa.com/t/basic-physics-question-and-more/239721)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 12:29pm UTC](https://forum.kirupa.com/t/basic-physics-question-and-more/239721 "2007-09-25T12:29:25Z")

</div>

Hello. I'm trying to get into programming Actionscript 3, but I'm still having a lot of difficulties. I'm currently trying to make a small platform game. I just want to create a 'guy' (ball, rectangle) and have the abi…

---

## [Hitting \<enter\> submits the inputtext content](https://forum.kirupa.com/t/hitting-enter-submits-the-inputtext-content/239716)

<div class="topic-metadata">

**Author:** [@maidomax](https://forum.kirupa.com/u/maidomax)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 10:46am UTC](https://forum.kirupa.com/t/hitting-enter-submits-the-inputtext-content/239716 "2007-09-25T10:46:13Z")

</div>

I have made a simple game in flash. If the player gets a high enough score he can submit it to highscores. Right now it is done by entering your name into a text input box, and clicking a button. I would like to invoke t…

---

## [Adding blur to easing menu](https://forum.kirupa.com/t/adding-blur-to-easing-menu/239715)

<div class="topic-metadata">

**Author:** [@boozy\_juice](https://forum.kirupa.com/u/boozy_juice)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 10:04am UTC](https://forum.kirupa.com/t/adding-blur-to-easing-menu/239715 "2007-09-25T10:04:54Z")

</div>

Ive been playing with this code i found online, Stage.scaleMode = "noScale"; this.createEmptyMovieClip("centerPoint", depth++); centerPoint.\_x = sectionContainer.section1.\_x; centerPoint.\_y = sectionContainer.section…

---

## [Dynamics Scrolling Marquee - Extracting the content](https://forum.kirupa.com/t/dynamics-scrolling-marquee-extracting-the-content/239714)

<div class="topic-metadata">

**Author:** [@glamour](https://forum.kirupa.com/u/glamour)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 9:45am UTC](https://forum.kirupa.com/t/dynamics-scrolling-marquee-extracting-the-content/239714 "2007-09-25T09:45:37Z")

</div>

Hello there! Desperate I seriously needs your help! \[Reading External Folder Content into Flash Using the Actionscript\] I need to read the content of an external folder \<- the problem is I got no idea at all. Sorry…

---

## [Loadmovie on paticular dag(s)/week(s)](https://forum.kirupa.com/t/loadmovie-on-paticular-dag-s-week-s/239712)

<div class="topic-metadata">

**Author:** [@Asparagus](https://forum.kirupa.com/u/Asparagus)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 8:18am UTC](https://forum.kirupa.com/t/loadmovie-on-paticular-dag-s-week-s/239712 "2007-09-25T08:18:46Z")

</div>

I've had a search around and have found ways of almost doing what I need, but not quite, and now I come to you guys to ask for help or at least a point in the right direction. I have a Flash header on my site, and I'd …

---

## [Example of Image Upload](https://forum.kirupa.com/t/example-of-image-upload/239711)

<div class="topic-metadata">

**Author:** [@hanusoft](https://forum.kirupa.com/u/hanusoft)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 8:03am UTC](https://forum.kirupa.com/t/example-of-image-upload/239711 "2007-09-25T08:03:13Z")

</div>

Here we are uploading images in File System and storing path in the database. http://www.hanusoftware.com Code (ImageUpload.aspx.cs) :- private void Button1\_Click(object sender, System.EventArgs e) { // …

---

## [Tween over 0.x pixels?](https://forum.kirupa.com/t/tween-over-0-x-pixels/239710)

<div class="topic-metadata">

**Author:** [@gl0gg](https://forum.kirupa.com/u/gl0gg)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 7:49am UTC](https://forum.kirupa.com/t/tween-over-0-x-pixels/239710 "2007-09-25T07:49:42Z")

</div>

Hiya! I've noticed that when you tween something, say, an mc 10 pixels in the x-axis over 4 seconds, the animation is really jerky since Flash only moves the object 1 pixel at a time. It is possible to place objects on…

---

## [Help me with this error](https://forum.kirupa.com/t/help-me-with-this-error/239709)

<div class="topic-metadata">

**Author:** [@chandings](https://forum.kirupa.com/u/chandings)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 6:39am UTC](https://forum.kirupa.com/t/help-me-with-this-error/239709 "2007-09-25T06:39:56Z")

</div>

hey i have made a class and imported it to the frame Actions but when i run the flash i get the following error Error E:\\Chandan\\Pizza Match1\\Classes\\Order.as: Line 1: The class being compiled, 'Order', does not match…

---

## [Accordion menu prob](https://forum.kirupa.com/t/accordion-menu-prob/239708)

<div class="topic-metadata">

**Author:** [@flashnewuser](https://forum.kirupa.com/u/flashnewuser)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 6:26am UTC](https://forum.kirupa.com/t/accordion-menu-prob/239708 "2007-09-25T06:26:00Z")

</div>

Hi All, I have created Accordion menu in flash 8. In Accordion change event I changed the image. I embed this swf into aspx page. That is worked well. After that I want to use this in Web Browser control in…

---

## [Using XML and JavaScript for navigation](https://forum.kirupa.com/t/using-xml-and-javascript-for-navigation/239705)

<div class="topic-metadata">

**Author:** [@DataVZ](https://forum.kirupa.com/u/DataVZ)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 4:43am UTC](https://forum.kirupa.com/t/using-xml-and-javascript-for-navigation/239705 "2007-09-25T04:43:17Z")

</div>

OK, not trying to write a book, but I want to make sure to include enough detail, so please bare with me if I start to ramble... I'm working on a project that has 6 topics, each with about 10-15 lessons, and some lesso…

---

## [Cant figure out how to populate a tree comp](https://forum.kirupa.com/t/cant-figure-out-how-to-populate-a-tree-comp/239704)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 4:07am UTC](https://forum.kirupa.com/t/cant-figure-out-how-to-populate-a-tree-comp/239704 "2007-09-25T04:07:08Z")

</div>

I am working with the tree component and am going to be using external XML to populate it. I made a small example xml file. \<node label="root1" value="1"\> \<node label="sub1"\> \<node label="item1" /\> …

---

## [How do you.....?](https://forum.kirupa.com/t/how-do-you/239703)

<div class="topic-metadata">

**Author:** [@kchill](https://forum.kirupa.com/u/kchill)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 4:03am UTC](https://forum.kirupa.com/t/how-do-you/239703 "2007-09-25T04:03:42Z")

</div>

I have a movie clip that I want to have fade in on the stage, stay for a while and then fade out. Here is the code that I have so far: import mx.transitions.Tween; import mx.transitions.easing.\*; var logoTween:Tween = …

---

## [JOB in Europa](https://forum.kirupa.com/t/job-in-europa/239700)

<div class="topic-metadata">

**Author:** [@lliivvrracgco](https://forum.kirupa.com/u/lliivvrracgco)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 1:12am UTC](https://forum.kirupa.com/t/job-in-europa/239700 "2007-09-25T01:12:11Z")

</div>

Amerikanische Firma „ACG Logistics“ sucht nach Mitarbeiter in Europa fuer die Arbeit im Logistikbereich. Interessanter Job mit guter Verdienstmoeglichkeit. Schicken Sie bitte Ihre Bewerbung an info@acglogistics.biz

---

## [SWF loading problem](https://forum.kirupa.com/t/swf-loading-problem/239698)

<div class="topic-metadata">

**Author:** [@RubenDoliveira](https://forum.kirupa.com/u/RubenDoliveira)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 12:11am UTC](https://forum.kirupa.com/t/swf-loading-problem/239698 "2007-09-25T00:11:14Z")

</div>

Hello everyone, I have a swf gallery and it works perfectly if I run the gallery.swf directly, but I have an index.swf where I'm loading the gallery.swf. Everything works and it loads all the different thumbnails image…

---

## [Saving an Image in Flash](https://forum.kirupa.com/t/saving-an-image-in-flash/239696)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 11:50pm UTC](https://forum.kirupa.com/t/saving-an-image-in-flash/239696 "2007-09-24T23:50:41Z")

</div>

Say you've programmed something in Flash to allow you load an image and then rotate, blur, or resize it. Now is it possible to save this manipulated image as a JPG or PNG?

---

## [Dynamic list update with sql](https://forum.kirupa.com/t/dynamic-list-update-with-sql/239693)

<div class="topic-metadata">

**Author:** [@thatguythatsme](https://forum.kirupa.com/u/thatguythatsme)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 10:04pm UTC](https://forum.kirupa.com/t/dynamic-list-update-with-sql/239693 "2007-09-24T22:04:25Z")

</div>

Hi, I'm trying to create a simple blog where I can post entries to a database. I'm having trouble with attaching multiple categories to a single post. There's an image of my database here... http://david.flexlab.co.uk/wp…

---

## [Help with linking external class](https://forum.kirupa.com/t/help-with-linking-external-class/239691)

<div class="topic-metadata">

**Author:** [@VP1](https://forum.kirupa.com/u/VP1)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 9:45pm UTC](https://forum.kirupa.com/t/help-with-linking-external-class/239691 "2007-09-24T21:45:25Z")

</div>

Hey guys, Not exactly sure how to phrase this question - I've been having trouble searching for answers for hours. This is for AS 2.0. Basically the situation is that I've created a MovieClip in flash graphically (drag…

---

## [Way to detect inefficient sections of code (or just which parts are called the most)?](https://forum.kirupa.com/t/way-to-detect-inefficient-sections-of-code-or-just-which-parts-are-called-the-most/239686)

<div class="topic-metadata">

**Author:** [@to\_the\_sun](https://forum.kirupa.com/u/to_the_sun)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:54pm UTC](https://forum.kirupa.com/t/way-to-detect-inefficient-sections-of-code-or-just-which-parts-are-called-the-most/239686 "2007-09-24T20:54:18Z")

</div>

Is there something built into Flash 8 that can help me detect which parts of my code get run the most? I'm making a game that starts to slow down after a certain number of moving objects are on the screen. At first it …

---

## [FileReference upload on MAC](https://forum.kirupa.com/t/filereference-upload-on-mac/239685)

<div class="topic-metadata">

**Author:** [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:53pm UTC](https://forum.kirupa.com/t/filereference-upload-on-mac/239685 "2007-09-24T20:53:17Z")

</div>

\[FONT=Courier New\]\[LEFT\]Mods, please delete this, why the heck cant i delete threads anymore? now i have to do this every time firefox decides to html encode all my actionscript. oh well. \[/LEFT\] \[/FONT\]

---

## [Flash animation to YouTube](https://forum.kirupa.com/t/flash-animation-to-youtube/239684)

<div class="topic-metadata">

**Author:** [@TshirtFiend](https://forum.kirupa.com/u/TshirtFiend)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:53pm UTC](https://forum.kirupa.com/t/flash-animation-to-youtube/239684 "2007-09-24T20:53:00Z")

</div>

I'm trying to upload my animation to YouTube, but I'm having a bunch of problems. The animation is all tweens, with the most complex actionscript being "stop();" Exporting a .mov from Flash didn't work (only a 500k fil…

---

## [Differences in Flash between IE and Mozilla](https://forum.kirupa.com/t/differences-in-flash-between-ie-and-mozilla/239683)

<div class="topic-metadata">

**Author:** [@christiang](https://forum.kirupa.com/u/christiang)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:38pm UTC](https://forum.kirupa.com/t/differences-in-flash-between-ie-and-mozilla/239683 "2007-09-24T20:38:41Z")

</div>

I've written a gallery in AS 3 and it works fine and as it should when I view it with IE(both 7 and 6), but when I view it with Mozilla(2.0.0.7) it hardly works at all. Are there differences in the plugins for the diff…

---

## [Preloader Sound](https://forum.kirupa.com/t/preloader-sound/239682)

<div class="topic-metadata">

**Author:** [@BiGg\_RiE](https://forum.kirupa.com/u/BiGg_RiE)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:29pm UTC](https://forum.kirupa.com/t/preloader-sound/239682 "2007-09-24T20:29:08Z")

</div>

Ok, so I have a preloader and I need a sound to continuosly play while the preloader is visible and stop when it isn't. But also play again when it is seen again. My thought is that I need to make an event listener for…

---

## [Mod Rewrite - Verify Referer](https://forum.kirupa.com/t/mod-rewrite-verify-referer/239680)

<div class="topic-metadata">

**Author:** [@wjaspers](https://forum.kirupa.com/u/wjaspers)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 8:25pm UTC](https://forum.kirupa.com/t/mod-rewrite-verify-referer/239680 "2007-09-24T20:25:50Z")

</div>

I'm in need of a few lines for mod\_rewrite, installed with Apache 2.0.59 and PHP 4.3.9. I'm trying to verify a referer from our site so that downloads can't be accessed without coming through our download.php. I do n…

---

## [Changing the colour of a letter in a textfield](https://forum.kirupa.com/t/changing-the-colour-of-a-letter-in-a-textfield/239676)

<div class="topic-metadata">

**Author:** [@clodagh2000](https://forum.kirupa.com/u/clodagh2000)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 7:39pm UTC](https://forum.kirupa.com/t/changing-the-colour-of-a-letter-in-a-textfield/239676 "2007-09-24T19:39:25Z")

</div>

Hi, I want to change the colours of individual characters in a textfield, after it already contains text e.g.: Hello // I have a function to change the 4th character red \[COLOR=Black\]H\[/COLOR\]el\[COLOR=Red\]l\[/COLO…

---

## [Need some form validation help](https://forum.kirupa.com/t/need-some-form-validation-help/239671)

<div class="topic-metadata">

**Author:** [@Qgeis](https://forum.kirupa.com/u/Qgeis)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 6:47pm UTC](https://forum.kirupa.com/t/need-some-form-validation-help/239671 "2007-09-24T18:47:02Z")

</div>

Can someone give me a quick and short email validation script? :thumb: I'm almost braindead after staring at code for 5 hours. Big thanks!!!

---

## [Dynamic resize canvas](https://forum.kirupa.com/t/dynamic-resize-canvas/239667)

<div class="topic-metadata">

**Author:** [@scottk](https://forum.kirupa.com/u/scottk)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 5:30pm UTC](https://forum.kirupa.com/t/dynamic-resize-canvas/239667 "2007-09-24T17:30:51Z")

</div>

Is there a way to resize the canvas via an XML file?? i'm doing a simple banner rotation in flash that reads from an XML file to get the images, the display time and the fade time. is there a way to also define the im…

---

## [Beginer Flash Help](https://forum.kirupa.com/t/beginer-flash-help/239665)

<div class="topic-metadata">

**Author:** [@jackcoast](https://forum.kirupa.com/u/jackcoast)\
**Replies:** 0\
**Last updated:** [September 24, 2007, 5:06pm UTC](https://forum.kirupa.com/t/beginer-flash-help/239665 "2007-09-24T17:06:38Z")

</div>

New to the forum and learning about Flash. I use NVU to create my basic web pages but am trying to add a video spokesperson to my site. Do I need Flash for this? Are there any good tutorials out there on how to do this…

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

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