# programming

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

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

**Page:** 940

---

## ['toplevel.as' could not be found](https://forum.kirupa.com/t/toplevel-as-could-not-be-found/280548)

<div class="topic-metadata">

**Author:** [@billbillbillbil](https://forum.kirupa.com/u/billbillbillbil)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 8:00pm UTC](https://forum.kirupa.com/t/toplevel-as-could-not-be-found/280548 "2009-01-28T20:00:55Z")

</div>

I have re-installed 2004 MX. I have a very simple dynamic masking application. \[COLOR=Navy\]mask\_mc.onEnterFrame = function() { this.x = \_root.xmouse; this.y = \_root.ymouse; }; maskedbg\_mc.setMask(mask\_mc);\[/COLOR…

---

## [TextRenderer.setAdvancedAntiAliasingTable with external swfs?](https://forum.kirupa.com/t/textrenderer-setadvancedantialiasingtable-with-external-swfs/280547)

<div class="topic-metadata">

**Author:** [@test1](https://forum.kirupa.com/u/test1)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 7:58pm UTC](https://forum.kirupa.com/t/textrenderer-setadvancedantialiasingtable-with-external-swfs/280547 "2009-01-28T19:58:37Z")

</div>

I'm having some issues getting setAdvancedAntiAliasingTable settings to apply to swfs that get loaded into a container. As I understand it, it's a static property of the TextRenderer class so it should apply to all the o…

---

## [Class Access child on stage](https://forum.kirupa.com/t/class-access-child-on-stage/280546)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 7:28pm UTC](https://forum.kirupa.com/t/class-access-child-on-stage/280546 "2009-01-28T19:28:46Z")

</div>

I need a class code to access a child instance of another class code that is on the stage. I have a class code named Ball.as. On the Time Line is a child of the Thing class. It is call newThing. Here is the code in t…

---

## [Preloading external SWF alpha issue](https://forum.kirupa.com/t/preloading-external-swf-alpha-issue/280543)

<div class="topic-metadata">

**Author:** [@kmp3d](https://forum.kirupa.com/u/kmp3d)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:54pm UTC](https://forum.kirupa.com/t/preloading-external-swf-alpha-issue/280543 "2009-01-28T18:54:25Z")

</div>

Please take a look at my code, as far as I can tell it looks correct. The preloader mc is set to alpha = 0, and the swf mc container is set to alpha = 100 when the external swf is completely loaded. But the preloader mc …

---

## [If load takes to long redirect](https://forum.kirupa.com/t/if-load-takes-to-long-redirect/280542)

<div class="topic-metadata">

**Author:** [@AE117](https://forum.kirupa.com/u/AE117)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:50pm UTC](https://forum.kirupa.com/t/if-load-takes-to-long-redirect/280542 "2009-01-28T18:50:32Z")

</div>

Does anyone know of a script that can redirect to a new page if the flash takes to long to load? I want to prevent users from watching the loading screen on a slow server day so I want it to redirect if the load is taki…

---

## [Simple LoadMovie question?](https://forum.kirupa.com/t/simple-loadmovie-question/280538)

<div class="topic-metadata">

**Author:** [@ralphiedee](https://forum.kirupa.com/u/ralphiedee)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 6:02pm UTC](https://forum.kirupa.com/t/simple-loadmovie-question/280538 "2009-01-28T18:02:30Z")

</div>

I have an fla that displays its pages in frames using GoToAndPlay(frame) I had to add a photogallery as a seperate movie as it was too much trouble breaking it apart and trying to get it to work as a movieclip within the…

---

## [Delete All Dynamic Variables](https://forum.kirupa.com/t/delete-all-dynamic-variables/280535)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 5:18pm UTC](https://forum.kirupa.com/t/delete-all-dynamic-variables/280535 "2009-01-28T17:18:22Z")

</div>

Im trying to create a very generic, very easy to use TextField subclass. I want it to be useable 'out of the box' without having to set any options beforehand. I also want the ability to set all kinds of options, if I ch…

---

## [Forms in Flash + AS3](https://forum.kirupa.com/t/forms-in-flash-as3/280533)

<div class="topic-metadata">

**Author:** [@smartpatrol](https://forum.kirupa.com/u/smartpatrol)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 5:02pm UTC](https://forum.kirupa.com/t/forms-in-flash-as3/280533 "2009-01-28T17:02:33Z")

</div>

I have a form page I've done, which contains a combo box. I'm able to populate the combo box component with values from an XML file. When the user hits the frame the form is in, a function runs which loads the XML and po…

---

## [Flash Player Security Problem](https://forum.kirupa.com/t/flash-player-security-problem/280532)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 4:41pm UTC](https://forum.kirupa.com/t/flash-player-security-problem/280532 "2009-01-28T16:41:16Z")

</div>

Hello, I am developing an application that loads pictures from web URLs... When I try to open the SWF file on a different folder or computer, the flash player security settings pops up and does not allow me to run it …

---

## [No Layer Load Order in Publish Settings](https://forum.kirupa.com/t/no-layer-load-order-in-publish-settings/280531)

<div class="topic-metadata">

**Author:** [@roddyguy](https://forum.kirupa.com/u/roddyguy)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 4:38pm UTC](https://forum.kirupa.com/t/no-layer-load-order-in-publish-settings/280531 "2009-01-28T16:38:43Z")

</div>

I noticed when I go to publish my Flash film, there is no "Layer Load" (bottom up/top down) setting in CS4. How do I controll Layer Loading if using the layers? (action script 2)

---

## [How to? RE: New Tweens](https://forum.kirupa.com/t/how-to-re-new-tweens/280528)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 3:31pm UTC](https://forum.kirupa.com/t/how-to-re-new-tweens/280528 "2009-01-28T15:31:50Z")

</div>

Just having a problem with one aspect of the new tween model is CS4. When you create a tween, and for example change the alpha property this creates a diamond on the timeline, what would have been a keyframe with a cla…

---

## [Quoting a SQL query in Perl](https://forum.kirupa.com/t/quoting-a-sql-query-in-perl/280524)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 3:20pm UTC](https://forum.kirupa.com/t/quoting-a-sql-query-in-perl/280524 "2009-01-28T15:20:50Z")

</div>

Hello, I have the following line in my Perl program: $sth=$dbh-\>prepare (qq{SELECT primarykey,firstname, middlename, lastname, flat, street, city, state, country, FROM people WHERE city = "$city" AND type = "$type" ORD…

---

## [Input Text Field Text Editor](https://forum.kirupa.com/t/input-text-field-text-editor/280523)

<div class="topic-metadata">

**Author:** [@zantetsuken](https://forum.kirupa.com/u/zantetsuken)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 3:10pm UTC](https://forum.kirupa.com/t/input-text-field-text-editor/280523 "2009-01-28T15:10:33Z")

</div>

I want to create an input text field that can be editable by the user and essentially when they click submit it turns this into HTML code with p, br, strong and em tags. I don't know if it is possible, I assume it woul…

---

## [Playing embedded sound. Stops in the middle](https://forum.kirupa.com/t/playing-embedded-sound-stops-in-the-middle/280522)

<div class="topic-metadata">

**Author:** [@Myung](https://forum.kirupa.com/u/Myung)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 3:02pm UTC](https://forum.kirupa.com/t/playing-embedded-sound-stops-in-the-middle/280522 "2009-01-28T15:02:17Z")

</div>

Hi. I try to play an embedded sound clip like this: \[Embed(source = "../assets/glass.mp3")\] private var SoundAsset:Class; var SFX: Sound = new SoundAsset(); SFX.play(); I get this sound played, but it cuts after …

---

## [Where's the watch panel?](https://forum.kirupa.com/t/wheres-the-watch-panel/280520)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 1:46pm UTC](https://forum.kirupa.com/t/wheres-the-watch-panel/280520 "2009-01-28T13:46:53Z")

</div>

The AS3 debugger in Flash CS3 leaves quite a bit to wish for. I can't fins any way to watch a variable. The panel's gone. Is there any way to execute a more advanced debugger? :: nook

---

## [Dispatching one event for two buttons](https://forum.kirupa.com/t/dispatching-one-event-for-two-buttons/280519)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 1:38pm UTC](https://forum.kirupa.com/t/dispatching-one-event-for-two-buttons/280519 "2009-01-28T13:38:18Z")

</div>

Hi I have two buttons each in its own sprite now I want to listen for mouse overmout and click event on both. In a way that if you roll over button1 its color changes but at the same time button2 color changes as well…

---

## [Variables in movie clips](https://forum.kirupa.com/t/variables-in-movie-clips/280518)

<div class="topic-metadata">

**Author:** [@simononestop](https://forum.kirupa.com/u/simononestop)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 1:35pm UTC](https://forum.kirupa.com/t/variables-in-movie-clips/280518 "2009-01-28T13:35:24Z")

</div>

I keep having problems with variables in movie clips \_level0.NumberSectionsEntry.ThreeMeterBays keeps appearing in the text fields if I change the variables on the text field in hte mc from ThreeMeterBays to \_…

---

## [Problem emailing form results - What's wrong with my code?](https://forum.kirupa.com/t/problem-emailing-form-results-whats-wrong-with-my-code/280514)

<div class="topic-metadata">

**Author:** [@Blakles](https://forum.kirupa.com/u/Blakles)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 1:20pm UTC](https://forum.kirupa.com/t/problem-emailing-form-results-whats-wrong-with-my-code/280514 "2009-01-28T13:20:26Z")

</div>

\*\*Okay, so I am trying to set up a wedding website where guests can rsvp online. I followed a tutorial here on Kirupa that tells you how to email form results containing drop-down menus and option buttons. For some rea…

---

## [XML Playlist Under MP3 Player](https://forum.kirupa.com/t/xml-playlist-under-mp3-player/280511)

<div class="topic-metadata">

**Author:** [@grebs](https://forum.kirupa.com/u/grebs)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 12:47pm UTC](https://forum.kirupa.com/t/xml-playlist-under-mp3-player/280511 "2009-01-28T12:47:58Z")

</div>

I have an as3 mp3 player that loads a random file from an xml list so every time the user opens the player a random song plays and when song finishes or the user skips the song it goes to a random song also. I want to cr…

---

## [Is there any free Royalty Free Video Clips online](https://forum.kirupa.com/t/is-there-any-free-royalty-free-video-clips-online/280507)

<div class="topic-metadata">

**Author:** [@westy2006](https://forum.kirupa.com/u/westy2006)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 12:13pm UTC](https://forum.kirupa.com/t/is-there-any-free-royalty-free-video-clips-online/280507 "2009-01-28T12:13:23Z")

</div>

Hello I know there are sites where you can use royalty free stock photos, I was wondering if there was a site which allowed you to use royalty free video clips for free? Flash movies and small video sequences anything li…

---

## [Binding two buttons together](https://forum.kirupa.com/t/binding-two-buttons-together/280506)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 12:06pm UTC](https://forum.kirupa.com/t/binding-two-buttons-together/280506 "2009-01-28T12:06:10Z")

</div>

Hi I want to bind two buttons together like I have one button may be in one sprite and then I have another button in another sprite so when the user roll over button1 I want the color of button1 to change to rollover …

---

## [C# to flash and vice-versa... is it possible?](https://forum.kirupa.com/t/c-to-flash-and-vice-versa-is-it-possible/280505)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 12:05pm UTC](https://forum.kirupa.com/t/c-to-flash-and-vice-versa-is-it-possible/280505 "2009-01-28T12:05:59Z")

</div>

Hi there... I was wondering if it is possible to "connect" Flash to C#. Would be that flash would send variables to C# and then the same C# return some variables to flash. Any examples, code, suggestions, ideas, hints?…

---

## [Button to resize my video](https://forum.kirupa.com/t/button-to-resize-my-video/280503)

<div class="topic-metadata">

**Author:** [@maxelcat](https://forum.kirupa.com/u/maxelcat)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 11:39am UTC](https://forum.kirupa.com/t/button-to-resize-my-video/280503 "2009-01-28T11:39:26Z")

</div>

Hi I have googled and read lots of posts here but am confused! I want to embed a smallish flash video player in a site. My user wants an option to press a button and have the video go full size. I am using flash 8 …

---

## [Simplistik](https://forum.kirupa.com/t/simplistik/280502)

<div class="topic-metadata">

**Author:** [@saran](https://forum.kirupa.com/u/saran)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 11:16am UTC](https://forum.kirupa.com/t/simplistik/280502 "2009-01-28T11:16:05Z")

</div>

hi \[COLOR=#ff0000\]Simplistik.........\[/COLOR\] \[COLOR=#ff0000\]\[/COLOR\] \[COLOR=black\]i found u replying so many threads.... i've posted several threads but didn get reply plz help me out.....\[/COLOR\]

---

## [Dom Xml](https://forum.kirupa.com/t/dom-xml/280501)

<div class="topic-metadata">

**Author:** [@saran](https://forum.kirupa.com/u/saran)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 11:09am UTC](https://forum.kirupa.com/t/dom-xml/280501 "2009-01-28T11:09:42Z")

</div>

hi........ how to check whehter an element exists in a xml file using dom xml in php........

---

## [Loading Multiple XML files in Flash](https://forum.kirupa.com/t/loading-multiple-xml-files-in-flash/280500)

<div class="topic-metadata">

**Author:** [@PuffyMuffins](https://forum.kirupa.com/u/PuffyMuffins)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 10:43am UTC](https://forum.kirupa.com/t/loading-multiple-xml-files-in-flash/280500 "2009-01-28T10:43:34Z")

</div>

I'm curently using: var example:XML; var exampleLoader:URLLoader = new URLLoader(); exampleLoader.addEventListener(Event.COMPLETE,XMLLoaded); exampleLoader.load(new URLRequest("file.xml")); function XMLLoaded(event):v…

---

## [Custom FLV Playback problem](https://forum.kirupa.com/t/custom-flv-playback-problem/280499)

<div class="topic-metadata">

**Author:** [@rangelier](https://forum.kirupa.com/u/rangelier)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 10:35am UTC](https://forum.kirupa.com/t/custom-flv-playback-problem/280499 "2009-01-28T10:35:44Z")

</div>

Hey guys, i'm having problems with my xml FLVplayer. at this link http://thuis.diamond4it.nl/xml/playerCS3.html can you see my player. Problem1: problem fixed, still one to go. Problem2: If you're watching a mo…

---

## [Embeded XML in .as file - not caching?](https://forum.kirupa.com/t/embeded-xml-in-as-file-not-caching/280496)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 10:13am UTC](https://forum.kirupa.com/t/embeded-xml-in-as-file-not-caching/280496 "2009-01-28T10:13:11Z")

</div>

Hello, I guess the title explains it all, I am using e4x/as3 - any suggestions? Thanks Ian

---

## [HitTestPoint not working as expected](https://forum.kirupa.com/t/hittestpoint-not-working-as-expected/280495)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 9:48am UTC](https://forum.kirupa.com/t/hittestpoint-not-working-as-expected/280495 "2009-01-28T09:48:40Z")

</div>

I stumbled upon a little glitch or undocumented secret in the hitTestPoint function and thought I better share it to prevent others beside myself from going crazy trying to understand what's going wrong. On stage is a …

---

## [SWFObject vs. firefox 3](https://forum.kirupa.com/t/swfobject-vs-firefox-3/280492)

<div class="topic-metadata">

**Author:** [@JeffGrafix\_nl](https://forum.kirupa.com/u/JeffGrafix_nl)\
**Replies:** 0\
**Last updated:** [January 28, 2009, 8:20am UTC](https://forum.kirupa.com/t/swfobject-vs-firefox-3/280492 "2009-01-28T08:20:09Z")

</div>

Hi all, Yesterday I clicked around the company's website and found out that my swf movie is not clickable in firefox 3; all the other browsers (IE6, IE7, FF2 and FF3 on MAC) work fine. Because Kirupa solved some of my …

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

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