# flash

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

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

**Page:** 338

---

## [Calculate inner rectangle](https://forum.kirupa.com/t/calculate-inner-rectangle/309631)

<div class="topic-metadata">

**Author:** [@hehe1](https://forum.kirupa.com/u/hehe1)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 9:51am UTC](https://forum.kirupa.com/t/calculate-inner-rectangle/309631 "2010-05-20T09:51:16Z")

</div>

Hello, Trying to figure out how to find the biggest possible area within a rotated image (the black rect in attached image), but can't figure out how to calculate the points TL, TR, BR, BL to draw my rectangle (the r…

---

## [Syntax error: expecting rightparen before colon](https://forum.kirupa.com/t/syntax-error-expecting-rightparen-before-colon/309629)

<div class="topic-metadata">

**Author:** [@krunalkakadia](https://forum.kirupa.com/u/krunalkakadia)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 7:32am UTC](https://forum.kirupa.com/t/syntax-error-expecting-rightparen-before-colon/309629 "2010-05-20T07:32:28Z")

</div>

hi guys, I am new in FLAX technology.i have just started to learn it. now i have my simple pro. which converts ferenhit into celcius temparature.i have my temparature.mxml file in src folder and temparature.as file …

---

## [Noob: how to get SWF pixel dimensions?](https://forum.kirupa.com/t/noob-how-to-get-swf-pixel-dimensions/309626)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 2:58am UTC](https://forum.kirupa.com/t/noob-how-to-get-swf-pixel-dimensions/309626 "2010-05-20T02:58:02Z")

</div>

How do I programatically get the pixel dimensions of my SWF. I tried using stage.width and stage.height, but this seems to be a tight bounding box on all the objects in the video, not the actual viewing area. I also want…

---

## [Graphics Gradient Circles!](https://forum.kirupa.com/t/graphics-gradient-circles/309625)

<div class="topic-metadata">

**Author:** [@Pokenerd](https://forum.kirupa.com/u/Pokenerd)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 2:53am UTC](https://forum.kirupa.com/t/graphics-gradient-circles/309625 "2010-05-20T02:53:59Z")

</div>

Hey Guys! I have written this code. The ultimate purpose of which is to generate a circle where the interior is of 50% alpha, and the outside is 100% alpha. Should be simple. this.graphics.clear(); this.graphics.lin…

---

## [startDrag and load next pic?](https://forum.kirupa.com/t/startdrag-and-load-next-pic/309624)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 2:46am UTC](https://forum.kirupa.com/t/startdrag-and-load-next-pic/309624 "2010-05-20T02:46:19Z")

</div>

Hey! I have a picture gallery and I'm trying to figure out how to bring on the next picture when dragging the one currently on the screen off of the screen to the left. I have code written out that works to load the pi…

---

## [Random shape change when clicking in as3?](https://forum.kirupa.com/t/random-shape-change-when-clicking-in-as3/309623)

<div class="topic-metadata">

**Author:** [@boulevard](https://forum.kirupa.com/u/boulevard)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 1:35am UTC](https://forum.kirupa.com/t/random-shape-change-when-clicking-in-as3/309623 "2010-05-20T01:35:27Z")

</div>

I want to do a flash application follow the imape file I attached here, does anyone know how to change a shape to random shape when clicking using as3? Thanks for helping me

---

## [AS3 - Liquid Browser - Determine the point that the scrollbar should apear](https://forum.kirupa.com/t/as3-liquid-browser-determine-the-point-that-the-scrollbar-should-apear/309622)

<div class="topic-metadata">

**Author:** [@azrad](https://forum.kirupa.com/u/azrad)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 1:29am UTC](https://forum.kirupa.com/t/as3-liquid-browser-determine-the-point-that-the-scrollbar-should-apear/309622 "2010-05-20T01:29:43Z")

</div>

Hey, I'm a novice at As3 and some help his needed. I'm working in a site that is content is contantly resized at his position in response to the browser size, but wen the browser size is lower that the content the scro…

---

## [Creating a moving a platform in AS3](https://forum.kirupa.com/t/creating-a-moving-a-platform-in-as3/309620)

<div class="topic-metadata">

**Author:** [@Dadagu](https://forum.kirupa.com/u/Dadagu)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 10:26pm UTC](https://forum.kirupa.com/t/creating-a-moving-a-platform-in-as3/309620 "2010-05-19T22:26:41Z")

</div>

Hello, I'm having a bit of trouble getting a platform to move between a certain path with AS3. My code looks like this - if (((\_platform.x \>= 300) && (\_sp \>0)) || ((\_platform.x \<= 50) && (\_sp \<0))) { \_sp \*= -1; …

---

## [onClipEvent mouseOver Alternative?](https://forum.kirupa.com/t/onclipevent-mouseover-alternative/309617)

<div class="topic-metadata">

**Author:** [@fulci](https://forum.kirupa.com/u/fulci)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 9:58pm UTC](https://forum.kirupa.com/t/onclipevent-mouseover-alternative/309617 "2010-05-19T21:58:47Z")

</div>

Hello, I have a scroller, which works well, except I wish to remove the scroller and track, and just use the left and right buttons. This is also goes to plan, except I wish the left/right buttons to operate as soon as…

---

## [Help with contact form](https://forum.kirupa.com/t/help-with-contact-form/309615)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 8:57pm UTC](https://forum.kirupa.com/t/help-with-contact-form/309615 "2010-05-19T20:57:45Z")

</div>

Hello all! i have contact form, me need send data with contact form in e-mail, please help me solve problem, files you can download this: http://inicioplus.eu/data/cf.zip Thanks

---

## [Need Coder, horror game collab $$$ split](https://forum.kirupa.com/t/need-coder-horror-game-collab-split/309610)

<div class="topic-metadata">

**Author:** [@TheMillz](https://forum.kirupa.com/u/TheMillz)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 7:05pm UTC](https://forum.kirupa.com/t/need-coder-horror-game-collab-split/309610 "2010-05-19T19:05:05Z")

</div>

Hey, I've been making a decent profit off sponsoring flash games in the past, what I do is collaborate with an action scripter ( I work on the visual side of the project ) and split what ever we make down the middle, …

---

## [BitArray?](https://forum.kirupa.com/t/bitarray/309609)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 6:02pm UTC](https://forum.kirupa.com/t/bitarray/309609 "2010-05-19T18:02:17Z")

</div>

I was messing with the ByteArray, and it seems that functions like "writeBoolean" take up the full 8 bits instead of a single bit. Why so? I'm looking to "super optimize" some space (for fun, but I'm sure it has practi…

---

## [CopyPixels of User Scaled Bitmap](https://forum.kirupa.com/t/copypixels-of-user-scaled-bitmap/309607)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 4:42pm UTC](https://forum.kirupa.com/t/copypixels-of-user-scaled-bitmap/309607 "2010-05-19T16:42:59Z")

</div>

I am trying to copy pixels from a user scaled bitmap into a 50x50 target area. I am not seeing the new bitmap does not reflect the scaling of the initial bitmap. Any help would be greatly appreciated. function onSlider…

---

## [Is there an AS3 script for parallax scrolling?](https://forum.kirupa.com/t/is-there-an-as3-script-for-parallax-scrolling/309604)

<div class="topic-metadata">

**Author:** [@jjfossey](https://forum.kirupa.com/u/jjfossey)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 4:02pm UTC](https://forum.kirupa.com/t/is-there-an-as3-script-for-parallax-scrolling/309604 "2010-05-19T16:02:21Z")

</div>

I want to create a parallax scrolling effect using 3 PNG images that are 950px x 335px. One image is the foreground, another is the background and the third is the "middle" image. What I want to do is automatically scrol…

---

## [Frame pause](https://forum.kirupa.com/t/frame-pause/309603)

<div class="topic-metadata">

**Author:** [@Louis2](https://forum.kirupa.com/u/Louis2)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 2:21pm UTC](https://forum.kirupa.com/t/frame-pause/309603 "2010-05-19T14:21:52Z")

</div>

Hello I am new to Flash and was hoping for some help with an actionscript 3 problem. I have imported an FLV onto my timeline and I wanted to pause the first frame for 20 frames before it starts to play. Any help would…

---

## [Loading external swfs into a container](https://forum.kirupa.com/t/loading-external-swfs-into-a-container/309590)

<div class="topic-metadata">

**Author:** [@stein\_olsen](https://forum.kirupa.com/u/stein_olsen)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 8:31am UTC](https://forum.kirupa.com/t/loading-external-swfs-into-a-container/309590 "2010-05-19T08:31:28Z")

</div>

I have an empty movie instance called 'contentClip' sitting in an swf called 'middle' on the main timeline. I have a number of buttons to call external swfs into the contentClip but I'm struggling with the exact script. …

---

## [Video Play/Pause button in AS 3](https://forum.kirupa.com/t/video-play-pause-button-in-as-3/309587)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 7:06am UTC](https://forum.kirupa.com/t/video-play-pause-button-in-as-3/309587 "2010-05-19T07:06:15Z")

</div>

Hi, I have embedded the video in flash using player. Now I want a play/pause button for video. I am using ns.pause();to pause the video, its working. here ns=video instance name. but the play button is not working …

---

## [Substituting A Variable](https://forum.kirupa.com/t/substituting-a-variable/309576)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 1:21am UTC](https://forum.kirupa.com/t/substituting-a-variable/309576 "2010-05-19T01:21:16Z")

</div>

Hi Newgrounds, need some help here. I was wondering if its possible to substitute a variable with another variable's name instead of its actual value. Not sure what I mean? Let me explain. I have a variable named "pL…

---

## [AS3 Question: Accessing a main timeline variable from a class?](https://forum.kirupa.com/t/as3-question-accessing-a-main-timeline-variable-from-a-class/309575)

<div class="topic-metadata">

**Author:** [@noisavni](https://forum.kirupa.com/u/noisavni)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 1:03am UTC](https://forum.kirupa.com/t/as3-question-accessing-a-main-timeline-variable-from-a-class/309575 "2010-05-19T01:03:20Z")

</div>

First Post! I like what you've done with the place. I'm was getting good with as2 but recently made the mind switch from, I'll learn as3 tomorrow to as3 is awesome. The problem for me is that I d…

---

## [Shuffle: here's how I did it](https://forum.kirupa.com/t/shuffle-heres-how-i-did-it/309574)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 11:08pm UTC](https://forum.kirupa.com/t/shuffle-heres-how-i-did-it/309574 "2010-05-18T23:08:27Z")

</div>

I needed to create code for a number of indexed elements to be displayed in a random order. Or, for example: I have a CD with ten tracks, and I want to play them in a random order, so I need to create an Array with …

---

## [Loading an AS2 swf with Video Component in AS3](https://forum.kirupa.com/t/loading-an-as2-swf-with-video-component-in-as3/309573)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 10:55pm UTC](https://forum.kirupa.com/t/loading-an-as2-swf-with-video-component-in-as3/309573 "2010-05-18T22:55:06Z")

</div>

Ok here is my situation. I have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component. When I click my button to load the AS2 …

---

## [AS 3.0 Help with crazy timeline LOL :)](https://forum.kirupa.com/t/as-3-0-help-with-crazy-timeline-lol/309572)

<div class="topic-metadata">

**Author:** [@jdscholz83](https://forum.kirupa.com/u/jdscholz83)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 10:26pm UTC](https://forum.kirupa.com/t/as-3-0-help-with-crazy-timeline-lol/309572 "2010-05-18T22:26:49Z")

</div>

Here's another one. I have a movie that is 2:59 seconds long. Above the movie, I have a Text that I converted to a Movie clip. Inside that movie clip I made a fade effect. So the text is invisible at first and then f…

---

## [Hyperlink help needed](https://forum.kirupa.com/t/hyperlink-help-needed/309571)

<div class="topic-metadata">

**Author:** [@viperxmns](https://forum.kirupa.com/u/viperxmns)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 9:55pm UTC](https://forum.kirupa.com/t/hyperlink-help-needed/309571 "2010-05-18T21:55:34Z")

</div>

Hi there, I need a bit of help with something, trying all the Flash-centric forums I can find to try and rustle up a bit of help. I have a project where I'm working in Flash CS4 on a presentation that runs in Action…

---

## [Help with "Skip Intro" Button! :)](https://forum.kirupa.com/t/help-with-skip-intro-button/309570)

<div class="topic-metadata">

**Author:** [@jdscholz83](https://forum.kirupa.com/u/jdscholz83)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 9:25pm UTC](https://forum.kirupa.com/t/help-with-skip-intro-button/309570 "2010-05-18T21:25:06Z")

</div>

I am using: Adobe Flash CS3 Action Script 3.0. I have to use this...Sorry \[frowning\] Here is my problem. I have a preloader, works fine. I have a contents page. I have an animation between my preloader and contents…

---

## [MovieClip / Bitmap x,y, width,height after scaling for copyPixels function](https://forum.kirupa.com/t/movieclip-bitmap-x-y-width-height-after-scaling-for-copypixels-function/309568)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 8:53pm UTC](https://forum.kirupa.com/t/movieclip-bitmap-x-y-width-height-after-scaling-for-copypixels-function/309568 "2010-05-18T20:53:29Z")

</div>

Greetings, I have a 50x50 fixed rectangle in the center of the stage. I am using this rectangle as a "hit area" to copy pixels of a bitmap that is draged by the user to line up an area of the image he/she would like …

---

## [Help sliding up and down menu flash cs5 or cs4](https://forum.kirupa.com/t/help-sliding-up-and-down-menu-flash-cs5-or-cs4/309567)

<div class="topic-metadata">

**Author:** [@gregnyrfan](https://forum.kirupa.com/u/gregnyrfan)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 8:49pm UTC](https://forum.kirupa.com/t/help-sliding-up-and-down-menu-flash-cs5-or-cs4/309567 "2010-05-18T20:49:40Z")

</div>

Hi, im trying to create a cafe flash website in Flash CS5. My problem is that I know how to create regular buttons that point to different frames but i want to make the site nice. The only button that will be a drop down…

---

## [Non Orphan MovieClip problem](https://forum.kirupa.com/t/non-orphan-movieclip-problem/309566)

<div class="topic-metadata">

**Author:** [@Kreender](https://forum.kirupa.com/u/Kreender)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 8:46pm UTC](https://forum.kirupa.com/t/non-orphan-movieclip-problem/309566 "2010-05-18T20:46:00Z")

</div>

Hi, I'm trying to make a custom class for collision detection, this is what I've got so far. package { /\*\* \* ... \* @author Santiago \*/ import flash.display.DisplayObject; import flash…

---

## [Targeting movieclip on stage from inside a movieclip](https://forum.kirupa.com/t/targeting-movieclip-on-stage-from-inside-a-movieclip/309550)

<div class="topic-metadata">

**Author:** [@neys](https://forum.kirupa.com/u/neys)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 5:56pm UTC](https://forum.kirupa.com/t/targeting-movieclip-on-stage-from-inside-a-movieclip/309550 "2010-05-18T17:56:25Z")

</div>

Here's my problem: On the stage I have a movieclip called mc\_back. I also have a movieclip on the stage called mc\_content. Now, inside mc\_content I have a bunch of code and some of it adds, or should add, an EventListe…

---

## [Slider to control multiple swf's with loop checking](https://forum.kirupa.com/t/slider-to-control-multiple-swfs-with-loop-checking/309548)

<div class="topic-metadata">

**Author:** [@adstudio3d](https://forum.kirupa.com/u/adstudio3d)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 4:13pm UTC](https://forum.kirupa.com/t/slider-to-control-multiple-swfs-with-loop-checking/309548 "2010-05-18T16:13:10Z")

</div>

I have to create a slideshow that loads 16 different swf's into a container\_mc. Each swf has an image with accompanying voiceover. I have the basic next, previous, first, and last slide buttons working but they want to…

---

## [Random Movie Link Issue](https://forum.kirupa.com/t/random-movie-link-issue/309547)

<div class="topic-metadata">

**Author:** [@jpredig](https://forum.kirupa.com/u/jpredig)\
**Replies:** 0\
**Last updated:** [May 18, 2010, 2:50pm UTC](https://forum.kirupa.com/t/random-movie-link-issue/309547 "2010-05-18T14:50:43Z")

</div>

I have gotten my movies to play at random from external files but the links that where coded into the random swf files no longer work. could there be an action script issue? the random swf files are as3 and the player fi…

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

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