# programming

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

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

**Page:** 1665

---

## [Help \*Form Checking\*](https://forum.kirupa.com/t/help-form-checking/229817)

<div class="topic-metadata">

**Author:** [@jasondefra](https://forum.kirupa.com/u/jasondefra)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 12:55pm UTC](https://forum.kirupa.com/t/help-form-checking/229817 "2007-06-20T12:55:04Z")

</div>

Hi all, I'm in the process of scripting out an error checking function(s) to fish out incorrectly inputed text fields. For example, in a First Name text box, I want to make actionscript shoot the user to frame 2 (the 'In…

---

## [Help with a scrolling menu](https://forum.kirupa.com/t/help-with-a-scrolling-menu/229814)

<div class="topic-metadata">

**Author:** [@fathed](https://forum.kirupa.com/u/fathed)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 12:18pm UTC](https://forum.kirupa.com/t/help-with-a-scrolling-menu/229814 "2007-06-20T12:18:10Z")

</div>

\[COLOR=black\]\[FONT=Arial\]\[COLOR=black\]\[FONT=Arial\]I know this has been asked in here eleventy-billion times but I need some help with a scrolling menu. I used Kirupa's images gallery tutorial and did a little modifying; …

---

## [XML driven flash app - suggestions?](https://forum.kirupa.com/t/xml-driven-flash-app-suggestions/229812)

<div class="topic-metadata">

**Author:** [@zapatero](https://forum.kirupa.com/u/zapatero)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 12:05pm UTC](https://forum.kirupa.com/t/xml-driven-flash-app-suggestions/229812 "2007-06-20T12:05:10Z")

</div>

Hello, I'm pretty new on actionscript, although I already made a nice flash-based site using it. Now I want to make a part of my site for links, giving some information and a picture about where I'm linking to in adv…

---

## [Problem with Audio broadcasting](https://forum.kirupa.com/t/problem-with-audio-broadcasting/229804)

<div class="topic-metadata">

**Author:** [@Saddu](https://forum.kirupa.com/u/Saddu)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 11:01am UTC](https://forum.kirupa.com/t/problem-with-audio-broadcasting/229804 "2007-06-20T11:01:19Z")

</div>

hi evetyone, am doing a application which has two way audio interaction , and the code is like this var ns\_out = new NetStream(nc); var ns\_in = new NetStream(nc); ncMic = Microphone.get(); ns\_out.attachAudio(ncMic)…

---

## [Want to fire off a custom event on \_alpha=0](https://forum.kirupa.com/t/want-to-fire-off-a-custom-event-on--alpha-0/229803)

<div class="topic-metadata">

**Author:** [@NickZA](https://forum.kirupa.com/u/NickZA)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 10:36am UTC](https://forum.kirupa.com/t/want-to-fire-off-a-custom-event-on--alpha-0/229803 "2007-06-20T10:36:07Z")

</div>

Hi all In my app I fade a movieclip, and when that movieclip reaches \_alpha=0, I want it to send out a signal to let another movie clip begin to fade in. How do I do this? Is it something even remotely like: firs…

---

## [Get text from a XML file according to server's time](https://forum.kirupa.com/t/get-text-from-a-xml-file-according-to-servers-time/229799)

<div class="topic-metadata">

**Author:** [@jamna](https://forum.kirupa.com/u/jamna)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 9:40am UTC](https://forum.kirupa.com/t/get-text-from-a-xml-file-according-to-servers-time/229799 "2007-06-20T09:40:54Z")

</div>

Hello All, I made a site in ASP now i want to make a "trivia" section at my home page in which i want to get my text from a XML file. This XML file may be filled by 1000 or less trivia facts. The main thing is that i wa…

---

## [A complex problem - XHTML,CSS](https://forum.kirupa.com/t/a-complex-problem-xhtml-css/229797)

<div class="topic-metadata">

**Author:** [@Abus](https://forum.kirupa.com/u/Abus)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 9:21am UTC](https://forum.kirupa.com/t/a-complex-problem-xhtml-css/229797 "2007-06-20T09:21:09Z")

</div>

Hi, I have a main image for the header part of the page. But this image has different colors on its left and right sides. So I need to use 2 background images instead of 1. (For a better understanding you can check t…

---

## [Auto scrolling thumbnails](https://forum.kirupa.com/t/auto-scrolling-thumbnails/229792)

<div class="topic-metadata">

**Author:** [@localZero](https://forum.kirupa.com/u/localZero)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 8:25am UTC](https://forum.kirupa.com/t/auto-scrolling-thumbnails/229792 "2007-06-20T08:25:32Z")

</div>

Hi! I'm sure this is easy, but a new into flash and maybe u guys can help me out. Here's the deal: http://www.kirupa.com/developer/mx2004/thumbnails.htm how could I the thumbnails automatically scroll, let's say, f…

---

## [Slider-menu trouble \[renamed\]](https://forum.kirupa.com/t/slider-menu-trouble-renamed/229791)

<div class="topic-metadata">

**Author:** [@milzii](https://forum.kirupa.com/u/milzii)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 8:23am UTC](https://forum.kirupa.com/t/slider-menu-trouble-renamed/229791 "2007-06-20T08:23:22Z")

</div>

hiii.. im a new user of flash cs3.. i only got it for a website task for school to make menus. anyway, it seems really cool. i found a menu i like (menu with slider) http://www.kirupa.com/developer/mx2004/menu\_with\_slide…

---

## [Power-Up's & Timers HELP](https://forum.kirupa.com/t/power-ups-timers-help/229790)

<div class="topic-metadata">

**Author:** [@D\_955\_1A\_325](https://forum.kirupa.com/u/D_955_1A_325)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 8:18am UTC](https://forum.kirupa.com/t/power-ups-timers-help/229790 "2007-06-20T08:18:45Z")

</div>

Hey lads i just wanted to know if anyone could help me out, I'm trying to make it so that when a character hittests a powerupMC a effect happens such as frame rate speed up but only for a certain time such as until a tim…

---

## [AS3 Stage Align](https://forum.kirupa.com/t/as3-stage-align/229789)

<div class="topic-metadata">

**Author:** [@tha10co](https://forum.kirupa.com/u/tha10co)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 8:16am UTC](https://forum.kirupa.com/t/as3-stage-align/229789 "2007-06-20T08:16:03Z")

</div>

Hi I just make a Switch to Flash CS3 and AS3 and one of my favorite tricks in AS2 are Stage Align for swf at fullscreen... and align my elements in the place I like I just write some AS3 for Stage Align but doesn´t wor…

---

## [Best way to call events in sound object](https://forum.kirupa.com/t/best-way-to-call-events-in-sound-object/229782)

<div class="topic-metadata">

**Author:** [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 6:31am UTC](https://forum.kirupa.com/t/best-way-to-call-events-in-sound-object/229782 "2007-06-20T06:31:24Z")

</div>

I am playing a series of sound files via actionscript 3.0, and I would like to have a fade out effect for each sound and then have the next sound fade in. I was just curious if anyone could think of a better method the…

---

## [How to center a movie using SWFObject](https://forum.kirupa.com/t/how-to-center-a-movie-using-swfobject/229772)

<div class="topic-metadata">

**Author:** [@DirtyApe](https://forum.kirupa.com/u/DirtyApe)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 4:23am UTC](https://forum.kirupa.com/t/how-to-center-a-movie-using-swfobject/229772 "2007-06-20T04:23:17Z")

</div>

Hello, I am trying to center my movie vertically and horizontally using CSS. The html is already setup to use the SWFObject javascript, I just need help finding out how to center the movie. I am not very proficient with …

---

## [How to get event.target](https://forum.kirupa.com/t/how-to-get-event-target/229771)

<div class="topic-metadata">

**Author:** [@pppfeeling](https://forum.kirupa.com/u/pppfeeling)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 4:20am UTC](https://forum.kirupa.com/t/how-to-get-event-target/229771 "2007-06-20T04:20:57Z")

</div>

I made a textfield inside movieclip Movieclip name is 'mc' and textfield name is 'txt' mc ----txt I wrote as following code. mc.sound = "1" mc.addEventListener("click",onClick\_mc) mc.buttonMode = true function…

---

## [ReferenceError: Error #1065](https://forum.kirupa.com/t/referenceerror-error-1065/229770)

<div class="topic-metadata">

**Author:** [@Rinaldi](https://forum.kirupa.com/u/Rinaldi)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 3:09am UTC](https://forum.kirupa.com/t/referenceerror-error-1065/229770 "2007-06-20T03:09:11Z")

</div>

\[COLOR=black\]\[FONT=Arial\] \[FONT=Times New Roman\]Hi, I'm retrieving XML from a web service and I got this error. In the error I can see that the web service was processed successively, I think it's not just fitting in t…

---

## [Retaining Alignment + textFormat](https://forum.kirupa.com/t/retaining-alignment-textformat/229766)

<div class="topic-metadata">

**Author:** [@bandit8](https://forum.kirupa.com/u/bandit8)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 2:00am UTC](https://forum.kirupa.com/t/retaining-alignment-textformat/229766 "2007-06-20T02:00:21Z")

</div>

Hi, I have a movie where the user is able to type text into an input text field. The textfield itself is set to be left-aligned, but I provide the users with 2 buttons for alignment... left-align and center-align butto…

---

## [Text Selected onFocus](https://forum.kirupa.com/t/text-selected-onfocus/229765)

<div class="topic-metadata">

**Author:** [@bandit8](https://forum.kirupa.com/u/bandit8)\
**Replies:** 0\
**Last updated:** [June 20, 2007, 1:51am UTC](https://forum.kirupa.com/t/text-selected-onfocus/229765 "2007-06-20T01:51:18Z")

</div>

Hi, I have 2 input text fields in my movie...each has prepopulated text, giving directions to the user. i.e. the first input field is for their first name, and is populated with the text "First name here..." I want …

---

## [Putting a slideshow on DVD (put the file as .exe or .swf onto the dvd?)](https://forum.kirupa.com/t/putting-a-slideshow-on-dvd-put-the-file-as-exe-or-swf-onto-the-dvd/229756)

<div class="topic-metadata">

**Author:** [@Mythic\_Fr0st](https://forum.kirupa.com/u/Mythic_Fr0st)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 11:26pm UTC](https://forum.kirupa.com/t/putting-a-slideshow-on-dvd-put-the-file-as-exe-or-swf-onto-the-dvd/229756 "2007-06-19T23:26:10Z")

</div>

I am making a dvd with a slideshow from flash on it, should I put a swf or exe file onto the dvd? (its for a dvd player)

---

## [KeyboardEvent.Key\_Down focus problems](https://forum.kirupa.com/t/keyboardevent-key-down-focus-problems/229754)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 11:19pm UTC](https://forum.kirupa.com/t/keyboardevent-key-down-focus-problems/229754 "2007-06-19T23:19:53Z")

</div>

i have a movieclip that is at the top of my movie and it checks for events such as mousedown and mousereleased which work fine but when i try to get keydown event nothing happens unless i highlight text that is in said m…

---

## [Can someone PLEASE help me solve this mystery?](https://forum.kirupa.com/t/can-someone-please-help-me-solve-this-mystery/229751)

<div class="topic-metadata">

**Author:** [@lilymc](https://forum.kirupa.com/u/lilymc)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 10:25pm UTC](https://forum.kirupa.com/t/can-someone-please-help-me-solve-this-mystery/229751 "2007-06-19T22:25:18Z")

</div>

Ok, a few weeks ago I had some difficulty getting an audio player to work properly on my site. I tried a few tutorials, and I finally got it to work, except for one thing - when I put a video on my site, it interfered wi…

---

## [Target frame label in a swf from an html link?](https://forum.kirupa.com/t/target-frame-label-in-a-swf-from-an-html-link/229749)

<div class="topic-metadata">

**Author:** [@Obi\_Wan](https://forum.kirupa.com/u/Obi_Wan)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 9:55pm UTC](https://forum.kirupa.com/t/target-frame-label-in-a-swf-from-an-html-link/229749 "2007-06-19T21:55:23Z")

</div>

Hey everyone, can you target a frame or frame label in a swf file from an html link using java?

---

## [Need help with xml =/ not getting it](https://forum.kirupa.com/t/need-help-with-xml-not-getting-it/229748)

<div class="topic-metadata">

**Author:** [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 9:51pm UTC](https://forum.kirupa.com/t/need-help-with-xml-not-getting-it/229748 "2007-06-19T21:51:52Z")

</div>

Hello kirupians, Don't mean to sound annoying, but can someone help me with an rss reader in as3? I'm just not understanding E4X. i know how to load the xml in but when it comes down to actually navigating through it and…

---

## [33% Preload](https://forum.kirupa.com/t/33-preload/229745)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 9:09pm UTC](https://forum.kirupa.com/t/33-preload/229745 "2007-06-19T21:09:46Z")

</div>

I'm using this to preload a movie that has a lot of images in it: if (root.getBytesLoaded()==root.getBytesTotal()) { gotoAndPlay(3); // or wherever the content starts } else { gotoAndPlay(1); // restart the pre…

---

## [Importing CSV data to Exsiting MySQL Table?](https://forum.kirupa.com/t/importing-csv-data-to-exsiting-mysql-table/229744)

<div class="topic-metadata">

**Author:** [@duncanhall](https://forum.kirupa.com/u/duncanhall)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 9:06pm UTC](https://forum.kirupa.com/t/importing-csv-data-to-exsiting-mysql-table/229744 "2007-06-19T21:06:54Z")

</div>

I have a spreadsheet of details for 100 students. It has columns for: student\_id, telephone\_number, email\_address, website I also have a MySQL table of student details, with blank fields for telephone number, email…

---

## [Mouse\_wheel](https://forum.kirupa.com/t/mouse-wheel/229738)

<div class="topic-metadata">

**Author:** [@blaatorx](https://forum.kirupa.com/u/blaatorx)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 8:34pm UTC](https://forum.kirupa.com/t/mouse-wheel/229738 "2007-06-19T20:34:54Z")

</div>

peepz, i have a scroller class that makes use of the mouse wheel like this: \_mcWheelArea.addEventListener(MouseEvent.MOUSE\_WHEEL, mouseWheel); private function mouseWheel(me:MouseEvent):void { if (me.delta \> 1) me.de…

---

## [Parse Variable Name](https://forum.kirupa.com/t/parse-variable-name/229735)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 8:19pm UTC](https://forum.kirupa.com/t/parse-variable-name/229735 "2007-06-19T20:19:57Z")

</div>

If I have variables coming into to flash like this: "filename.html" Is there a way to parse it into just "filename". filename can be different sizes in letter length, I just basically need to drop the last 5 characte…

---

## [embedFonts - can't make it happen](https://forum.kirupa.com/t/embedfonts-cant-make-it-happen/229734)

<div class="topic-metadata">

**Author:** [@philj1986](https://forum.kirupa.com/u/philj1986)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 8:07pm UTC](https://forum.kirupa.com/t/embedfonts-cant-make-it-happen/229734 "2007-06-19T20:07:11Z")

</div>

Hey, I've been working on this all day - I am trying to embed a font into a text field and can't seem to find ANY documentation for AS3 on it...big suprise... anyway so far I have added the font to my library, set th…

---

## [Please help me approach this properly!](https://forum.kirupa.com/t/please-help-me-approach-this-properly/229731)

<div class="topic-metadata">

**Author:** [@gl0tch](https://forum.kirupa.com/u/gl0tch)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 7:59pm UTC](https://forum.kirupa.com/t/please-help-me-approach-this-properly/229731 "2007-06-19T19:59:57Z")

</div>

I am working on a portfolio site for a swimwear designer. Here's a mock up for reference: CLICK HERE Each swimsuit is presented in a "Mondrian" tile format, where the tiles animate in place and the photos fade in to…

---

## [Determine object triggering an event?](https://forum.kirupa.com/t/determine-object-triggering-an-event/229725)

<div class="topic-metadata">

**Author:** [@Shiroi](https://forum.kirupa.com/u/Shiroi)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 7:33pm UTC](https://forum.kirupa.com/t/determine-object-triggering-an-event/229725 "2007-06-19T19:33:47Z")

</div>

Hello! I am having an issue where I am unable to make my script determine which button in my menu is triggering the event (MOUSE\_UP). I came pretty close to success by finding the "target" property but its not reliable…

---

## [A better way to do this?](https://forum.kirupa.com/t/a-better-way-to-do-this/229724)

<div class="topic-metadata">

**Author:** [@renis](https://forum.kirupa.com/u/renis)\
**Replies:** 0\
**Last updated:** [June 19, 2007, 7:16pm UTC](https://forum.kirupa.com/t/a-better-way-to-do-this/229724 "2007-06-19T19:16:01Z")

</div>

The only thing I would like to recreate is the yellow "people" tab and its functionality (have it pop out and still select the options inside then go back when you roll out). I would like to get this working for several …

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

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