# flash

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

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

**Page:** 906

---

## [Using SetVariable with AS3 - Its ridiculous](https://forum.kirupa.com/t/using-setvariable-with-as3-its-ridiculous/252259)

<div class="topic-metadata">

**Author:** [@benjaminhoe\_id](https://forum.kirupa.com/u/benjaminhoe_id)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 4:34pm UTC](https://forum.kirupa.com/t/using-setvariable-with-as3-its-ridiculous/252259 "2008-07-14T16:34:27Z")

</div>

I'm trying to make a flash 9 example of using AS3 and VB / VB.NET to set a variable inside the flash. The flashplayer ocx has its method SetVariable("\<variableName\>", "\<valueToGive\>") which sets a variable in the code …

---

## [gotoAndPlay not working correctly](https://forum.kirupa.com/t/gotoandplay-not-working-correctly/265818)

<div class="topic-metadata">

**Author:** [@Bossos](https://forum.kirupa.com/u/Bossos)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 3:49pm UTC](https://forum.kirupa.com/t/gotoandplay-not-working-correctly/265818 "2008-07-14T15:49:16Z")

</div>

Hi, I'm trying to get a some flash movieclips to fade in and fade out again on mouse Rollover / out events. The rollover and fade up works fine, but the rollout just skips directly back to frame 1 without playing the b…

---

## [Flash CS3 (AS2) XML scrolling gallery help](https://forum.kirupa.com/t/flash-cs3-as2-xml-scrolling-gallery-help/265918)

<div class="topic-metadata">

**Author:** [@pongskull\_mac\_c](https://forum.kirupa.com/u/pongskull_mac_c)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 3:36pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-xml-scrolling-gallery-help/265918 "2008-07-14T15:36:19Z")

</div>

Hello all, I'm making a scrolling gallery with videos and thumbnails loaded from XML. The gallery works but I can't for the life of me figure out how to make the following thing happen: \[LIST\]The selected thumbnail st…

---

## [Adding a non-clickable background to a set of buttons](https://forum.kirupa.com/t/adding-a-non-clickable-background-to-a-set-of-buttons/265900)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 3:27pm UTC](https://forum.kirupa.com/t/adding-a-non-clickable-background-to-a-set-of-buttons/265900 "2008-07-14T15:27:14Z")

</div>

Hi all, I've created an as navigation panel similar to the one on google maps to navigate around a bubble chart created in Flex. The problem I'm having is that when there is a bubble(s) behind a button been clicked I e…

---

## [How to use variables for easing Class and esing Method of Tween animation?](https://forum.kirupa.com/t/how-to-use-variables-for-easing-class-and-esing-method-of-tween-animation/265882)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 3:19pm UTC](https://forum.kirupa.com/t/how-to-use-variables-for-easing-class-and-esing-method-of-tween-animation/265882 "2008-07-14T15:19:48Z")

</div>

Hello, I am using ActionScript 3 to do Tween animation. I have two combo boxes that allow user to select the easing Class (e.g. Regular, Back, Bounce, Elastic, Regular, Strong and None) and easing Method (e.g. easeOut,…

---

## [Flash AS2 Flaky In Firefox 2.0.0.15](https://forum.kirupa.com/t/flash-as2-flaky-in-firefox-2-0-0-15/265916)

<div class="topic-metadata">

**Author:** [@alexku](https://forum.kirupa.com/u/alexku)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 3:19pm UTC](https://forum.kirupa.com/t/flash-as2-flaky-in-firefox-2-0-0-15/265916 "2008-07-14T15:19:34Z")

</div>

I have developed an interactive flash exercise to test people's knowledge. It uses draggable object and drop targets to create a multiple choice question. I am having trouble getting it to work correctly every time in fi…

---

## [TweenLite help](https://forum.kirupa.com/t/tweenlite-help/265546)

<div class="topic-metadata">

**Author:** [@Jenna\_Launch](https://forum.kirupa.com/u/Jenna_Launch)\
**Replies:** 5\
**Last updated:** [July 14, 2008, 3:19pm UTC](https://forum.kirupa.com/t/tweenlite-help/265546 "2008-07-14T15:19:13Z")

</div>

Hi there! I am new to AS3 and just getting to know TweenLite. I am trying to implement TweenLite into my script (below) to make the mouse follow alot smoother, can anyone point me in the right direction? I appreciate…

---

## [Attaching onRollOvers in a for loop?](https://forum.kirupa.com/t/attaching-onrollovers-in-a-for-loop/265902)

<div class="topic-metadata">

**Author:** [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Replies:** 4\
**Last updated:** [July 14, 2008, 2:44pm UTC](https://forum.kirupa.com/t/attaching-onrollovers-in-a-for-loop/265902 "2008-07-14T14:44:09Z")

</div>

Hi people, I'm having a bit of a problem with attaching some links to a series of buttons I dynamically create. function createSocks() { \_root.createEmptyMovieClip("socksSeries", this.getNextHighestDepth()); for (…

---

## [Horizontal Newsticker - XML Feed?](https://forum.kirupa.com/t/horizontal-newsticker-xml-feed/265908)

<div class="topic-metadata">

**Author:** [@LittleBob](https://forum.kirupa.com/u/LittleBob)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 2:28pm UTC](https://forum.kirupa.com/t/horizontal-newsticker-xml-feed/265908 "2008-07-14T14:28:19Z")

</div>

Hi All, I'm a newbie, as I'm sure you'll guess from reading this - I'm using CS3 and attempting to make a horizontally scrolling news ticker. I've looked at http://www.actionscript.org/showMovie.php?id=356 and done som…

---

## [AS3 ComponentShim help](https://forum.kirupa.com/t/as3-componentshim-help/265869)

<div class="topic-metadata">

**Author:** [@stephenr85](https://forum.kirupa.com/u/stephenr85)\
**Replies:** 1\
**Last updated:** [July 14, 2008, 2:21pm UTC](https://forum.kirupa.com/t/as3-componentshim-help/265869 "2008-07-14T14:21:47Z")

</div>

I'm trying to create my first component (FLA based), and am having trouble with the ComponentShim. My component works as expected if I include the path to my AudioPlayer class, but I'd like to be able to distribute th…

---

## [Custom FLV Scrubber](https://forum.kirupa.com/t/custom-flv-scrubber/264726)

<div class="topic-metadata">

**Author:** [@jayrich86](https://forum.kirupa.com/u/jayrich86)\
**Replies:** 11\
**Last updated:** [July 14, 2008, 2:02pm UTC](https://forum.kirupa.com/t/custom-flv-scrubber/264726 "2008-07-14T14:02:10Z")

</div>

For some reason my scrubber won't scrub correctly while the video is loading, but once it has completed it scrubs just fine. Here is my code var scrubInterval; var videoInterval…

---

## [New - And Cannot Clear Previous Frames](https://forum.kirupa.com/t/new-and-cannot-clear-previous-frames/265729)

<div class="topic-metadata">

**Author:** [@jemma\_jemma](https://forum.kirupa.com/u/jemma_jemma)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 1:04pm UTC](https://forum.kirupa.com/t/new-and-cannot-clear-previous-frames/265729 "2008-07-14T13:04:56Z")

</div>

Hi, I have a problem and I was hoping you guys can help me. I am trying to create a training site, the way it works is that it will run through some information and then there is a quiz at the end of different section…

---

## [Repeat movieclip action in AS](https://forum.kirupa.com/t/repeat-movieclip-action-in-as/265471)

<div class="topic-metadata">

**Author:** [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)\
**Replies:** 9\
**Last updated:** [July 14, 2008, 12:45pm UTC](https://forum.kirupa.com/t/repeat-movieclip-action-in-as/265471 "2008-07-14T12:45:20Z")

</div>

Hi all. I'm using the code below to move an instance down a page but I'd like it to run on a loop (just downwards not up and down). What do I need to add to the code? Thanks in advance. onClipEvent(enterFrame) { …

---

## [Imporint External SWF](https://forum.kirupa.com/t/imporint-external-swf/265715)

<div class="topic-metadata">

**Author:** [@nickbunyun](https://forum.kirupa.com/u/nickbunyun)\
**Replies:** 1\
**Last updated:** [July 14, 2008, 11:27am UTC](https://forum.kirupa.com/t/imporint-external-swf/265715 "2008-07-14T11:27:11Z")

</div>

ok so i have this LINK1 (bp\_frame) LINK2 (ww\_frame) LINK3 LINK4 on link1 i have this on (release) { if (\_root.currMovie == undefined) { root.currMovie = "bpframe"; container.loadMovie("bp\_frame.s…

---

## [Line Break on textvar](https://forum.kirupa.com/t/line-break-on-textvar/265892)

<div class="topic-metadata">

**Author:** [@tfoso90](https://forum.kirupa.com/u/tfoso90)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 11:21am UTC](https://forum.kirupa.com/t/line-break-on-textvar/265892 "2008-07-14T11:21:47Z")

</div>

I have got a text box with some text in and a scroll bar on the side, it all works fine untill i try and put a line break in it... here is the code: textvar = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr,…

---

## [Photogallery Thumbnails of different widths](https://forum.kirupa.com/t/photogallery-thumbnails-of-different-widths/263286)

<div class="topic-metadata">

**Author:** [@edsdesigns](https://forum.kirupa.com/u/edsdesigns)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 11:00am UTC](https://forum.kirupa.com/t/photogallery-thumbnails-of-different-widths/263286 "2008-07-14T11:00:32Z")

</div>

Today I used the tutorial on building a photogallery using XML and then added the thumbnails but I have seemed to run into a slight problem I am hoping you can help out with. all my thumbnails are of the same height but…

---

## [How to center a rotation in AS3](https://forum.kirupa.com/t/how-to-center-a-rotation-in-as3/265852)

<div class="topic-metadata">

**Author:** [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)\
**Replies:** 6\
**Last updated:** [July 14, 2008, 10:24am UTC](https://forum.kirupa.com/t/how-to-center-a-rotation-in-as3/265852 "2008-07-14T10:24:36Z")

</div>

Hi I have searched for hours for the solution on google and forums and I still can't figure out how to center a rotation on movieclip in AS3. As you can see in my code, I'm trying to adjust on the fly the x and y propert…

---

## [Print section of MC](https://forum.kirupa.com/t/print-section-of-mc/265877)

<div class="topic-metadata">

**Author:** [@Keith30](https://forum.kirupa.com/u/Keith30)\
**Replies:** 1\
**Last updated:** [July 14, 2008, 9:09am UTC](https://forum.kirupa.com/t/print-section-of-mc/265877 "2008-07-14T09:09:34Z")

</div>

Is there a way to print just a section of a MC? I have a print button with print a MC in the same swf. Can I add x,y or height and width coordinates to sent to the printer action? CODE on PRINT BUTTON on (release…

---

## [Same switch statement for two different buttons](https://forum.kirupa.com/t/same-switch-statement-for-two-different-buttons/265876)

<div class="topic-metadata">

**Author:** [@wolcotter](https://forum.kirupa.com/u/wolcotter)\
**Replies:** 3\
**Last updated:** [July 14, 2008, 7:25am UTC](https://forum.kirupa.com/t/same-switch-statement-for-two-different-buttons/265876 "2008-07-14T07:25:44Z")

</div>

Is there an efficient way to assign the following switch statement to two different buttons (movie clips)? btn.onRelease = function() { switch (button\_var) { case 1 : button\_var = 2; ball.slideT…

---

## [Question about loading pictures](https://forum.kirupa.com/t/question-about-loading-pictures/265822)

<div class="topic-metadata">

**Author:** [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Replies:** 4\
**Last updated:** [July 14, 2008, 4:11am UTC](https://forum.kirupa.com/t/question-about-loading-pictures/265822 "2008-07-14T04:11:55Z")

</div>

I was trying to load a .bmp file using the Loader class but kept getting errors saying that the image was of an unknown type. I tryed saving the picture as a .png and the loader worked immediately. Is there something tha…

---

## [NetConnection failing on second try](https://forum.kirupa.com/t/netconnection-failing-on-second-try/265871)

<div class="topic-metadata">

**Author:** [@uberalles](https://forum.kirupa.com/u/uberalles)\
**Replies:** 0\
**Last updated:** [July 14, 2008, 1:20am UTC](https://forum.kirupa.com/t/netconnection-failing-on-second-try/265871 "2008-07-14T01:20:41Z")

</div>

I have a small audio stream between two clients in a chatroom app (using Red5 for the streaming). Now when I connect to Red5 on the first try everything works just fine. If I close the app and try again I get the followi…

---

## [Need to load a Youtube clip in a video instance](https://forum.kirupa.com/t/need-to-load-a-youtube-clip-in-a-video-instance/265804)

<div class="topic-metadata">

**Author:** [@ckc](https://forum.kirupa.com/u/ckc)\
**Replies:** 5\
**Last updated:** [July 13, 2008, 11:57pm UTC](https://forum.kirupa.com/t/need-to-load-a-youtube-clip-in-a-video-instance/265804 "2008-07-13T23:57:20Z")

</div>

Hi guys, I know it might be silly but i'm getting stuck here. I need to load a youtube clip into a "embed\_video" instance. I have a input text box where i want people to type there youtube url and then press a play butt…

---

## [AS3 Video Player Component Not Stopping](https://forum.kirupa.com/t/as3-video-player-component-not-stopping/265859)

<div class="topic-metadata">

**Author:** [@chriswilson](https://forum.kirupa.com/u/chriswilson)\
**Replies:** 1\
**Last updated:** [July 13, 2008, 11:33pm UTC](https://forum.kirupa.com/t/as3-video-player-component-not-stopping/265859 "2008-07-13T23:33:50Z")

</div>

I'm making a website for a client and I'm using the Video Playback Component to display a video of theirs. When I test the site the video player shows the movie fine, but when you click to go back to the homepage the vid…

---

## [Help closing a movieclip](https://forum.kirupa.com/t/help-closing-a-movieclip/265866)

<div class="topic-metadata">

**Author:** [@mvadesigns](https://forum.kirupa.com/u/mvadesigns)\
**Replies:** 2\
**Last updated:** [July 13, 2008, 11:17pm UTC](https://forum.kirupa.com/t/help-closing-a-movieclip/265866 "2008-07-13T23:17:02Z")

</div>

I know that lightbox effects were created if Flash wasn't present and I'm not attempting to learn how to use lighbox ... but I'm trying to create that same feeling of a movie clip when it opens for my online portfolio. …

---

## [Stop Intro looping](https://forum.kirupa.com/t/stop-intro-looping/265820)

<div class="topic-metadata">

**Author:** [@digitalmemento](https://forum.kirupa.com/u/digitalmemento)\
**Replies:** 6\
**Last updated:** [July 13, 2008, 11:13pm UTC](https://forum.kirupa.com/t/stop-intro-looping/265820 "2008-07-13T23:13:47Z")

</div>

Im currently in the process of putting together my first Flash site which has got an intro and the last frame of this intro forms the background for the site. After a button is clicked the very short clip plays agian and…

---

## [Workspace preview and player preview different](https://forum.kirupa.com/t/workspace-preview-and-player-preview-different/265862)

<div class="topic-metadata">

**Author:** [@trakwrecka](https://forum.kirupa.com/u/trakwrecka)\
**Replies:** 1\
**Last updated:** [July 13, 2008, 10:23pm UTC](https://forum.kirupa.com/t/workspace-preview-and-player-preview-different/265862 "2008-07-13T22:23:07Z")

</div>

Hello, I was working on a flash header for my up and coming website and all seemed well till i previewed by pressing ctrl+enter. I was working on most of the project previewing over and over again in the workspace, while…

---

## [Objects don't disappear off stage](https://forum.kirupa.com/t/objects-dont-disappear-off-stage/265800)

<div class="topic-metadata">

**Author:** [@metallion](https://forum.kirupa.com/u/metallion)\
**Replies:** 9\
**Last updated:** [July 13, 2008, 10:01pm UTC](https://forum.kirupa.com/t/objects-dont-disappear-off-stage/265800 "2008-07-13T22:01:55Z")

</div>

For some reason, objects that I place into the work area still appear in my swfs. Aren't those objects supposed to disappear? Is there something special I'm supposed to do? Thanks.

---

## [Time based animation](https://forum.kirupa.com/t/time-based-animation/265861)

<div class="topic-metadata">

**Author:** [@gvk](https://forum.kirupa.com/u/gvk)\
**Replies:** 0\
**Last updated:** [July 13, 2008, 8:52pm UTC](https://forum.kirupa.com/t/time-based-animation/265861 "2008-07-13T20:52:30Z")

</div>

I have some problems with my time based animation. I was trying to make animation with bouncing ball which is devided into two smaller balls everytime it touches the edge of the board. However only first ball is animated…

---

## [MultipleWork image load problem](https://forum.kirupa.com/t/multiplework-image-load-problem/265789)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 3\
**Last updated:** [July 13, 2008, 8:19pm UTC](https://forum.kirupa.com/t/multiplework-image-load-problem/265789 "2008-07-13T20:19:41Z")

</div>

Hi all \[smile\] I have created a file which has one mc named mycontent and into it there are a TextField and another mc. I have also a xml file from which I get my information. My XML structure is simple I have info tag …

---

## [Arranging movie clips](https://forum.kirupa.com/t/arranging-movie-clips/265830)

<div class="topic-metadata">

**Author:** [@ameet](https://forum.kirupa.com/u/ameet)\
**Replies:** 1\
**Last updated:** [July 13, 2008, 7:39pm UTC](https://forum.kirupa.com/t/arranging-movie-clips/265830 "2008-07-13T19:39:14Z")

</div>

I have created four menus and have placed in cascading style (ie. overlaping one after another, showing partially the below one), Now I want each menu come above (front)when I click it, (ie, when I click the second, thir…

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

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