# programming

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

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

**Page:** 1465

---

## [Closed caption for Flash 8 flvPlayback component](https://forum.kirupa.com/t/closed-caption-for-flash-8-flvplayback-component/244517)

<div class="topic-metadata">

**Author:** [@vikasr](https://forum.kirupa.com/u/vikasr)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 9:27am UTC](https://forum.kirupa.com/t/closed-caption-for-flash-8-flvplayback-component/244517 "2007-11-19T09:27:01Z")

</div>

Hi all, I am having a problem in CaptionDisplay class used to add captions for a video. In my project I have to show many videos in a flvPlayback component, and every video have their own caption xml file. The caption …

---

## [dataGrids and cells](https://forum.kirupa.com/t/datagrids-and-cells/244516)

<div class="topic-metadata">

**Author:** [@eimclark](https://forum.kirupa.com/u/eimclark)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 9:11am UTC](https://forum.kirupa.com/t/datagrids-and-cells/244516 "2007-11-19T09:11:39Z")

</div>

Really need help here, hope this is the place to find it. I have a dataGrid with 3 columns and 20 rows. I want to multi-select rows and pass the values from the cells in the 2nd column to a new list. I'm kind of almo…

---

## [How to pass parameter to AS2 movie and still use browser's cache?](https://forum.kirupa.com/t/how-to-pass-parameter-to-as2-movie-and-still-use-browsers-cache/244515)

<div class="topic-metadata">

**Author:** [@coolburn](https://forum.kirupa.com/u/coolburn)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 8:53am UTC](https://forum.kirupa.com/t/how-to-pass-parameter-to-as2-movie-and-still-use-browsers-cache/244515 "2007-11-19T08:53:20Z")

</div>

Hello, I am loading an AS2 movie from AS3, and would like to pass a parameter to it. The value of the parameter will be different each time. The loaded movie is quite big, and I need it to be loaded from the browser…

---

## [onLoad not successful](https://forum.kirupa.com/t/onload-not-successful/244514)

<div class="topic-metadata">

**Author:** [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 8:34am UTC](https://forum.kirupa.com/t/onload-not-successful/244514 "2007-11-19T08:34:27Z")

</div>

Hi This is pretty simple that I just cant make it work. When I ran my FLA with this codes, it works ok. But uploading to actual server and run it, the load turns out to be unsuccessful. Any help would be appreciated. …

---

## [duplicateMovieClip Problem](https://forum.kirupa.com/t/duplicatemovieclip-problem/244511)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 7:26am UTC](https://forum.kirupa.com/t/duplicatemovieclip-problem/244511 "2007-11-19T07:26:29Z")

</div>

I have a movie clip that contains for different frames (with stop() actions on each frame), but "gotoAndPlay" is ignored in the code below. Does anyone know why? for (var i = 0; i \< 100; i++) { whichFlake = Math.f…

---

## [Newbie question: using tween messes with \_alpha property](https://forum.kirupa.com/t/newbie-question-using-tween-messes-with--alpha-property/244509)

<div class="topic-metadata">

**Author:** [@edotokyo](https://forum.kirupa.com/u/edotokyo)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 7:16am UTC](https://forum.kirupa.com/t/newbie-question-using-tween-messes-with--alpha-property/244509 "2007-11-19T07:16:33Z")

</div>

Hello, I'm struggling to debug the following piece of code. It is supposed to loop over some pictures and smoothly put each picture on top of the other. When NOT using the Tween transition (only \[COLOR=royalblue\]blue\[/…

---

## [Flash pop-up windows?](https://forum.kirupa.com/t/flash-pop-up-windows/244508)

<div class="topic-metadata">

**Author:** [@stoney\_kun](https://forum.kirupa.com/u/stoney_kun)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 6:47am UTC](https://forum.kirupa.com/t/flash-pop-up-windows/244508 "2007-11-19T06:47:03Z")

</div>

Hi All, I am trying to build an Flash-based audio player that features a standalone mode (opens in a small popup window). I have found a site that somehow manages to implement this concept whilst bypassing the browsers…

---

## [Synch audio and tweens from actionscript](https://forum.kirupa.com/t/synch-audio-and-tweens-from-actionscript/244505)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 5:33am UTC](https://forum.kirupa.com/t/synch-audio-and-tweens-from-actionscript/244505 "2007-11-19T05:33:34Z")

</div>

I was thinking what would be the best way to do this pure actionscript? if i use a sound's .position could i create events to be called when the sound hits that position? i.e. when the sound position = 2500 miliseco…

---

## [Default Script Timeout](https://forum.kirupa.com/t/default-script-timeout/244499)

<div class="topic-metadata">

**Author:** [@barrence](https://forum.kirupa.com/u/barrence)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 4:04am UTC](https://forum.kirupa.com/t/default-script-timeout/244499 "2007-11-19T04:04:36Z")

</div>

Hi, I was trying to code a script but I keep getting this error: "Error #1502: A script has executed for longer than the default timeout period of 15 seconds." So after googling this for a while, I found you could c…

---

## [2 different fscommands](https://forum.kirupa.com/t/2-different-fscommands/244497)

<div class="topic-metadata">

**Author:** [@jibble](https://forum.kirupa.com/u/jibble)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 4:02am UTC](https://forum.kirupa.com/t/2-different-fscommands/244497 "2007-11-19T04:02:03Z")

</div>

I'm using this code for aligning a navigation to the bottom of my browser. fscommand("fullscreen", "true"); Stage.align = "TL"; Stage.scaleMode = "noScale"; var myListener2:Object = new Object(); myListener2.onResize…

---

## [Input TextField SetSelection?](https://forum.kirupa.com/t/input-textfield-setselection/244494)

<div class="topic-metadata">

**Author:** [@quietless](https://forum.kirupa.com/u/quietless)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:45am UTC](https://forum.kirupa.com/t/input-textfield-setselection/244494 "2007-11-19T02:45:36Z")

</div>

Where did this go? I'm trying to have a good ol' input text field have focus when the application loads so the user doesn't have to click on it first. I see a setSelection() method which lets you select part of the strin…

---

## [getURL with xml and action script](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493)

<div class="topic-metadata">

**Author:** [@william7](https://forum.kirupa.com/u/william7)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:42am UTC](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493 "2007-11-19T02:42:45Z")

</div>

Hello i need a genius to help me, Say if we where making the flash photo gallery from KIRUPA.com http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm And we wanted to add a link to the image. So i'v…

---

## [Having trouble with prototype](https://forum.kirupa.com/t/having-trouble-with-prototype/244491)

<div class="topic-metadata">

**Author:** [@girasquid](https://forum.kirupa.com/u/girasquid)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:23am UTC](https://forum.kirupa.com/t/having-trouble-with-prototype/244491 "2007-11-19T02:23:17Z")

</div>

Hello, all. I am currently working on a project that involves parsing multiple XML files, and using their attributes. I found a snippet on actionscript.org that would allow me to give Flash's XML type the "getElementsB…

---

## ["Fake" jQuery form](https://forum.kirupa.com/t/fake-jquery-form/244490)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:21am UTC](https://forum.kirupa.com/t/fake-jquery-form/244490 "2007-11-19T02:21:13Z")

</div>

Hey everyone, Just started learning jQuery (Javascript too, essentially) this week. Right now, I'm trying to make a "clean" form just using DOM objects (spans, divs, etc.) and and have jQuery assign variables onclick…

---

## [\_loadMovie problem](https://forum.kirupa.com/t/-loadmovie-problem/244489)

<div class="topic-metadata">

**Author:** [@teokon](https://forum.kirupa.com/u/teokon)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 2:19am UTC](https://forum.kirupa.com/t/-loadmovie-problem/244489 "2007-11-19T02:19:10Z")

</div>

hey everyone... i used kirupa's (http://www.kirupa.com/developer/mx/preloader\_transition.htm) tutorial to create a movie with buttons that load external movies and works seamlessly. my problem is that i want to do th…

---

## [Pulling random MovieClips with an onMouseDown Listener](https://forum.kirupa.com/t/pulling-random-movieclips-with-an-onmousedown-listener/244486)

<div class="topic-metadata">

**Author:** [@mtsfestivus](https://forum.kirupa.com/u/mtsfestivus)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 12:50am UTC](https://forum.kirupa.com/t/pulling-random-movieclips-with-an-onmousedown-listener/244486 "2007-11-19T00:50:08Z")

</div>

Hello all. This is pretty simple and I think I'm pretty close, but I can't seem to get this to work. Basic functionality will be that wherever you click on the stage, a random MovieClip will be displayed. I've been out…

---

## [PHP - Retrieve html tags based on id](https://forum.kirupa.com/t/php-retrieve-html-tags-based-on-id/244484)

<div class="topic-metadata">

**Author:** [@silverType](https://forum.kirupa.com/u/silverType)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 12:42am UTC](https://forum.kirupa.com/t/php-retrieve-html-tags-based-on-id/244484 "2007-11-19T00:42:05Z")

</div>

Hi guys, I was wondering if there is a way to retrieve html tag by suppling its id or name attribute? For eg. I have a textbox with 'ferrari' as its id. So whenever someone clicks on the textbox, its id will be submitt…

---

## [Help with contact forum](https://forum.kirupa.com/t/help-with-contact-forum/244483)

<div class="topic-metadata">

**Author:** [@sethstacey](https://forum.kirupa.com/u/sethstacey)\
**Replies:** 0\
**Last updated:** [November 19, 2007, 12:25am UTC](https://forum.kirupa.com/t/help-with-contact-forum/244483 "2007-11-19T00:25:47Z")

</div>

Hello, I have a question: I am trying to use the form that I found on this site (http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm). It works great! However, I do have one issue. I need to have thi…

---

## [How to get the "real" size of a movieclip?](https://forum.kirupa.com/t/how-to-get-the-real-size-of-a-movieclip/244481)

<div class="topic-metadata">

**Author:** [@tp3t3r](https://forum.kirupa.com/u/tp3t3r)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 11:47pm UTC](https://forum.kirupa.com/t/how-to-get-the-real-size-of-a-movieclip/244481 "2007-11-18T23:47:20Z")

</div>

Hi there, I have an annoying problem with MCs which have a dynamic text field. After setting the textfield.text to the proper value (while textfield.autoSize = true) the \_height of the textfield increases, but the \_hei…

---

## [Please have a look what's wrong w. this code](https://forum.kirupa.com/t/please-have-a-look-whats-wrong-w-this-code/244480)

<div class="topic-metadata">

**Author:** [@tsf06](https://forum.kirupa.com/u/tsf06)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 11:37pm UTC](https://forum.kirupa.com/t/please-have-a-look-whats-wrong-w-this-code/244480 "2007-11-18T23:37:13Z")

</div>

Hi, I found a bit of code for "magnetic effx" but this works only with Flash player 6 and earlier. Does anybody know how to make it work with FP 8. Here is the code: \[COLOR=Navy\]MovieClip.prototype.onEnterFrame = f…

---

## [Create something like this](https://forum.kirupa.com/t/create-something-like-this/244478)

<div class="topic-metadata">

**Author:** [@csr500](https://forum.kirupa.com/u/csr500)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 10:21pm UTC](https://forum.kirupa.com/t/create-something-like-this/244478 "2007-11-18T22:21:57Z")

</div>

Hello everyone I saw this website and would like to create something similar, but with a few less pages. http://www.schematic.com/#// I was hoping someone could point me in the direction of a tutorial or at least t…

---

## [MovieClip Transition Problem](https://forum.kirupa.com/t/movieclip-transition-problem/244473)

<div class="topic-metadata">

**Author:** [@zao](https://forum.kirupa.com/u/zao)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 9:01pm UTC](https://forum.kirupa.com/t/movieclip-transition-problem/244473 "2007-11-18T21:01:11Z")

</div>

this.onRelease = function() { if (\_root.currSection == undefined) { \_root.currSection = "areas"; \_root.container.attachMovie("areas","areasSection\_mc",\_root.getNextHighestDepth()); trace(\_root.currSection); …

---

## [Datefield problem....urgent](https://forum.kirupa.com/t/datefield-problem-urgent/244467)

<div class="topic-metadata">

**Author:** [@alphasil](https://forum.kirupa.com/u/alphasil)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 5:18pm UTC](https://forum.kirupa.com/t/datefield-problem-urgent/244467 "2007-11-18T17:18:23Z")

</div>

Hi ppl I'm new in this forum and i have already a problem with a project, i have a sprite and inside, there is a few fields to input text, i want to put a datefield component, but when i test the movie he only show a b…

---

## [Stuck with css lightbox](https://forum.kirupa.com/t/stuck-with-css-lightbox/244465)

<div class="topic-metadata">

**Author:** [@stefanmhodgson](https://forum.kirupa.com/u/stefanmhodgson)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:54pm UTC](https://forum.kirupa.com/t/stuck-with-css-lightbox/244465 "2007-11-18T16:54:12Z")

</div>

Hello. I want to have a lightbox gallery on this page but can't seem to get it to work right. I have followed all the instructions from this site but when you click on the image, it seems to have to much border. htt…

---

## [TV Switch on and off.. help please thanks :)](https://forum.kirupa.com/t/tv-switch-on-and-off-help-please-thanks/244463)

<div class="topic-metadata">

**Author:** [@Woodpeckersam](https://forum.kirupa.com/u/Woodpeckersam)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:33pm UTC](https://forum.kirupa.com/t/tv-switch-on-and-off-help-please-thanks/244463 "2007-11-18T16:33:30Z")

</div>

Hi all, new here.. and a little new to actionscript 2. (im using it at college.. 3 months already) I have a movieclip of a remote, and within that movieclip there are buttons that will control a tv in the main scene. I…

---

## [Flash MX: Importing Sound](https://forum.kirupa.com/t/flash-mx-importing-sound/244462)

<div class="topic-metadata">

**Author:** [@MikokoRiko](https://forum.kirupa.com/u/MikokoRiko)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 4:03pm UTC](https://forum.kirupa.com/t/flash-mx-importing-sound/244462 "2007-11-18T16:03:32Z")

</div>

I'm hoping it's not a repeat thread but I am having a problem with importing sound. I'm not sure if it's the fact I'm using Vista or just something I'm doing wrong but I know I've imported sound a few times before and I …

---

## [Class Variable Scope](https://forum.kirupa.com/t/class-variable-scope/244461)

<div class="topic-metadata">

**Author:** [@boyceofreason](https://forum.kirupa.com/u/boyceofreason)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 3:32pm UTC](https://forum.kirupa.com/t/class-variable-scope/244461 "2007-11-18T15:32:51Z")

</div>

I'm somewhat new to writing classes so forgive me if I get some wrong terminology. I have a MC with a class attached to it, and I have other MCs within that MC. I need those MCs to be able to access variables within…

---

## [What are loders for?](https://forum.kirupa.com/t/what-are-loders-for/244459)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 3:20pm UTC](https://forum.kirupa.com/t/what-are-loders-for/244459 "2007-11-18T15:20:05Z")

</div>

What are loders for, i mean why do i need to have a loder if i can just can make it without one...

---

## [Long Loading Session Getting Stuck](https://forum.kirupa.com/t/long-loading-session-getting-stuck/244456)

<div class="topic-metadata">

**Author:** [@galwitz](https://forum.kirupa.com/u/galwitz)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 2:19pm UTC](https://forum.kirupa.com/t/long-loading-session-getting-stuck/244456 "2007-11-18T14:19:21Z")

</div>

Hi there, I have an Flash application reading an XML and loading SWFs and MP3s that are specified there. The app works and loads and finishes loading just fine when running INSIDE the Flash authoring tool. BUT - Whe…

---

## [PHP + MYSQL: Return ID of a row after insertion](https://forum.kirupa.com/t/php-mysql-return-id-of-a-row-after-insertion/244455)

<div class="topic-metadata">

**Author:** [@silverType](https://forum.kirupa.com/u/silverType)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 2:17pm UTC](https://forum.kirupa.com/t/php-mysql-return-id-of-a-row-after-insertion/244455 "2007-11-18T14:17:07Z")

</div>

Hi guys, I have 2 tables, namely 'test\_suite' and 'test\_case'. The test\_suite contains an testsuiteID which is the primary key of the table and will auto increment with each row inserted. After an insertion, I want to …

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

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