# programming

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

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

**Page:** 1656

---

## [Retreiving data from a table](https://forum.kirupa.com/t/retreiving-data-from-a-table/230509)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 8:24pm UTC](https://forum.kirupa.com/t/retreiving-data-from-a-table/230509 "2007-06-26T20:24:09Z")

</div>

Alright, database name is "mynewwine\_admin", tables name is "schedule". In the table I have several fields, (ID, time, date, event, and details). I've put some info into each field for test purposes. My question is ho…

---

## [Getting a draging movieclip's previous location](https://forum.kirupa.com/t/getting-a-draging-movieclips-previous-location/230506)

<div class="topic-metadata">

**Author:** [@pkarpenko](https://forum.kirupa.com/u/pkarpenko)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 7:32pm UTC](https://forum.kirupa.com/t/getting-a-draging-movieclips-previous-location/230506 "2007-06-26T19:32:55Z")

</div>

I'm wondering if there's an easy way to get the PREVIOUS x and y of a movieclip that's being dragged by the user. That is to say, the x and y the mc had before flash moved it with the mouse handler.

---

## [Image Map using XML](https://forum.kirupa.com/t/image-map-using-xml/230503)

<div class="topic-metadata">

**Author:** [@njoay](https://forum.kirupa.com/u/njoay)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 7:31pm UTC](https://forum.kirupa.com/t/image-map-using-xml/230503 "2007-06-26T19:31:46Z")

</div>

Hi all, I'm trying to create an image map and using XML but not sure how to go about this. I'm trying to create a campus map, and so when you click on a button/area on the entire map, an image and text appears. Each bu…

---

## [If/Else, Detecting file type, switching frames](https://forum.kirupa.com/t/if-else-detecting-file-type-switching-frames/230502)

<div class="topic-metadata">

**Author:** [@scopa](https://forum.kirupa.com/u/scopa)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 7:28pm UTC](https://forum.kirupa.com/t/if-else-detecting-file-type-switching-frames/230502 "2007-06-26T19:28:52Z")

</div>

Hey guys, I am an actionscript novice, and I am trying to wade through an experts code. There is a problem with the website that I am trying to finish up, and I thought I would give it a go on my own.... however I can't …

---

## [Make a button play a movie](https://forum.kirupa.com/t/make-a-button-play-a-movie/230501)

<div class="topic-metadata">

**Author:** [@avacado](https://forum.kirupa.com/u/avacado)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 7:25pm UTC](https://forum.kirupa.com/t/make-a-button-play-a-movie/230501 "2007-06-26T19:25:31Z")

</div>

Built a button that increases in size when you rollover it. Then built a movie (it's text that relates to that button) that fades in when you rollover it and out when you rolloff. How do I make the movie play when the us…

---

## [Help - Associative Array Woes](https://forum.kirupa.com/t/help-associative-array-woes/230496)

<div class="topic-metadata">

**Author:** [@mar1b0r0man](https://forum.kirupa.com/u/mar1b0r0man)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 6:52pm UTC](https://forum.kirupa.com/t/help-associative-array-woes/230496 "2007-06-26T18:52:05Z")

</div>

Hi all, I'm a newbie to PHP and need some help. I want to grab values from 2 arrays to create a new associative array. Not sure how I should loop through this, can someone please help? Any suggestions or recommendatio…

---

## [PHP/Ajax](https://forum.kirupa.com/t/php-ajax/230491)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 6:07pm UTC](https://forum.kirupa.com/t/php-ajax/230491 "2007-06-26T18:07:12Z")

</div>

Hey everyone, I'm really interested in getting into some Ajax type stuff with PHP. Nothing too serious to start, but all my experience with Ajax has been with Portlets so I am not sure how different it is with PHP. W…

---

## [MovieClip duplication and scaling](https://forum.kirupa.com/t/movieclip-duplication-and-scaling/230489)

<div class="topic-metadata">

**Author:** [@foged3](https://forum.kirupa.com/u/foged3)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 5:54pm UTC](https://forum.kirupa.com/t/movieclip-duplication-and-scaling/230489 "2007-06-26T17:54:30Z")

</div>

Hi, All I'm attemping to accomplish this effect: \[1\] http://www.marumushi.com/apps/socialcircles/socialcircles.cfm Click on "play" (top left) I have been fiddling with it for some time now.. here's what I've got ti…

---

## [Can someone please help me?](https://forum.kirupa.com/t/can-someone-please-help-me/230485)

<div class="topic-metadata">

**Author:** [@Ninjapoop](https://forum.kirupa.com/u/Ninjapoop)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 5:26pm UTC](https://forum.kirupa.com/t/can-someone-please-help-me/230485 "2007-06-26T17:26:38Z")

</div>

Hi, I made the flash volume controller using kirupa's tute. but i put it on my flash site on the internet. and the sound doesent work but it does in flash? can someone please help me? :mario:

---

## [JS read anchor or URL](https://forum.kirupa.com/t/js-read-anchor-or-url/230484)

<div class="topic-metadata">

**Author:** [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 5:26pm UTC](https://forum.kirupa.com/t/js-read-anchor-or-url/230484 "2007-06-26T17:26:15Z")

</div>

Because my site is pure AJAX I need a way of having individual pages linked to. At the moment the links are done with dud-links: #home, #about etc.... Is there anyway JS can read these or is there a way I can have th…

---

## [Help with an XML MP3 player](https://forum.kirupa.com/t/help-with-an-xml-mp3-player/230482)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 4:28pm UTC](https://forum.kirupa.com/t/help-with-an-xml-mp3-player/230482 "2007-06-26T16:28:34Z")

</div>

I downloaded this MP3 player last year from somewhere that I can't remember and I want to get the songs to keep playing through the playlist and not stop after every song as it is doing now. I've been looking at the co…

---

## [AIR troubles me again](https://forum.kirupa.com/t/air-troubles-me-again/230479)

<div class="topic-metadata">

**Author:** [@awflasher](https://forum.kirupa.com/u/awflasher)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 3:59pm UTC](https://forum.kirupa.com/t/air-troubles-me-again/230479 "2007-06-26T15:59:26Z")

</div>

As senocular had told me yesterday, that AIR is just a runtime and .air file is just a package-up of a group of assets. so i made a swf and assign it as the root of the air application and then package it directly from F…

---

## [Need help with this!](https://forum.kirupa.com/t/need-help-with-this/230474)

<div class="topic-metadata">

**Author:** [@localZero](https://forum.kirupa.com/u/localZero)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 3:20pm UTC](https://forum.kirupa.com/t/need-help-with-this/230474 "2007-06-26T15:20:06Z")

</div>

Hi! http://www.kirupa.com/developer/mx2004/thumbnails.htm Any ideas how I could make the thumbnail panel autoscroll?? It should stop when I move the mouse over a thumb and Autoscroll again when I move the mouse out…

---

## [Screen grab within Flash and output to JPEG?](https://forum.kirupa.com/t/screen-grab-within-flash-and-output-to-jpeg/230472)

<div class="topic-metadata">

**Author:** [@53effie](https://forum.kirupa.com/u/53effie)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 3:14pm UTC](https://forum.kirupa.com/t/screen-grab-within-flash-and-output-to-jpeg/230472 "2007-06-26T15:14:05Z")

</div>

Hi Folks, Can anybody give me an idea how I might create a jpeg of a portion of the currently running Flash swf from within the swf? I am assuming that I would either need some way of flattening the multiple layers whi…

---

## [Collision test among a series of objects](https://forum.kirupa.com/t/collision-test-among-a-series-of-objects/230465)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 1:58pm UTC](https://forum.kirupa.com/t/collision-test-among-a-series-of-objects/230465 "2007-06-26T13:58:00Z")

</div>

Hello there I am simply testing one of my attempts. I have got three movieclips with instance name "object", "obstacle1" and "obstacle2". I put the following codes in the first frame: obstacles = \["obstacle0","obstacl…

---

## [Timeline Movieclip Issue](https://forum.kirupa.com/t/timeline-movieclip-issue/230464)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 1:50pm UTC](https://forum.kirupa.com/t/timeline-movieclip-issue/230464 "2007-06-26T13:50:48Z")

</div>

So i have a animation on a timeline, and a movie in a movieclip. What i want to happen is the animation plays on the timeline, then when you click the play button to the movie, the movie plays and the timeline stops wh…

---

## [\[MX 2004\] Get Number of Frames in Movie Clip](https://forum.kirupa.com/t/mx-2004-get-number-of-frames-in-movie-clip/230463)

<div class="topic-metadata">

**Author:** [@japanada](https://forum.kirupa.com/u/japanada)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 1:45pm UTC](https://forum.kirupa.com/t/mx-2004-get-number-of-frames-in-movie-clip/230463 "2007-06-26T13:45:21Z")

</div>

Is it in any way possible to create a variable that represents the number of frames in a movie clip? I thought maybe something like var = getProperty(my\_mc, frames); might work, but it doesn't. I'm trying to make a "last…

---

## [Quick scrollbar XML issue](https://forum.kirupa.com/t/quick-scrollbar-xml-issue/230456)

<div class="topic-metadata">

**Author:** [@learntoreed](https://forum.kirupa.com/u/learntoreed)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 1:06pm UTC](https://forum.kirupa.com/t/quick-scrollbar-xml-issue/230456 "2007-06-26T13:06:50Z")

</div>

Greetings, I have a thumbnail gallery generated dynamically from an XML file. To allow for an infinite amount of room, I am adding a simple scroll bar. I used the scroll bar tutorial here at Kirupa (http://www.kirup…

---

## [Deactivate Movie when outside](https://forum.kirupa.com/t/deactivate-movie-when-outside/230453)

<div class="topic-metadata">

**Author:** [@seanhennessey](https://forum.kirupa.com/u/seanhennessey)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 12:42pm UTC](https://forum.kirupa.com/t/deactivate-movie-when-outside/230453 "2007-06-26T12:42:52Z")

</div>

Hey, I setup a gallery with scrolling thumbnails, it's working great, but the only problem is if the user goes to scroll through the thumbnails and then goes outside the movie, the thumbnails continue to scroll. How ca…

---

## [Audio problem](https://forum.kirupa.com/t/audio-problem/230450)

<div class="topic-metadata">

**Author:** [@spinningplates](https://forum.kirupa.com/u/spinningplates)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 11:34am UTC](https://forum.kirupa.com/t/audio-problem/230450 "2007-06-26T11:34:12Z")

</div>

Hi there, I need to execute an action on a movie clip when a piece of audio has finished playing. I'm using an attach-sound method. Is there any way of including a condition that says, when audio has finished playin…

---

## [Horizontal thumbnail sliding menu](https://forum.kirupa.com/t/horizontal-thumbnail-sliding-menu/230449)

<div class="topic-metadata">

**Author:** [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 11:30am UTC](https://forum.kirupa.com/t/horizontal-thumbnail-sliding-menu/230449 "2007-06-26T11:30:41Z")

</div>

Hi! In my next project I am to make a horizontal thumbnail sliding menu. The menu should consist of two arrows one on the left and one on the right so that people can navigate. On the screen there should be six thumbnail…

---

## [Passing Variables from loaded SWFs](https://forum.kirupa.com/t/passing-variables-from-loaded-swfs/230448)

<div class="topic-metadata">

**Author:** [@KandaKid](https://forum.kirupa.com/u/KandaKid)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 11:24am UTC](https://forum.kirupa.com/t/passing-variables-from-loaded-swfs/230448 "2007-06-26T11:24:31Z")

</div>

Hi all! This is my first post as I'm just getting my feet wet in AS2. Kirupa seems like friendly community and I'm hoping I can help others as my skills grow. Right now, I'm working in a modular app and I'm having trou…

---

## [Open page in frameset](https://forum.kirupa.com/t/open-page-in-frameset/230447)

<div class="topic-metadata">

**Author:** [@tfoso90](https://forum.kirupa.com/u/tfoso90)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 11:02am UTC](https://forum.kirupa.com/t/open-page-in-frameset/230447 "2007-06-26T11:02:53Z")

</div>

Hi, I am making a site, the top half is flash and the bottom html. I am using a frameset so that the swf doesnt reload each time a link is clicked. Site is here: http://cl3.co.uk/clients/face/michael/ click treatme…

---

## [Is it possible to do this is Flash Cs3](https://forum.kirupa.com/t/is-it-possible-to-do-this-is-flash-cs3/230446)

<div class="topic-metadata">

**Author:** [@azndaudau](https://forum.kirupa.com/u/azndaudau)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 10:48am UTC](https://forum.kirupa.com/t/is-it-possible-to-do-this-is-flash-cs3/230446 "2007-06-26T10:48:32Z")

</div>

Hey all, i currently have Flash CS3 installed but need compatability for Flash MX 2004 (for school reasons) Is there any way to save the .fla file for "MX 2004 compatability" in Flash CS3. or some sort of Converting to…

---

## [Flash 8 Export To .mov Failure](https://forum.kirupa.com/t/flash-8-export-to-mov-failure/230445)

<div class="topic-metadata">

**Author:** [@AndyM103](https://forum.kirupa.com/u/AndyM103)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 10:45am UTC](https://forum.kirupa.com/t/flash-8-export-to-mov-failure/230445 "2007-06-26T10:45:10Z")

</div>

Hello, I've had problems exporting to QuickTime so I checked with the Adobe page: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn\_18889&sliceId=1 I have moved the QuickTime Extension file (FLV.qtx) resta…

---

## [Set the position of images using XML file](https://forum.kirupa.com/t/set-the-position-of-images-using-xml-file/230444)

<div class="topic-metadata">

**Author:** [@jamna](https://forum.kirupa.com/u/jamna)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 10:32am UTC](https://forum.kirupa.com/t/set-the-position-of-images-using-xml-file/230444 "2007-06-26T10:32:33Z")

</div>

Hello everybody, I got sucessfully images in flash file from a XML for this type of work i wrote this code:: var theXml:XML = new XML(); theXml.ignoreWhite = true; theXml.onLoad = function() { var i; var numofnode = …

---

## [Flex panel class used with Flash CS3](https://forum.kirupa.com/t/flex-panel-class-used-with-flash-cs3/230442)

<div class="topic-metadata">

**Author:** [@FlawedKid](https://forum.kirupa.com/u/FlawedKid)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 9:50am UTC](https://forum.kirupa.com/t/flex-panel-class-used-with-flash-cs3/230442 "2007-06-26T09:50:25Z")

</div>

Hi have just downloaded flex tryout and had a quick fiddle around with it. I have become infatuated with flex's components and styles, especialy the panel component. Is their a way to use flex's panel component with Flas…

---

## [Flash best size](https://forum.kirupa.com/t/flash-best-size/230441)

<div class="topic-metadata">

**Author:** [@aamirbhatti](https://forum.kirupa.com/u/aamirbhatti)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 9:43am UTC](https://forum.kirupa.com/t/flash-best-size/230441 "2007-06-26T09:43:54Z")

</div>

what should be the best size of flash website like 800 x 600 or 1280 x 720 please tell me. Professional people preffered size

---

## [VISIBILITY Visible = false vs removeMovieClip()](https://forum.kirupa.com/t/visibility-visible-false-vs-removemovieclip/230438)

<div class="topic-metadata">

**Author:** [@ksfkay](https://forum.kirupa.com/u/ksfkay)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 9:13am UTC](https://forum.kirupa.com/t/visibility-visible-false-vs-removemovieclip/230438 "2007-06-26T09:13:29Z")

</div>

Alpha = 0 visible = false removeMovieClip (only works with attachmovieclip) am i missing any others ways to turn off, delete, remove, clear movieclips ? Can anyone recommend the usage value here? I'm trying to be con…

---

## [Text Editor Code?](https://forum.kirupa.com/t/text-editor-code/230437)

<div class="topic-metadata">

**Author:** [@dezamp](https://forum.kirupa.com/u/dezamp)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 9:12am UTC](https://forum.kirupa.com/t/text-editor-code/230437 "2007-06-26T09:12:36Z")

</div>

I would like to know how to produce some code that would encapsulate a selection with tags. E.g. If i wanted bold text i would press a button and it would have \<b\>whatever\_text\</b\>. I know there are quite a few text ed…

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

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