# programming

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

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

**Page:** 659

---

## [gotoAndPlay the main timeline?](https://forum.kirupa.com/t/gotoandplay-the-main-timeline/298606)

<div class="topic-metadata">

**Author:** [@v8l57](https://forum.kirupa.com/u/v8l57)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 7:34pm UTC](https://forum.kirupa.com/t/gotoandplay-the-main-timeline/298606 "2009-10-21T19:34:51Z")

</div>

I have a main navigation bar on my main stage that is constant through out. I have converted the bar to a movie clip. How do i then tell the movie clip to look at the main stage, not inside the mc, when a button/mouse e…

---

## [Shader import problems](https://forum.kirupa.com/t/shader-import-problems/298604)

<div class="topic-metadata">

**Author:** [@dtk13](https://forum.kirupa.com/u/dtk13)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 7:14pm UTC](https://forum.kirupa.com/t/shader-import-problems/298604 "2009-10-21T19:14:41Z")

</div>

Hey. I have a class that extends ShaderFilter and I keep getting this error: Error: The definition of base class ShaderFilter was not found. as if flash.filters.ShaderFilters doesn't exist. I'm compiling with flex 3.…

---

## [Problem controlling main timeline](https://forum.kirupa.com/t/problem-controlling-main-timeline/298603)

<div class="topic-metadata">

**Author:** [@alejandroy](https://forum.kirupa.com/u/alejandroy)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:52pm UTC](https://forum.kirupa.com/t/problem-controlling-main-timeline/298603 "2009-10-21T18:52:50Z")

</div>

I'm a complete noob in AS3. I'm having a pretty weird problem and for the life of me, I can't figure it out. I have a main movieclip, which includes a main menu. The menu buttons are set so that they jump to a frame l…

---

## [How do I find my colors for setColorTransform?](https://forum.kirupa.com/t/how-do-i-find-my-colors-for-setcolortransform/298602)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:52pm UTC](https://forum.kirupa.com/t/how-do-i-find-my-colors-for-setcolortransform/298602 "2009-10-21T18:52:39Z")

</div>

OK this is probably a dumb question. I have my first color from some code I found, so I did a screencap & sampled it in PhotoShop to get the hex color for the color chip that changes my grayscale bitmap to that color on …

---

## [Multiple Links in a TextArea?](https://forum.kirupa.com/t/multiple-links-in-a-textarea/298601)

<div class="topic-metadata">

**Author:** [@matius](https://forum.kirupa.com/u/matius)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:51pm UTC](https://forum.kirupa.com/t/multiple-links-in-a-textarea/298601 "2009-10-21T18:51:31Z")

</div>

Is this possible you guys? I tried this route considering it seems ridiculously complicated to add a scroll bar to a dynamically generated movie clip. I mean, I just want to scroll text/links coming from an XML file…

---

## [Loading a web page in flash](https://forum.kirupa.com/t/loading-a-web-page-in-flash/298599)

<div class="topic-metadata">

**Author:** [@darren884](https://forum.kirupa.com/u/darren884)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:00pm UTC](https://forum.kirupa.com/t/loading-a-web-page-in-flash/298599 "2009-10-21T18:00:18Z")

</div>

I am trying to load the contents of a web page into flash, however I keep getting undefined when I trace the data. For example: var api:URLLoader = new URLLoader(); api.dataFormat = URLLoaderDataFormat.TEXT; a…

---

## [Skin for custom video player](https://forum.kirupa.com/t/skin-for-custom-video-player/298598)

<div class="topic-metadata">

**Author:** [@jac4b](https://forum.kirupa.com/u/jac4b)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:59pm UTC](https://forum.kirupa.com/t/skin-for-custom-video-player/298598 "2009-10-21T17:59:49Z")

</div>

I'm using the following rather than the FLVPlayback component, how do I attach a generic skin? var nc:NetConnection = new NetConnection(); nc.connect( null ); var ns:NetStream = new NetStream( nc ); v…

---

## [How to empty a display object container](https://forum.kirupa.com/t/how-to-empty-a-display-object-container/298597)

<div class="topic-metadata">

**Author:** [@jac4b](https://forum.kirupa.com/u/jac4b)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:47pm UTC](https://forum.kirupa.com/t/how-to-empty-a-display-object-container/298597 "2009-10-21T17:47:42Z")

</div>

Is there a simple way to completely empty a display object container regardless of what it contains, including if it's already empty? In other words, without determining its children and using removeChild on each?

---

## [How do I run a function when my program starts?](https://forum.kirupa.com/t/how-do-i-run-a-function-when-my-program-starts/298596)

<div class="topic-metadata">

**Author:** [@qhrome27](https://forum.kirupa.com/u/qhrome27)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:38pm UTC](https://forum.kirupa.com/t/how-do-i-run-a-function-when-my-program-starts/298596 "2009-10-21T17:38:48Z")

</div>

Hello, I am totally new to AS3.0 and OOP in general, so this is a very basic question I can't seem to figure out. I have a package. Inside that package is a class. Inside that class is a function that initializes…

---

## [Full Screen Website. Black Video](https://forum.kirupa.com/t/full-screen-website-black-video/298595)

<div class="topic-metadata">

**Author:** [@smakstudios](https://forum.kirupa.com/u/smakstudios)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:32pm UTC](https://forum.kirupa.com/t/full-screen-website-black-video/298595 "2009-10-21T17:32:37Z")

</div>

Hey All, I have enabled my flash page to have fullscreen capability. The problem is that when I go to the media section and click a video the page goes black. I'm taking it that the video is automatically going full scre…

---

## [Filling in my shapes](https://forum.kirupa.com/t/filling-in-my-shapes/298594)

<div class="topic-metadata">

**Author:** [@Wabaski](https://forum.kirupa.com/u/Wabaski)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:21pm UTC](https://forum.kirupa.com/t/filling-in-my-shapes/298594 "2009-10-21T17:21:30Z")

</div>

Hi guys! i'm new to flash...sorry! i have a really basic question... i've made my character on flash and i can't seem to fill in the shapes with colors...i keep using the paint bucket to fill in but it wont let me. It h…

---

## [Help on 2 XMLLists](https://forum.kirupa.com/t/help-on-2-xmllists/298592)

<div class="topic-metadata">

**Author:** [@spmc](https://forum.kirupa.com/u/spmc)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:07pm UTC](https://forum.kirupa.com/t/help-on-2-xmllists/298592 "2009-10-21T17:07:12Z")

</div>

Long set-up, sorry.... I've got my xml loading and I'm splitting it into two XMLLists based on an attribute. The problem I'm having is correctly setting up functions for each list to loop through and set up the correct…

---

## [WP question](https://forum.kirupa.com/t/wp-question/298589)

<div class="topic-metadata">

**Author:** [@travis](https://forum.kirupa.com/u/travis)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 4:03pm UTC](https://forum.kirupa.com/t/wp-question/298589 "2009-10-21T16:03:53Z")

</div>

I'm working on a new website based entirely in word-press and I'm wondering how I can make the main page, that is index.php, not show the blog but just a page. I hope that makes sense.

---

## [Simple addressing question](https://forum.kirupa.com/t/simple-addressing-question/298588)

<div class="topic-metadata">

**Author:** [@Pancho](https://forum.kirupa.com/u/Pancho)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 3:54pm UTC](https://forum.kirupa.com/t/simple-addressing-question/298588 "2009-10-21T15:54:29Z")

</div>

I have a sprite inside a sprite. This sprite also contains a text filed. The path FL spits out is as follows: Movieclip: Bild=0 Ziel="level0.captions.captionLine32" Text bearbeiten: Ziel="level0.captions.captionL…

---

## [Two times loadMovie?](https://forum.kirupa.com/t/two-times-loadmovie/298587)

<div class="topic-metadata">

**Author:** [@longneck](https://forum.kirupa.com/u/longneck)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 2:19pm UTC](https://forum.kirupa.com/t/two-times-loadmovie/298587 "2009-10-21T14:19:48Z")

</div>

Hi, I've made this site: http://www.tetris.as/ Problem is that the pictures start to skip and are not being displayed for the full 3 seconds I want them to. The pics are loaded into an swf via AS and that swf is lo…

---

## [\[CS4\]Trying to recreate a simple bejewled\[AS2\]](https://forum.kirupa.com/t/cs4-trying-to-recreate-a-simple-bejewled-as2/298586)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 2:02pm UTC](https://forum.kirupa.com/t/cs4-trying-to-recreate-a-simple-bejewled-as2/298586 "2009-10-21T14:02:02Z")

</div>

Hello all, Right I've started building a game similar to that of balloon pop or bejewled except for super simple with no real aim other than to just waste some time. So a little of what I've got going on so far. Pa…

---

## [Random orbit around origin](https://forum.kirupa.com/t/random-orbit-around-origin/298585)

<div class="topic-metadata">

**Author:** [@Raziel](https://forum.kirupa.com/u/Raziel)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 1:55pm UTC](https://forum.kirupa.com/t/random-orbit-around-origin/298585 "2009-10-21T13:55:01Z")

</div>

Hi Kirupians, I'm making a little kids game at the moment with all kinds of critters and such. I randomly place the critters around the stage. Now to give them some more life i would like them to wander around a little…

---

## [getDefinitionByName](https://forum.kirupa.com/t/getdefinitionbyname/298580)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 1:21pm UTC](https://forum.kirupa.com/t/getdefinitionbyname/298580 "2009-10-21T13:21:54Z")

</div>

trace(getDefinitionByName("GalleryDoc"));//\[class GalleryDoc\] trace(\_prevBtn.parent);//\[object GalleryDoc\] \_prevBtn.parent.setChildIndex(\_prevBtn,\_prevBtn.parent.numChildren - 1 );//this works I am trying to do this: …

---

## [FileReference download & redirects in IE (crossdomain woes)](https://forum.kirupa.com/t/filereference-download-redirects-in-ie-crossdomain-woes/298578)

<div class="topic-metadata">

**Author:** [@Bombdogs](https://forum.kirupa.com/u/Bombdogs)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:38am UTC](https://forum.kirupa.com/t/filereference-download-redirects-in-ie-crossdomain-woes/298578 "2009-10-21T11:38:10Z")

</div>

Hi all, having a torrid time with this, please pitch in with anything you feel might be relevant, much googling has turned up a big fat zero for me. I have a flash app that uses the FileReference download method to s…

---

## [Ink spilling effect](https://forum.kirupa.com/t/ink-spilling-effect/298577)

<div class="topic-metadata">

**Author:** [@harilalkm](https://forum.kirupa.com/u/harilalkm)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:37am UTC](https://forum.kirupa.com/t/ink-spilling-effect/298577 "2009-10-21T11:37:40Z")

</div>

Hello friends, I wish to create a ink splating effect . I got this link . If any can help me to find how this works? Will provide any tutorial related to this http://s3.envato.com/files/8568/preview.swf regards Ha…

---

## [MOUSE\_OVER causing problems](https://forum.kirupa.com/t/mouse-over-causing-problems/298576)

<div class="topic-metadata">

**Author:** [@ratstew](https://forum.kirupa.com/u/ratstew)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:29am UTC](https://forum.kirupa.com/t/mouse-over-causing-problems/298576 "2009-10-21T11:29:28Z")

</div>

Hi all I got a problem that i don't understand and starting to feel stupid for not understanding. I have a very simple menu with items having an on and an off state using MOUSE\_OVER and MOUSE\_OUT. When i run it, it just …

---

## [FLASH CS3 Help: Duplicate movie clip and Dynamic Image Loading](https://forum.kirupa.com/t/flash-cs3-help-duplicate-movie-clip-and-dynamic-image-loading/298575)

<div class="topic-metadata">

**Author:** [@cyber\_rat](https://forum.kirupa.com/u/cyber_rat)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:15am UTC](https://forum.kirupa.com/t/flash-cs3-help-duplicate-movie-clip-and-dynamic-image-loading/298575 "2009-10-21T11:15:13Z")

</div>

Good Evening, First of all im new here at kirupa.com but i have been going here to this site for help on source code. Im not an expert nor am i hardcore programmer, but i do enjoy using flash as a graphics design mediu…

---

## [Flash cs4 tween problem](https://forum.kirupa.com/t/flash-cs4-tween-problem/298574)

<div class="topic-metadata">

**Author:** [@JonWright](https://forum.kirupa.com/u/JonWright)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 10:45am UTC](https://forum.kirupa.com/t/flash-cs4-tween-problem/298574 "2009-10-21T10:45:22Z")

</div>

Hi there, Wondering if anyone can help with a crippling issue in Flash CS4. In short, the post production company I work for asked me to redesign their website using the version that happened to be hanging round the o…

---

## [Connect to a remote mysql database server](https://forum.kirupa.com/t/connect-to-a-remote-mysql-database-server/298573)

<div class="topic-metadata">

**Author:** [@edryan](https://forum.kirupa.com/u/edryan)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:41am UTC](https://forum.kirupa.com/t/connect-to-a-remote-mysql-database-server/298573 "2009-10-21T09:41:34Z")

</div>

Hi guyz, I've been googling on this for 2 days already, but still can't figure it out. I want to connect to my remote database server hosted for my website using my local mysql command line client. I want to query reco…

---

## [Vb / flash Example](https://forum.kirupa.com/t/vb-flash-example/298571)

<div class="topic-metadata">

**Author:** [@Vulcanrider](https://forum.kirupa.com/u/Vulcanrider)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 8:54am UTC](https://forum.kirupa.com/t/vb-flash-example/298571 "2009-10-21T08:54:56Z")

</div>

Hi i have try to use \*\* \[COLOR=#003366\]Flash\[/COLOR\] \*\*\[FONT=Verdana\] \[COLOR=#003366\] in Visual Basic \[/COLOR\] \[/FONT\]\[FONT=Arial\] \[COLOR=#808080\] \[EMAIL="seifert@bahamutsoft.com"\]\[COLOR=#808080\]by Seif…

---

## [MySQL Driver + Flash CS3](https://forum.kirupa.com/t/mysql-driver-flash-cs3/298568)

<div class="topic-metadata">

**Author:** [@zerodevice](https://forum.kirupa.com/u/zerodevice)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 8:34am UTC](https://forum.kirupa.com/t/mysql-driver-flash-cs3/298568 "2009-10-21T08:34:21Z")

</div>

Hi, i'm a Flash CS3 user, not AIR, not FLEX or any others. Now, i'm aware that there are these MYSQL drivers for AS3 out there. and that most of them works really well. now, as far as i know. these two are so far the b…

---

## [PHP: Double variable filenames](https://forum.kirupa.com/t/php-double-variable-filenames/298567)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 7:48am UTC](https://forum.kirupa.com/t/php-double-variable-filenames/298567 "2009-10-21T07:48:30Z")

</div>

Hi. I was wondering: can files be named using 2 variables? something like: $a="not"; $b="\_now"; touch("$a$b.txt"); If anyone knows how to do this, please tell me. Thank you.

---

## [Cheap Matrimonial Script](https://forum.kirupa.com/t/cheap-matrimonial-script/298564)

<div class="topic-metadata">

**Author:** [@sahil104](https://forum.kirupa.com/u/sahil104)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 5:38am UTC](https://forum.kirupa.com/t/cheap-matrimonial-script/298564 "2009-10-21T05:38:58Z")

</div>

Matrimonial Feature Details Our offer: To develop a search engine friendly, navigationally optimized and graphically user-friendly Ecommerce and shopping value added matrimony portal. The detail scope is as below. Navi…

---

## [Clear stage to execute next action?](https://forum.kirupa.com/t/clear-stage-to-execute-next-action/298562)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 4:36am UTC](https://forum.kirupa.com/t/clear-stage-to-execute-next-action/298562 "2009-10-21T04:36:54Z")

</div>

Hey, If you know, can you pls tell where to find out how to clear the stage of everything I have loaded it with. This would be done upon click of one of the buttons I have on the stage. That button also needs to execute …

---

## [Questions about using library items in loaded .swf](https://forum.kirupa.com/t/questions-about-using-library-items-in-loaded-swf/298558)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 2:55am UTC](https://forum.kirupa.com/t/questions-about-using-library-items-in-loaded-swf/298558 "2009-10-21T02:55:58Z")

</div>

Hi, Say I have master.swf which loads test.swf which contains library items L1, L2, L3, etc ... Q1) My understanding is that once I create an instance of L1 it sits in the memory and I can keep creating instances of L…

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

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