# programming

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

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

**Page:** 1228

---

## [Input text field w/ autocomplete via array](https://forum.kirupa.com/t/input-text-field-w-autocomplete-via-array/253934)

<div class="topic-metadata">

**Author:** [@Dunlavy](https://forum.kirupa.com/u/Dunlavy)\
**Replies:** 1\
**Last updated:** [May 23, 2008, 11:22am UTC](https://forum.kirupa.com/t/input-text-field-w-autocomplete-via-array/253934 "2008-05-23T11:22:45Z")

</div>

Greetings! I've parsed a tnsnames.ora file and have a large array of variables (name.world). Regardless of where the data is coming from, though, have any of you happened across a reliable way to listen to input text …

---

## [Need help on xml image gallery](https://forum.kirupa.com/t/need-help-on-xml-image-gallery/261090)

<div class="topic-metadata">

**Author:** [@jojolofty](https://forum.kirupa.com/u/jojolofty)\
**Replies:** 1\
**Last updated:** [May 23, 2008, 8:35am UTC](https://forum.kirupa.com/t/need-help-on-xml-image-gallery/261090 "2008-05-23T08:35:42Z")

</div>

I 'm using the kirupa gallery to display my images. Works sweet, centering the images, next and prev button, nice transition. No thumbnails or stuff. Pretty simple and basic. I want to show even a bigger images onclick i…

---

## [Reference button from within the function it calls?](https://forum.kirupa.com/t/reference-button-from-within-the-function-it-calls/261093)

<div class="topic-metadata">

**Author:** [@ibsen](https://forum.kirupa.com/u/ibsen)\
**Replies:** 2\
**Last updated:** [May 23, 2008, 7:58am UTC](https://forum.kirupa.com/t/reference-button-from-within-the-function-it-calls/261093 "2008-05-23T07:58:11Z")

</div>

I'm making a function to be called by different buttons, and I want the function also alter the appearance of the button itself. But I don't know how to refer to the button from within the generic function. function s…

---

## [Is it possible to link to a local file?](https://forum.kirupa.com/t/is-it-possible-to-link-to-a-local-file/261035)

<div class="topic-metadata">

**Author:** [@p0c](https://forum.kirupa.com/u/p0c)\
**Replies:** 2\
**Last updated:** [May 23, 2008, 7:44am UTC](https://forum.kirupa.com/t/is-it-possible-to-link-to-a-local-file/261035 "2008-05-23T07:44:52Z")

</div>

I am trying to save myself a lot of time by trying to get this code to work. Is it possible to link to a local file? For example simply link to a locally stored mpeg video that I would like to open over the top of…

---

## [Loading From Library](https://forum.kirupa.com/t/loading-from-library/261109)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [May 23, 2008, 7:33am UTC](https://forum.kirupa.com/t/loading-from-library/261109 "2008-05-23T07:33:41Z")

</div>

I have a MovieClip in my library that exports for actionscript on the 1st frame. When I create a new instance of this library symbol my Flash site lags and takes 5 to 10 seconds to show the symbol. Is there a way…

---

## [Movieclip over a Moveclip, both on stage, activate mouse event?](https://forum.kirupa.com/t/movieclip-over-a-moveclip-both-on-stage-activate-mouse-event/261079)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 3\
**Last updated:** [May 23, 2008, 6:08am UTC](https://forum.kirupa.com/t/movieclip-over-a-moveclip-both-on-stage-activate-mouse-event/261079 "2008-05-23T06:08:32Z")

</div>

Hi got MC A and MC B. MC B is directly under MC A. They are both indepedent on the stage, meaning they are not children of a bigger mc container. They both have rollover events, how can I activate the rollover events of …

---

## [Object Link - help please](https://forum.kirupa.com/t/object-link-help-please/260025)

<div class="topic-metadata">

**Author:** [@jon\_d](https://forum.kirupa.com/u/jon_d)\
**Replies:** 9\
**Last updated:** [May 23, 2008, 6:00am UTC](https://forum.kirupa.com/t/object-link-help-please/260025 "2008-05-23T06:00:12Z")

</div>

Hi all, I have an object \[FONT=Arial\]\[COLOR=red\]\<object width="135" height="173" type="text/html" data="modify\\lastrates.htm" border="0" style="overflow: hidden; border: no; scrollbar: no" \> \<q lang="he" dir="rtl"\> …

---

## [Main swf loading child swf loading child swf](https://forum.kirupa.com/t/main-swf-loading-child-swf-loading-child-swf/261106)

<div class="topic-metadata">

**Author:** [@Poul](https://forum.kirupa.com/u/Poul)\
**Replies:** 0\
**Last updated:** [May 23, 2008, 5:59am UTC](https://forum.kirupa.com/t/main-swf-loading-child-swf-loading-child-swf/261106 "2008-05-23T05:59:08Z")

</div>

Hello Need a little AS advice please! I have a main swf movie that is a website. This has a blank movie within it that loads external swf files. Within one of those swf files there is another blank movie that loads a…

---

## [Please help! analog clock](https://forum.kirupa.com/t/please-help-analog-clock/261100)

<div class="topic-metadata">

**Author:** [@gordon0](https://forum.kirupa.com/u/gordon0)\
**Replies:** 1\
**Last updated:** [May 23, 2008, 5:42am UTC](https://forum.kirupa.com/t/please-help-analog-clock/261100 "2008-05-23T05:42:27Z")

</div>

Hi! I want to do something like the analog clock in this website: http://www.hublot.com/hublot\_prod/site/hublot/index.php The minute and second hands in the watch are moving in a bit 3dimenion rotation, can anyone pl…

---

## [Hot to Create this button?](https://forum.kirupa.com/t/hot-to-create-this-button/261105)

<div class="topic-metadata">

**Author:** [@troshan](https://forum.kirupa.com/u/troshan)\
**Replies:** 0\
**Last updated:** [May 23, 2008, 5:40am UTC](https://forum.kirupa.com/t/hot-to-create-this-button/261105 "2008-05-23T05:40:46Z")

</div>

I have three button named home, contact and about me.now i want roll over and roll out effects for each button. but my question is i want roll out effect appear to this button when i mouse over to another button only. ht…

---

## [Flash movie playing slower than the audio tracks](https://forum.kirupa.com/t/flash-movie-playing-slower-than-the-audio-tracks/261018)

<div class="topic-metadata">

**Author:** [@suntzu61](https://forum.kirupa.com/u/suntzu61)\
**Replies:** 2\
**Last updated:** [May 23, 2008, 2:10am UTC](https://forum.kirupa.com/t/flash-movie-playing-slower-than-the-audio-tracks/261018 "2008-05-23T02:10:09Z")

</div>

I have recently finished a flash movie for a client and went to test it in the various browsers (IE,FF,Safari) and found that the movie clips and animations are playing slower than all the audio in the file. It is a mon…

---

## [What is wrong with this code please?](https://forum.kirupa.com/t/what-is-wrong-with-this-code-please/260925)

<div class="topic-metadata">

**Author:** [@glow](https://forum.kirupa.com/u/glow)\
**Replies:** 5\
**Last updated:** [May 23, 2008, 1:12am UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-code-please/260925 "2008-05-23T01:12:10Z")

</div>

Please I need help I don't know what else to try. before converting to As 2.0 from as 1.0 and fp 6 this code laoded an image just fine see code: if (\_root.templatedir ne "") { loadMovie(\_root.templatedir add "…

---

## [How do I unload a YouTube video?](https://forum.kirupa.com/t/how-do-i-unload-a-youtube-video/260466)

<div class="topic-metadata">

**Author:** [@wildlettuce](https://forum.kirupa.com/u/wildlettuce)\
**Replies:** 2\
**Last updated:** [May 23, 2008, 12:00am UTC](https://forum.kirupa.com/t/how-do-i-unload-a-youtube-video/260466 "2008-05-23T00:00:33Z")

</div>

I used the following code to load a YouTube video onto a flash website: this.createEmptyMovieClip("video\_mc", 10000); setProperty(video\_mc, \_x, 275); setProperty(video\_mc, \_y, 150); this.video\_mc.loadMovie("http://www…

---

## [Django: Linking Python to PostgreSQL](https://forum.kirupa.com/t/django-linking-python-to-postgresql/260958)

<div class="topic-metadata">

**Author:** [@nobody](https://forum.kirupa.com/u/nobody)\
**Replies:** 5\
**Last updated:** [May 22, 2008, 11:49pm UTC](https://forum.kirupa.com/t/django-linking-python-to-postgresql/260958 "2008-05-22T23:49:07Z")

</div>

Hi everyone, I hope there's still some people here using Django. I'm trying to get everything set up, I spent the entire day yesterday getting 95% of the way there. It's hard for me as I know nothing about command line…

---

## [Loading an external swf file after FLV plays?](https://forum.kirupa.com/t/loading-an-external-swf-file-after-flv-plays/261087)

<div class="topic-metadata">

**Author:** [@scott1969](https://forum.kirupa.com/u/scott1969)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 11:20pm UTC](https://forum.kirupa.com/t/loading-an-external-swf-file-after-flv-plays/261087 "2008-05-22T23:20:36Z")

</div>

I have an animated intro and menu as a swf. When you click on a chapter it loads a external swf with a flv in it. when the movie ends I want the video to unload and the menu section of the intro swf to load. What is …

---

## [JavaScript Form Filter issues](https://forum.kirupa.com/t/javascript-form-filter-issues/252218)

<div class="topic-metadata">

**Author:** [@DougOfTheAbaci](https://forum.kirupa.com/u/DougOfTheAbaci)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 10:21pm UTC](https://forum.kirupa.com/t/javascript-form-filter-issues/252218 "2008-05-22T22:21:29Z")

</div>

First off let me start by saying I don't know JavaScript almost at all, and all I do understand is carried over from my knowledge of ActionScript2.0 so forgive me if I'm asking an obvious question. I had this idea to c…

---

## [Volume Slider bar Innital volume](https://forum.kirupa.com/t/volume-slider-bar-innital-volume/47715)

<div class="topic-metadata">

**Author:** [@sdixon](https://forum.kirupa.com/u/sdixon)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 10:16pm UTC](https://forum.kirupa.com/t/volume-slider-bar-innital-volume/47715 "2008-05-22T22:16:56Z")

</div>

I need a simple solution for my volume slider bar problem, I completed the volume slider bar tut. on kirupa and it works for what i'm doing, but i'd like the volume to default to 70 or 80 instead of 0, so that the music …

---

## [Flash detection and replacement using "AC\_OETags.js"](https://forum.kirupa.com/t/flash-detection-and-replacement-using-ac-oetags-js/260741)

<div class="topic-metadata">

**Author:** [@onion](https://forum.kirupa.com/u/onion)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 10:12pm UTC](https://forum.kirupa.com/t/flash-detection-and-replacement-using-ac-oetags-js/260741 "2008-05-22T22:12:56Z")

</div>

I want to show a jpg alternative to my flash if the user doesn't have the flash player installed. I am using the flash detection script "AC\_OETags.js" that Adobe recommend. (It can be found here: http://www.adobe.com/…

---

## [Random non-repeating number](https://forum.kirupa.com/t/random-non-repeating-number/261029)

<div class="topic-metadata">

**Author:** [@bobllama](https://forum.kirupa.com/u/bobllama)\
**Replies:** 5\
**Last updated:** [May 22, 2008, 9:57pm UTC](https://forum.kirupa.com/t/random-non-repeating-number/261029 "2008-05-22T21:57:05Z")

</div>

Greetings all. Before I start: I know there is a lot of non-repeating random number stuff on this forum, but I can't quite seem to tailor any of it to this situation: I've got 45 sequentially-named instances of an MC…

---

## [Animation doesn't play when swf is loaded using loadMovie](https://forum.kirupa.com/t/animation-doesnt-play-when-swf-is-loaded-using-loadmovie/261050)

<div class="topic-metadata">

**Author:** [@victorcorey](https://forum.kirupa.com/u/victorcorey)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 9:36pm UTC](https://forum.kirupa.com/t/animation-doesnt-play-when-swf-is-loaded-using-loadmovie/261050 "2008-05-22T21:36:14Z")

</div>

EXTERNAL SWF (works by itself) this.onLoad = function() { this.base\_mc.onRollOver = function() { gotoAndPlay(1); }; this.base\_mc.onRollOut = function() { gotoAndPlay(13); }; }; MAIN SWF (external swf no longer work…

---

## [Gravity issue? Object slides through another object instead of sitting on top of it!](https://forum.kirupa.com/t/gravity-issue-object-slides-through-another-object-instead-of-sitting-on-top-of-it/260521)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 9:14pm UTC](https://forum.kirupa.com/t/gravity-issue-object-slides-through-another-object-instead-of-sitting-on-top-of-it/260521 "2008-05-22T21:14:08Z")

</div>

Hello! I have a file where two objects fall from the top of the stage and bounce and then eventually stop (using gravity and hit test). You can grab the objects (a ball and a box --- each has a button symbol n the mo…

---

## [Change scrollpane content to different mc](https://forum.kirupa.com/t/change-scrollpane-content-to-different-mc/261075)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 9:10pm UTC](https://forum.kirupa.com/t/change-scrollpane-content-to-different-mc/261075 "2008-05-22T21:10:14Z")

</div>

Hello. I currently have my scrollpane working fine. I have a movieclip dragged onto the stage where my scrollpane is and i use this code: mcpane.source = aboutcontent; aboutcontent.x = -50 aboutcontent.y = 20 however…

---

## [Dynamically Adding MovieClip](https://forum.kirupa.com/t/dynamically-adding-movieclip/261074)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 9:04pm UTC](https://forum.kirupa.com/t/dynamically-adding-movieclip/261074 "2008-05-22T21:04:43Z")

</div>

I have a MovieClip in my library which is defined as a class that I have in an external actionscript file. That is, I have a MovieClip "mc\_PortfolioElement" in my library and the linkage properties have "class: Portfoli…

---

## [Listening for events on the stage](https://forum.kirupa.com/t/listening-for-events-on-the-stage/261061)

<div class="topic-metadata">

**Author:** [@Enebreus](https://forum.kirupa.com/u/Enebreus)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 8:53pm UTC](https://forum.kirupa.com/t/listening-for-events-on-the-stage/261061 "2008-05-22T20:53:07Z")

</div>

Hey guys, Sorry if this has been asked before. Can't find it with the search. Is it possible to listen for bubbled events on the stage? Right now I have this working: myClass.addEventListener("customEvent", e…

---

## [Hi, vector graphics... \[Flash 8 Pro\]](https://forum.kirupa.com/t/hi-vector-graphics-flash-8-pro/260996)

<div class="topic-metadata">

**Author:** [@Valaran](https://forum.kirupa.com/u/Valaran)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 7:51pm UTC](https://forum.kirupa.com/t/hi-vector-graphics-flash-8-pro/260996 "2008-05-22T19:51:33Z")

</div>

Hi, Short version: Can you import vector images during runtime? (Any format will do) I asked a question regarding .ai files here the other day, I'd like to reformulate the question: Can you somehow import vector grap…

---

## [loadMovieNum \_root question](https://forum.kirupa.com/t/loadmovienum--root-question/260752)

<div class="topic-metadata">

**Author:** [@smuella](https://forum.kirupa.com/u/smuella)\
**Replies:** 6\
**Last updated:** [May 22, 2008, 7:38pm UTC](https://forum.kirupa.com/t/loadmovienum--root-question/260752 "2008-05-22T19:38:33Z")

</div>

Hi - I'm confused with loadMovieNum - I thought that if I loaded in a swf into a level in my maind movie using loadMovieNum, then the loaded movie would see the \_root of the main timeline as its \_root - but this doesn't …

---

## [Loading jpg/gif into movieclip](https://forum.kirupa.com/t/loading-jpg-gif-into-movieclip/261063)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 7:29pm UTC](https://forum.kirupa.com/t/loading-jpg-gif-into-movieclip/261063 "2008-05-22T19:29:08Z")

</div>

Hi, I want to create a gallery, to do so, I need to create about 10 movieclips 100x100 on the stage and load jpg/gif files into them. How can I do it in AS3? Thanks

---

## [\[8\] scope issue](https://forum.kirupa.com/t/8-scope-issue/261004)

<div class="topic-metadata">

**Author:** [@flashcb70](https://forum.kirupa.com/u/flashcb70)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 6:46pm UTC](https://forum.kirupa.com/t/8-scope-issue/261004 "2008-05-22T18:46:27Z")

</div>

I've build a Array (DataListArray) and want the Array elements be able to be accessed outside the function they where created in. The only way I can get it to work is if i do everything within the parseXMLData function…

---

## [Colour Saturation](https://forum.kirupa.com/t/colour-saturation/260603)

<div class="topic-metadata">

**Author:** [@g27](https://forum.kirupa.com/u/g27)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 6:01pm UTC](https://forum.kirupa.com/t/colour-saturation/260603 "2008-05-22T18:01:49Z")

</div>

Hey, I am having huge colour saturation problems when I import into flash - colour really fades from the original master - anyone got any ideas, thoughts or advice? Would be really really grateful if anyone knew. T…

---

## [Simple Counter Freezes (doesn't use loops)](https://forum.kirupa.com/t/simple-counter-freezes-doesnt-use-loops/260975)

<div class="topic-metadata">

**Author:** [@pittsburghjoe](https://forum.kirupa.com/u/pittsburghjoe)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 5:59pm UTC](https://forum.kirupa.com/t/simple-counter-freezes-doesnt-use-loops/260975 "2008-05-22T17:59:09Z")

</div>

I have a counter that continuously runs, updating how much CO2 emissions my clients product saves throughout the year (in real time). I'm using an onClipEvent (enterFrame){ and a this.onEnterFrame = function(){ within my…

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

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