# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1132

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

**Page:** 1133

---

## [Swapdepths problem](https://forum.kirupa.com/t/swapdepths-problem/246904)

<div class="topic-metadata">

**Author:** [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Replies:** 0\
**Last updated:** [December 16, 2007, 5:47am UTC](https://forum.kirupa.com/t/swapdepths-problem/246904 "2007-12-16T05:47:59Z")

</div>

im making a 3d imitation game i need 2 different movie clips to swap depths, here is my AS(2.0) which is on my main char movie clip. ActionScript Code: \[FONT=Courier New\]\[LEFT\]\[COLOR=#0000FF\]\[/COLOR\] \[COLOR=#0000FF\]o…

---

## [Events and Inner MC's that ruin the target](https://forum.kirupa.com/t/events-and-inner-mcs-that-ruin-the-target/246901)

<div class="topic-metadata">

**Author:** [@nogame](https://forum.kirupa.com/u/nogame)\
**Replies:** 0\
**Last updated:** [December 16, 2007, 3:19am UTC](https://forum.kirupa.com/t/events-and-inner-mcs-that-ruin-the-target/246901 "2007-12-16T03:19:17Z")

</div>

I have a problem that should have an obvious-enough solution but alas, I do not know it. Here are snippts of what's going on... npcObject\[npcId\].addEventListener(MouseEvent.MOUSE\_OVER,mouseOverNpc); public static …

---

## [PopUpManager Modality Issues - "modal background rectangle" is 50 pixels too small!?](https://forum.kirupa.com/t/popupmanager-modality-issues-modal-background-rectangle-is-50-pixels-too-small/246897)

<div class="topic-metadata">

**Author:** [@v3rt](https://forum.kirupa.com/u/v3rt)\
**Replies:** 0\
**Last updated:** [December 16, 2007, 12:04am UTC](https://forum.kirupa.com/t/popupmanager-modality-issues-modal-background-rectangle-is-50-pixels-too-small/246897 "2007-12-16T00:04:03Z")

</div>

I'm trying to get a modal window working, but for some reason, no matter what I do, the only part of the movie that's modalized is everything but the bottom 50 pixels; apparently the background transparent rectangle thin…

---

## [Garbage Collection!](https://forum.kirupa.com/t/garbage-collection/246896)

<div class="topic-metadata">

**Author:** [@jonhallman](https://forum.kirupa.com/u/jonhallman)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 11:54pm UTC](https://forum.kirupa.com/t/garbage-collection/246896 "2007-12-15T23:54:30Z")

</div>

Ok, so after using the Profiler perspective in flex, I've been scared to death of memory leaks. Top on my list of things to do is to find a fix. I have an idea that could work, but definitely needs a better approach. If…

---

## [Headers in ActionScript?](https://forum.kirupa.com/t/headers-in-actionscript/246894)

<div class="topic-metadata">

**Author:** [@WearDark](https://forum.kirupa.com/u/WearDark)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 11:42pm UTC](https://forum.kirupa.com/t/headers-in-actionscript/246894 "2007-12-15T23:42:36Z")

</div>

Hi, I'm working on an ActionScript heavy file and the amount of code is starting to make it difficult to find my place. Im wondering if its at all possible to import an external .as file to the top of my ActionScript…

---

## [Prevent/not scale controlbar in fullscreen mode](https://forum.kirupa.com/t/prevent-not-scale-controlbar-in-fullscreen-mode/246887)

<div class="topic-metadata">

**Author:** [@seattlegrunge](https://forum.kirupa.com/u/seattlegrunge)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 10:44pm UTC](https://forum.kirupa.com/t/prevent-not-scale-controlbar-in-fullscreen-mode/246887 "2007-12-15T22:44:00Z")

</div>

Hi all! My first post here \[image\] I have been searching for a solution here at kirupa.com and many other forums, but haven't found the right one yet \[image\] The thing is that I used a flv player tutorial and have crea…

---

## [General Logic for Playlist help](https://forum.kirupa.com/t/general-logic-for-playlist-help/246886)

<div class="topic-metadata">

**Author:** [@kbd](https://forum.kirupa.com/u/kbd)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 10:40pm UTC](https://forum.kirupa.com/t/general-logic-for-playlist-help/246886 "2007-12-15T22:40:20Z")

</div>

Hello, I'm really stumped. I have a movie that has two text fields on screen, A next button, a Previous button and a dynamically generated playlist. Everything is being populated by an XML document. The next/previous…

---

## [Is PHP the only way to upload files via Flash?](https://forum.kirupa.com/t/is-php-the-only-way-to-upload-files-via-flash/246884)

<div class="topic-metadata">

**Author:** [@maxhype](https://forum.kirupa.com/u/maxhype)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 10:16pm UTC](https://forum.kirupa.com/t/is-php-the-only-way-to-upload-files-via-flash/246884 "2007-12-15T22:16:36Z")

</div>

Hello, First time poster, semi-novice with Flash - I've had good luck teaching myself the basics and modifying templates to create my websites....but I'm no programmer. I'm creating a website where I need my clients …

---

## [HTML outside SWF folder](https://forum.kirupa.com/t/html-outside-swf-folder/246883)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 10:03pm UTC](https://forum.kirupa.com/t/html-outside-swf-folder/246883 "2007-12-15T22:03:04Z")

</div>

How do you import an SWF file from a different folder than the HTML document? Import from... \<param name="movie" value="../myFlashFolder/myApp.swf" /\> Instead of... \<param name="movie" value="myApp.swf" /\>

---

## [Check if object exists?](https://forum.kirupa.com/t/check-if-object-exists/246878)

<div class="topic-metadata">

**Author:** [@corvenus](https://forum.kirupa.com/u/corvenus)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 8:45pm UTC](https://forum.kirupa.com/t/check-if-object-exists/246878 "2007-12-15T20:45:35Z")

</div>

Hi everyone, Let's say i have a menu comprised of several movie clips which are defined as buttons. Each of these MC contains a dynamic TextFields. The TextFields' text is set from an array this way: to…

---

## [Help with a little bit of code?](https://forum.kirupa.com/t/help-with-a-little-bit-of-code/246873)

<div class="topic-metadata">

**Author:** [@dunkyb123](https://forum.kirupa.com/u/dunkyb123)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 7:55pm UTC](https://forum.kirupa.com/t/help-with-a-little-bit-of-code/246873 "2007-12-15T19:55:51Z")

</div>

Hello All, I am trying to get a video player to play a continuous list of videos, the video list will loaded via XML. Their is no option to choose what video i just want the video to keep going through the list and w…

---

## [\_root. with wait](https://forum.kirupa.com/t/-root-with-wait/246865)

<div class="topic-metadata">

**Author:** [@beppeartz](https://forum.kirupa.com/u/beppeartz)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 5:03pm UTC](https://forum.kirupa.com/t/-root-with-wait/246865 "2007-12-15T17:03:58Z")

</div>

hello guys i got this code: onClipEvent (enterFrame) { if (!loaded && this.url != \_root.url) { if (this.getBytesLoaded() == this.getBytesTotal()) { loaded = true; \_root.transition.gotoAndPlay("opening"); } …

---

## [Resetting ScrollRect?](https://forum.kirupa.com/t/resetting-scrollrect/246862)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 3:23pm UTC](https://forum.kirupa.com/t/resetting-scrollrect/246862 "2007-12-15T15:23:50Z")

</div>

Hey there, Im having an issue with scrollRect. Its all set up and works like a dream, but I cant get it reset properly. scrollRect moves from a .x of 0 to about 4000. To reset, I use the following AS \_root.scroll…

---

## [Optimization: cacheAsBitmap vs PNG](https://forum.kirupa.com/t/optimization-cacheasbitmap-vs-png/246861)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 2:47pm UTC](https://forum.kirupa.com/t/optimization-cacheasbitmap-vs-png/246861 "2007-12-15T14:47:18Z")

</div>

I have gone through the search function, cant find the specific answer I am after. From a pure optimization point, is it better to cache a movieclip as a bitmap, or to import it as a png? These movieclips are static, n…

---

## [Loading images or html from swf file to a brower from a cd](https://forum.kirupa.com/t/loading-images-or-html-from-swf-file-to-a-brower-from-a-cd/246858)

<div class="topic-metadata">

**Author:** [@Engraffis](https://forum.kirupa.com/u/Engraffis)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 1:59pm UTC](https://forum.kirupa.com/t/loading-images-or-html-from-swf-file-to-a-brower-from-a-cd/246858 "2007-12-15T13:59:54Z")

</div>

I was duin a CD project for someone that involved images. I wrote the code alot of times debugged it but still wouldnt work. I tried the same to an external photo gallery but it only loaded the brower without any display…

---

## [Is Felixz here?](https://forum.kirupa.com/t/is-felixz-here/246855)

<div class="topic-metadata">

**Author:** [@notSoMuch](https://forum.kirupa.com/u/notSoMuch)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 12:43pm UTC](https://forum.kirupa.com/t/is-felixz-here/246855 "2007-12-15T12:43:41Z")

</div>

if so, HELP !!!!:deranged:

---

## [Individual preloader for thumbs in gallery](https://forum.kirupa.com/t/individual-preloader-for-thumbs-in-gallery/246854)

<div class="topic-metadata">

**Author:** [@tane](https://forum.kirupa.com/u/tane)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 12:39pm UTC](https://forum.kirupa.com/t/individual-preloader-for-thumbs-in-gallery/246854 "2007-12-15T12:39:32Z")

</div>

Hi, I'm new to actionscript 3 (and haven't used 1 or 2). I'm am building a dynamic image gallery with thumbs that loads all data from and external xml file. I want each thumbs to have its own prelaoder but at present, it…

---

## [\[FlashCS3/AS 2.0\]Shoot towards mouse pointer](https://forum.kirupa.com/t/flashcs3-as-2-0-shoot-towards-mouse-pointer/246851)

<div class="topic-metadata">

**Author:** [@Yippee\_ki\_yay](https://forum.kirupa.com/u/Yippee_ki_yay)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 9:03am UTC](https://forum.kirupa.com/t/flashcs3-as-2-0-shoot-towards-mouse-pointer/246851 "2007-12-15T09:03:02Z")

</div>

I’m just just starting ActionScript (and programming) and I’m trying to learn by making a game step by step. I don’t know if it’s the best way to start, but at least I can see what knowledge I’m lacking that way. Anyway…

---

## [Some Strange GetURL issues with FlaSH](https://forum.kirupa.com/t/some-strange-geturl-issues-with-flash/246846)

<div class="topic-metadata">

**Author:** [@malhar](https://forum.kirupa.com/u/malhar)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 6:34am UTC](https://forum.kirupa.com/t/some-strange-geturl-issues-with-flash/246846 "2007-12-15T06:34:25Z")

</div>

Hi all, I am facing some stragne problem in getURL let me explailn you in detail, Actually i am developing a flash in it its reading file from server , and its reading file on server after each 2 seconds so i have pu…

---

## [Protect SWF from theft](https://forum.kirupa.com/t/protect-swf-from-theft/246844)

<div class="topic-metadata">

**Author:** [@onika](https://forum.kirupa.com/u/onika)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 5:46am UTC](https://forum.kirupa.com/t/protect-swf-from-theft/246844 "2007-12-15T05:46:57Z")

</div>

Hi Friend, Iam currently work on the flash player it now almost completed but i have some minor problem. regarding protection my swf file on the web. some going tell me solution on that so no one can't decompiled fro…

---

## [Sound Object \> to play while streaming](https://forum.kirupa.com/t/sound-object-to-play-while-streaming/246838)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 3:44am UTC](https://forum.kirupa.com/t/sound-object-to-play-while-streaming/246838 "2007-12-15T03:44:49Z")

</div>

Hi Guys, I had a question. So now I am streaming an mo3 file using the sound object (loadSound function) ... So the mp3 is loading (and I have a progress bar showing the percentage loaded) and while it is loading it…

---

## [Resize photo frame as photos change](https://forum.kirupa.com/t/resize-photo-frame-as-photos-change/246836)

<div class="topic-metadata">

**Author:** [@headhunter66](https://forum.kirupa.com/u/headhunter66)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 2:55am UTC](https://forum.kirupa.com/t/resize-photo-frame-as-photos-change/246836 "2007-12-15T02:55:46Z")

</div>

I've been looking into how to change the size of a photo frame created in Flash as the image changes, something like this http://www.blutemplates.com/madison/index1.php. After looking at it, I figure it would be AS but I…

---

## [TICKER HELP, XML nodes](https://forum.kirupa.com/t/ticker-help-xml-nodes/246835)

<div class="topic-metadata">

**Author:** [@janjan32](https://forum.kirupa.com/u/janjan32)\
**Replies:** 0\
**Last updated:** [December 15, 2007, 1:52am UTC](https://forum.kirupa.com/t/ticker-help-xml-nodes/246835 "2007-12-15T01:52:23Z")

</div>

Hi All, I've been working with the Ticker code, http://www.kirupa.com/developer/mx2004/newsticker.htm I think I am bald now from pulling my hair out. ; ) I added a new dynamic text box in flash and line of code in my x…

---

## [Calling JS with AS 3.0](https://forum.kirupa.com/t/calling-js-with-as-3-0/246831)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 11:59pm UTC](https://forum.kirupa.com/t/calling-js-with-as-3-0/246831 "2007-12-14T23:59:45Z")

</div>

\*I retract the following question...I found out that you cannot place parenthesis after the function name since a string is expected How do you call a javascript function defined within your HTML page with AS 3.0 I t…

---

## [Bitmap Scaling Techniques](https://forum.kirupa.com/t/bitmap-scaling-techniques/246829)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 11:23pm UTC](https://forum.kirupa.com/t/bitmap-scaling-techniques/246829 "2007-12-14T23:23:02Z")

</div>

I have an app that makes use of many, externally loaded, graphics (gifs). These graphics are displayed throughout the application in different sizes and are animated with linear motion and "zooming" effects. My intenti…

---

## [Completion of FLV - Video Object and FMS](https://forum.kirupa.com/t/completion-of-flv-video-object-and-fms/246823)

<div class="topic-metadata">

**Author:** [@jor133d](https://forum.kirupa.com/u/jor133d)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 10:21pm UTC](https://forum.kirupa.com/t/completion-of-flv-video-object-and-fms/246823 "2007-12-14T22:21:37Z")

</div>

I am creating a simple video player with the video object but I am using Flash Media Server. I can not figure out how to determine the completion of the FLV. Can anyone help? Here is my code: var nc:NetConnection …

---

## [Help me optimize my code](https://forum.kirupa.com/t/help-me-optimize-my-code/246822)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 9:47pm UTC](https://forum.kirupa.com/t/help-me-optimize-my-code/246822 "2007-12-14T21:47:33Z")

</div>

I know there must be an easier way to write this code using loops/arrays, but I can seem to get it working with AS3. I have been writing in AS3 for under 3 days, I just made the switch from AS2.0. Can someone help me! I …

---

## [Videos in tweening MovieClips load only sometimes?](https://forum.kirupa.com/t/videos-in-tweening-movieclips-load-only-sometimes/246820)

<div class="topic-metadata">

**Author:** [@legole](https://forum.kirupa.com/u/legole)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 9:35pm UTC](https://forum.kirupa.com/t/videos-in-tweening-movieclips-load-only-sometimes/246820 "2007-12-14T21:35:57Z")

</div>

FYI - This is not an "oops, I didn't put my component in the right directory". So, I've been streaming videos with flash for a while, but recently I developed my first full flash website and when I put multiple videos …

---

## [Landscape or portrait](https://forum.kirupa.com/t/landscape-or-portrait/246819)

<div class="topic-metadata">

**Author:** [@Oyster](https://forum.kirupa.com/u/Oyster)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 8:36pm UTC](https://forum.kirupa.com/t/landscape-or-portrait/246819 "2007-12-14T20:36:59Z")

</div>

Hey there. I am trying to determine the orientation of a picture. I have the image source, but what I'd like, is being able to know, given the source - the orientation of the image and hence use the proper orientation on…

---

## [Returning value from function: Scoping Problem](https://forum.kirupa.com/t/returning-value-from-function-scoping-problem/246815)

<div class="topic-metadata">

**Author:** [@WearDark](https://forum.kirupa.com/u/WearDark)\
**Replies:** 0\
**Last updated:** [December 14, 2007, 7:21pm UTC](https://forum.kirupa.com/t/returning-value-from-function-scoping-problem/246815 "2007-12-14T19:21:15Z")

</div>

I have the following function defined in a class: vidNetStream.onMetaData = function(myMeta){ \_root.totalDuration = myMeta.duration; //trace(\_root.totalDuration + "!"); } totalDuration is a private variable defin…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1131)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1133)
