# flash

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

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

**Page:** 521

---

## [HOW Resize a Movieclip When window opens?](https://forum.kirupa.com/t/how-resize-a-movieclip-when-window-opens/295862)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 4:30am UTC](https://forum.kirupa.com/t/how-resize-a-movieclip-when-window-opens/295862 "2009-09-06T04:30:10Z")

</div>

I've used Greensocks Tween lite to build a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. How can I…

---

## [Mask & 9-Slice Scale Issue](https://forum.kirupa.com/t/mask-9-slice-scale-issue/295858)

<div class="topic-metadata">

**Author:** [@7788](https://forum.kirupa.com/u/7788)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 1:35am UTC](https://forum.kirupa.com/t/mask-9-slice-scale-issue/295858 "2009-09-06T01:35:47Z")

</div>

I have a MC with image in it and a MC mask \> vector box with rounded corners The MC mask also has 9-Slice Scale (set as appropriate for the rounded corners) When I test without mc.setMask("mc\_mask") it works fine... ...…

---

## [Bitmap Data Help](https://forum.kirupa.com/t/bitmap-data-help/295857)

<div class="topic-metadata">

**Author:** [@GeorgeCrabtree](https://forum.kirupa.com/u/GeorgeCrabtree)\
**Replies:** 0\
**Last updated:** [September 6, 2009, 1:20am UTC](https://forum.kirupa.com/t/bitmap-data-help/295857 "2009-09-06T01:20:21Z")

</div>

Hello, I have a sprite with three children which are all shapes. Im using BlendMode.DIFFERENCE to make lots of pretty colours appear. (See attached swf). The problem I am having is that because the blendMode is set to …

---

## [Variables between AS Files](https://forum.kirupa.com/t/variables-between-as-files/295854)

<div class="topic-metadata">

**Author:** [@KillinSprE](https://forum.kirupa.com/u/KillinSprE)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 9:26pm UTC](https://forum.kirupa.com/t/variables-between-as-files/295854 "2009-09-05T21:26:19Z")

</div>

I have variables declared (I assume) in Main.as and I wish to use them in other AS files such as pg1.as Here's my code: //Main.as package { import fl.controls.\*; import flash.text.\*; import flash.events.\*;…

---

## [Using UV coordinates for Affine Transform?](https://forum.kirupa.com/t/using-uv-coordinates-for-affine-transform/295852)

<div class="topic-metadata">

**Author:** [@shade\_v2](https://forum.kirupa.com/u/shade_v2)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 7:48pm UTC](https://forum.kirupa.com/t/using-uv-coordinates-for-affine-transform/295852 "2009-09-05T19:48:16Z")

</div>

After hitting what I see now was an inevitable wall using drawTriangles() for 3d rendering, I find myself forced to write my own UV mapping function... and this has made me realize that I'm as thick as a log. Oh I've t…

---

## [Photo Gallery - adding previous & next button](https://forum.kirupa.com/t/photo-gallery-adding-previous-next-button/295851)

<div class="topic-metadata">

**Author:** [@nickmagnus](https://forum.kirupa.com/u/nickmagnus)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 7:35pm UTC](https://forum.kirupa.com/t/photo-gallery-adding-previous-next-button/295851 "2009-09-05T19:35:36Z")

</div>

Hi there, I have a very nice picture gallery made in CS3 / AS3. I managed to personalize it and all. But, I have difficulty with (or no clue... actually), how to add a precious and next button to it(image). This is t…

---

## [Null Object not Null; What am I missing?](https://forum.kirupa.com/t/null-object-not-null-what-am-i-missing/295845)

<div class="topic-metadata">

**Author:** [@commandnotapple](https://forum.kirupa.com/u/commandnotapple)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 5:43pm UTC](https://forum.kirupa.com/t/null-object-not-null-what-am-i-missing/295845 "2009-09-05T17:43:10Z")

</div>

My problem is pretty simple (I hope). I am trying to add an EventListener to a MC, but I am getting the 1009 error. My script is referencing a MC that does exist. I have verified that my code is typed correctly, and that…

---

## [Fastest number to/from binary string functions?](https://forum.kirupa.com/t/fastest-number-to-from-binary-string-functions/295843)

<div class="topic-metadata">

**Author:** [@JoeDurb](https://forum.kirupa.com/u/JoeDurb)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:37pm UTC](https://forum.kirupa.com/t/fastest-number-to-from-binary-string-functions/295843 "2009-09-05T16:37:11Z")

</div>

The following functions are great for saving Bandwidth when sending data over wires, wondering if anyone has a way to speed them up at all? As they get used a lot when needed. Usage examples: $str=ConvertToBin(2,12…

---

## [FLV inside an mc behaves strangely](https://forum.kirupa.com/t/flv-inside-an-mc-behaves-strangely/295842)

<div class="topic-metadata">

**Author:** [@idiotOne](https://forum.kirupa.com/u/idiotOne)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 3:17pm UTC](https://forum.kirupa.com/t/flv-inside-an-mc-behaves-strangely/295842 "2009-09-05T15:17:14Z")

</div>

I have placed an FLVplayer component inside a MC on the stage and when I'm trying to resize it, it resizes down to about a third of the size it's supposed to!? I'm at a loss, why is this happening? If I'm placing the F…

---

## [CS4 buttons](https://forum.kirupa.com/t/cs4-buttons/295841)

<div class="topic-metadata">

**Author:** [@lyanma](https://forum.kirupa.com/u/lyanma)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 2:55pm UTC](https://forum.kirupa.com/t/cs4-buttons/295841 "2009-09-05T14:55:09Z")

</div>

Hi everyone, I'm new to this CS4 world and I can't make my buttons work...I'm trying to make a portfolio. I have a button created named "books". I created a new layer just to insert the AS of that button and to stop th…

---

## [Dynamic text on parent swf not showing](https://forum.kirupa.com/t/dynamic-text-on-parent-swf-not-showing/295834)

<div class="topic-metadata">

**Author:** [@paulon](https://forum.kirupa.com/u/paulon)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 12:43pm UTC](https://forum.kirupa.com/t/dynamic-text-on-parent-swf-not-showing/295834 "2009-09-05T12:43:53Z")

</div>

for the gurus of flashcs3 please help, my dynamic text is not appearing on parent swf. but 100% working on self swf. i used trace to output the value and it works both on parent and child swf. what seems to be the proble…

---

## [Always look at the bright side of AS2.0 prototyping?](https://forum.kirupa.com/t/always-look-at-the-bright-side-of-as2-0-prototyping/295833)

<div class="topic-metadata">

**Author:** [@KaiLynn](https://forum.kirupa.com/u/KaiLynn)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 11:49am UTC](https://forum.kirupa.com/t/always-look-at-the-bright-side-of-as2-0-prototyping/295833 "2009-09-05T11:49:48Z")

</div>

Hi, I have difficulties to understand the meaning and every line of it, cus I'm not a pro yet. Can U help me, teach me what it does and how? Here it is: Path = function(){ this.init.apply(this,arguments); } Pat…

---

## [Help me with flash please!](https://forum.kirupa.com/t/help-me-with-flash-please/295827)

<div class="topic-metadata">

**Author:** [@eskimogenius](https://forum.kirupa.com/u/eskimogenius)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 6:17am UTC](https://forum.kirupa.com/t/help-me-with-flash-please/295827 "2009-09-05T06:17:44Z")

</div>

Hi, I'm trying to create 2 seperate motion tweens - between frame 1 to frame 35 and frame 36 to 65 but it just won't work. From frame 1 I want a motion tween to frame 35. We shall call the graphic in frame 1, graphic 1…

---

## [Interfaces and Static functions](https://forum.kirupa.com/t/interfaces-and-static-functions/295826)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:53am UTC](https://forum.kirupa.com/t/interfaces-and-static-functions/295826 "2009-09-05T04:53:51Z")

</div>

It seems that Actionscript doesnt support defining static functions in interfaces. Whats the reasoning behind this? I think it would be useful to have that ability but I'm sure there must be a reason why its not the…

---

## [Dynamically creating MovieClips](https://forum.kirupa.com/t/dynamically-creating-movieclips/295825)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 4:13am UTC](https://forum.kirupa.com/t/dynamically-creating-movieclips/295825 "2009-09-05T04:13:10Z")

</div>

Is there any way to create dynamic animations? Say if I'm creating a game and there might be multiple sprite sheets for different NPC's, would I have to manually create the walking/whatever other animations manually? Or …

---

## [How to copy flv file into one done flash site?](https://forum.kirupa.com/t/how-to-copy-flv-file-into-one-done-flash-site/295824)

<div class="topic-metadata">

**Author:** [@sashar](https://forum.kirupa.com/u/sashar)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 1:26am UTC](https://forum.kirupa.com/t/how-to-copy-flv-file-into-one-done-flash-site/295824 "2009-09-05T01:26:08Z")

</div>

It's seems a stupid question \[smile\] But i am newbie in flash, and just trying figure out how to add some ready done flash element into my flash site I use Flash CS4, and I have some page located in a Movie Clip I've…

---

## [Comprehensive performance guide?](https://forum.kirupa.com/t/comprehensive-performance-guide/295820)

<div class="topic-metadata">

**Author:** [@JoeDurb](https://forum.kirupa.com/u/JoeDurb)\
**Replies:** 0\
**Last updated:** [September 5, 2009, 12:13am UTC](https://forum.kirupa.com/t/comprehensive-performance-guide/295820 "2009-09-05T00:13:59Z")

</div>

I've looked for a good list of performance best-methods for AS3, and haven't found much help. Does anyone know of a good writeup on the subject, I'm just buried now to research the dozens of things I'd like to know.... …

---

## [Playing mp4 from limelight](https://forum.kirupa.com/t/playing-mp4-from-limelight/295812)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 6:09pm UTC](https://forum.kirupa.com/t/playing-mp4-from-limelight/295812 "2009-09-04T18:09:31Z")

</div>

Has anyone successfully made their own player in AS3 that plays mp4 files from limelight? I downloaded their lux player, but its flash 10 and CS4 only.

---

## [Infinite Music Loop](https://forum.kirupa.com/t/infinite-music-loop/295811)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 5:44pm UTC](https://forum.kirupa.com/t/infinite-music-loop/295811 "2009-09-04T17:44:24Z")

</div>

Hey, I have the following code: var liga\_som:URLRequest = new URLRequest("som/som.mp3"); var som:Sound = new Sound(); var controla\_som:SoundChannel = new SoundChannel(); var tempo:Number = 0; som.load(liga\_som); so…

---

## [HTML text to normal text](https://forum.kirupa.com/t/html-text-to-normal-text/295808)

<div class="topic-metadata">

**Author:** [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 4:47pm UTC](https://forum.kirupa.com/t/html-text-to-normal-text/295808 "2009-09-04T16:47:48Z")

</div>

I would like to take text that was rendered into HTML text and create a string that includes all of the HTML tags. So I my swf loads text containing HTML tags from external file swf displays text as htmlText into an in…

---

## [clearInterval problem](https://forum.kirupa.com/t/clearinterval-problem/295807)

<div class="topic-metadata">

**Author:** [@habbal85](https://forum.kirupa.com/u/habbal85)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 4:32pm UTC](https://forum.kirupa.com/t/clearinterval-problem/295807 "2009-09-04T16:32:56Z")

</div>

hey guys i'm really dissapointed becouse of this problem and i really need to solve it. ihave a circles menu that follows the move movement and i'm using the setInterval and clearInterval thing. the problem is i'm not …

---

## [Help! How to drop in an image gallery viewer in my fla](https://forum.kirupa.com/t/help-how-to-drop-in-an-image-gallery-viewer-in-my-fla/295803)

<div class="topic-metadata">

**Author:** [@kougan](https://forum.kirupa.com/u/kougan)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 2:29pm UTC](https://forum.kirupa.com/t/help-how-to-drop-in-an-image-gallery-viewer-in-my-fla/295803 "2009-09-04T14:29:15Z")

</div>

I downloaded a simple xml image gallery online and would like to put it in my .fla. It seems like the best way of doing this would be to load it in as an swf. It seems like a simple task, but what action script woul…

---

## [Bug when closing Internet Explorer 7 tab](https://forum.kirupa.com/t/bug-when-closing-internet-explorer-7-tab/295802)

<div class="topic-metadata">

**Author:** [@psan](https://forum.kirupa.com/u/psan)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 2:25pm UTC](https://forum.kirupa.com/t/bug-when-closing-internet-explorer-7-tab/295802 "2009-09-04T14:25:12Z")

</div>

Hi, I've found a strange bug in Internet Explorer 7 (haven't tried IE6 or IE8, might be the same problem there). I've searched everywhere and all I have found is a post about the exact same problem: http://www.techn…

---

## [getURL no longer supported](https://forum.kirupa.com/t/geturl-no-longer-supported/295801)

<div class="topic-metadata">

**Author:** [@Mashy](https://forum.kirupa.com/u/Mashy)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 2:07pm UTC](https://forum.kirupa.com/t/geturl-no-longer-supported/295801 "2009-09-04T14:07:07Z")

</div>

Hello all I am trying to learn AS3 and have encountered my first snag in what I thought would be an easy navbar I'm making. I have my swf in an iframe called 'nav', and when clicking on a nav button I want to change th…

---

## [Users Interaction To Delete Mask?](https://forum.kirupa.com/t/users-interaction-to-delete-mask/295798)

<div class="topic-metadata">

**Author:** [@Matt\_Blank](https://forum.kirupa.com/u/Matt_Blank)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 12:27pm UTC](https://forum.kirupa.com/t/users-interaction-to-delete-mask/295798 "2009-09-04T12:27:14Z")

</div>

Hi guys, I have two images, one of which lays on top of the other. What I'm trying to achieve is that the user watching the flash can interact by clicking down on their mouse and wipe away the top layer to reveal the b…

---

## [Exporting mov or image seq at 60fps](https://forum.kirupa.com/t/exporting-mov-or-image-seq-at-60fps/295794)

<div class="topic-metadata">

**Author:** [@boomtish](https://forum.kirupa.com/u/boomtish)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 11:51am UTC](https://forum.kirupa.com/t/exporting-mov-or-image-seq-at-60fps/295794 "2009-09-04T11:51:16Z")

</div>

Hi folks I'm trying to export a mov at 60 fps. The trouble is I'm getting weird stuff happening in my exported movies, when I bring one into After Effects it thinks it is 62.5 fps. And the first 10 or so frames of the …

---

## [Fading in and out issue](https://forum.kirupa.com/t/fading-in-and-out-issue/295793)

<div class="topic-metadata">

**Author:** [@bear](https://forum.kirupa.com/u/bear)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 10:51am UTC](https://forum.kirupa.com/t/fading-in-and-out-issue/295793 "2009-09-04T10:51:08Z")

</div>

Hey guys: I get one part fading in the way I want, but the other part is not doing anything. I get an error when I run this. Please give me some advice about this? import fl.transitions.Tween; import fl.transitions.ea…

---

## [Flash .swf loses quality when played in HTML](https://forum.kirupa.com/t/flash-swf-loses-quality-when-played-in-html/295790)

<div class="topic-metadata">

**Author:** [@possum87](https://forum.kirupa.com/u/possum87)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 10:35am UTC](https://forum.kirupa.com/t/flash-swf-loses-quality-when-played-in-html/295790 "2009-09-04T10:35:28Z")

</div>

(I use Flash CS4) I've made a flash banner which I want on my website. The quality was a bit crap so I searched around and found hundreds of places giving advice on improving quality, and I've followed some of these. T…

---

## [Draw in specific area - custom cursor?](https://forum.kirupa.com/t/draw-in-specific-area-custom-cursor/295789)

<div class="topic-metadata">

**Author:** [@scotia2k6](https://forum.kirupa.com/u/scotia2k6)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 10:15am UTC](https://forum.kirupa.com/t/draw-in-specific-area-custom-cursor/295789 "2009-09-04T10:15:21Z")

</div>

Hello All - wee update / better description Id like to be able to use a pencil image (custom cursor?) to draw in a defined area - its the 'ol pencil drawing a line idea on a pad. I dont know how to define the area? Ive…

---

## [Animated Preloader: Advance 1 frame every 10% loaded? (AS3)](https://forum.kirupa.com/t/animated-preloader-advance-1-frame-every-10-loaded-as3/295785)

<div class="topic-metadata">

**Author:** [@digs20](https://forum.kirupa.com/u/digs20)\
**Replies:** 0\
**Last updated:** [September 4, 2009, 5:27am UTC](https://forum.kirupa.com/t/animated-preloader-advance-1-frame-every-10-loaded-as3/295785 "2009-09-04T05:27:27Z")

</div>

Hi all, this is my first post ever: I am needing to create a preloader that advances a 10 frame animation every 10% loaded. So there will be a percentage indicator (dynamic text) and a short animation as the load bar (…

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

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