# programming

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

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

**Page:** 1132

---

## [Silly CS3 views question!](https://forum.kirupa.com/t/silly-cs3-views-question/267333)

<div class="topic-metadata">

**Author:** [@scotia2k4](https://forum.kirupa.com/u/scotia2k4)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 8:25pm UTC](https://forum.kirupa.com/t/silly-cs3-views-question/267333 "2008-07-30T20:25:12Z")

</div>

Hello! - Ive just upgraded to CS3, & cant find an option to show the relative paths of movies/items Im editing. Previously there was a link above the timeframe where I could click on the various stages - rather than (as…

---

## [Remove Array Elements from stage](https://forum.kirupa.com/t/remove-array-elements-from-stage/267332)

<div class="topic-metadata">

**Author:** [@snobdr8](https://forum.kirupa.com/u/snobdr8)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 7:50pm UTC](https://forum.kirupa.com/t/remove-array-elements-from-stage/267332 "2008-07-30T19:50:30Z")

</div>

Hey Guys and Gals. I have the following code that duplicates a movie clip on my stage. At the end of my web banner I am having trouble making the movie clips disappear. It's an online banner so when the banner loops I do…

---

## [Problem moving code from timeline to doc class](https://forum.kirupa.com/t/problem-moving-code-from-timeline-to-doc-class/267331)

<div class="topic-metadata">

**Author:** [@spike50](https://forum.kirupa.com/u/spike50)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 7:48pm UTC](https://forum.kirupa.com/t/problem-moving-code-from-timeline-to-doc-class/267331 "2008-07-30T19:48:16Z")

</div>

Hi, I am pretty new to AS. I'm trying to move some working AS3 code from the main timeline to a doc class but am getting a series of error messages. Can anyone tell me what I'm doing wrong? I'm attaching the FLA and AS…

---

## [Targeting with nested repeaters](https://forum.kirupa.com/t/targeting-with-nested-repeaters/267330)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 7:43pm UTC](https://forum.kirupa.com/t/targeting-with-nested-repeaters/267330 "2008-07-30T19:43:04Z")

</div>

I have two repeaters in my UI. The first displays all of the 'projects' in my collection. Each 'project' has a collection of 'images'. The projects are displayed as panels with the image list inside each panel as a set o…

---

## [What's a better way to handle grounds with AS3](https://forum.kirupa.com/t/whats-a-better-way-to-handle-grounds-with-as3/267327)

<div class="topic-metadata">

**Author:** [@shazzmoe](https://forum.kirupa.com/u/shazzmoe)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 7:02pm UTC](https://forum.kirupa.com/t/whats-a-better-way-to-handle-grounds-with-as3/267327 "2008-07-30T19:02:57Z")

</div>

I had no problem doing this in AS2 when I tried creating grounds in a sidescroller shooter game, but with AS3 the only way i can figure it out seems inefficient (though it does work). I'm trying to simplify the followin…

---

## [Playing a embedded sound in an external .swf](https://forum.kirupa.com/t/playing-a-embedded-sound-in-an-external-swf/267326)

<div class="topic-metadata">

**Author:** [@bsyapril88](https://forum.kirupa.com/u/bsyapril88)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 6:55pm UTC](https://forum.kirupa.com/t/playing-a-embedded-sound-in-an-external-swf/267326 "2008-07-30T18:55:03Z")

</div>

Is there a way to play a sound that has been embedded in an externally loaded .swf from the main .swf (the .swf that loaded it)? Playing the embeded sound from within the same .swf is easy but how is it possible from t…

---

## [CSS: Float Right - Position Issue?](https://forum.kirupa.com/t/css-float-right-position-issue/267324)

<div class="topic-metadata">

**Author:** [@drunkel](https://forum.kirupa.com/u/drunkel)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 6:34pm UTC](https://forum.kirupa.com/t/css-float-right-position-issue/267324 "2008-07-30T18:34:39Z")

</div>

Having an issue aligning/floating a nav bar to the right edge of the browser. Here is a screen shot: \[image\] here's some code: { padding: 0; margin: 0; } html { height: 100% } html \> body { height…

---

## [Javascript assistance required](https://forum.kirupa.com/t/javascript-assistance-required/267321)

<div class="topic-metadata">

**Author:** [@m00nz00mer](https://forum.kirupa.com/u/m00nz00mer)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:59pm UTC](https://forum.kirupa.com/t/javascript-assistance-required/267321 "2008-07-30T17:59:52Z")

</div>

Hey, Ive never used Javascript before (well only for really basic things). Im wanting to create a rollover effect on my site that puts a slightly transparent colour layer over the top of an image. I have this code here…

---

## [Drag/Scale Object Help](https://forum.kirupa.com/t/drag-scale-object-help/267320)

<div class="topic-metadata">

**Author:** [@MyronStanley](https://forum.kirupa.com/u/MyronStanley)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:58pm UTC](https://forum.kirupa.com/t/drag-scale-object-help/267320 "2008-07-30T17:58:30Z")

</div>

Hey all, Trying to fine tune, if possible, a drag scale movie clip functionality. I'm trying to get it to scale on the arrow instead of the whole image. Here is the code... var OnScale:Boolean; display01A.imageBg…

---

## [Video onto Blog (FLV)](https://forum.kirupa.com/t/video-onto-blog-flv/267319)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:54pm UTC](https://forum.kirupa.com/t/video-onto-blog-flv/267319 "2008-07-30T17:54:59Z")

</div>

Hello, I happened to be shooting footage yesterday when the earthquake happened and I want to put it on my blog. I exported it as a FLV but I am not sure what the next step should be. Do I put it into flash and make a …

---

## [AS -\> Javascript](https://forum.kirupa.com/t/as-javascript/267318)

<div class="topic-metadata">

**Author:** [@derleek](https://forum.kirupa.com/u/derleek)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:51pm UTC](https://forum.kirupa.com/t/as-javascript/267318 "2008-07-30T17:51:06Z")

</div>

I'm trying to include a simple action script command to send a string that contains 'flashDiv' to a javascript function hideFlash(). I have the code: import flash.external.\*; function() { ExternalInterface.call("hid…

---

## [How to use XML as data provider for Datagrid?](https://forum.kirupa.com/t/how-to-use-xml-as-data-provider-for-datagrid/267317)

<div class="topic-metadata">

**Author:** [@Pixelmech](https://forum.kirupa.com/u/Pixelmech)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:46pm UTC](https://forum.kirupa.com/t/how-to-use-xml-as-data-provider-for-datagrid/267317 "2008-07-30T17:46:47Z")

</div>

I'm trying to find instructions on how to use an XML file as the data provider for the datagrid component. I've searched the forums here, but I get a jillion threads with 'xml' in it. I found the Datagrid tutorial but it…

---

## [setMask ignored on dynamically loaded clip](https://forum.kirupa.com/t/setmask-ignored-on-dynamically-loaded-clip/267315)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:16pm UTC](https://forum.kirupa.com/t/setmask-ignored-on-dynamically-loaded-clip/267315 "2008-07-30T17:16:59Z")

</div>

I am using movieClipLoader to load a swf into slideHolder slideLoader.loadClip(mediaPath + slideSWF,slideHolder); slideListener.onLoadInit = function(target:MovieClip) { slideHolder.setMask(zoomMask); }; It d…

---

## [AS3 XML based Gallery](https://forum.kirupa.com/t/as3-xml-based-gallery/267314)

<div class="topic-metadata">

**Author:** [@Overshee](https://forum.kirupa.com/u/Overshee)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 5:16pm UTC](https://forum.kirupa.com/t/as3-xml-based-gallery/267314 "2008-07-30T17:16:36Z")

</div>

Hey, I'm trying to build an XML based image gallery in AS3. However, I'm having some troubles. Are there any quality tutorials that explain it pretty much from scratch? Everything I can find is fairly geared towards o…

---

## [Changing brightness for my color picker (with easy-to-run code)](https://forum.kirupa.com/t/changing-brightness-for-my-color-picker-with-easy-to-run-code/267312)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 4:45pm UTC](https://forum.kirupa.com/t/changing-brightness-for-my-color-picker-with-easy-to-run-code/267312 "2008-07-30T16:45:13Z")

</div>

I have a color picker, and I need to be able to change the movieclips brightness. I don't know how, but here is an idea of what I'm going for - using the alpha property instead: function drawGradientBox(size:uint, col…

---

## [Loading XML -- AS3 Skipping Files](https://forum.kirupa.com/t/loading-xml-as3-skipping-files/267310)

<div class="topic-metadata">

**Author:** [@chadian22](https://forum.kirupa.com/u/chadian22)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 4:27pm UTC](https://forum.kirupa.com/t/loading-xml-as3-skipping-files/267310 "2008-07-30T16:27:22Z")

</div>

Hello everyone, this has me stumped. Flash seems to be skipping files. With this code: (other code.......) var xmlString:URLRequest = new URLRequest(testLoad); trace("\*\*\* LOADING \*\*…

---

## [Loading external panorama swf into another swf](https://forum.kirupa.com/t/loading-external-panorama-swf-into-another-swf/267309)

<div class="topic-metadata">

**Author:** [@LeonardoZimbres](https://forum.kirupa.com/u/LeonardoZimbres)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 4:11pm UTC](https://forum.kirupa.com/t/loading-external-panorama-swf-into-another-swf/267309 "2008-07-30T16:11:46Z")

</div>

Hello, I wanto to load a swf panorama, from papervision, into my site. I want to buy the flash panorama player, but first I need to show to the customer his flash site with a panorama running, so Im asking this. Someon…

---

## [Loading complex BitmapData objects](https://forum.kirupa.com/t/loading-complex-bitmapdata-objects/267308)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 4:06pm UTC](https://forum.kirupa.com/t/loading-complex-bitmapdata-objects/267308 "2008-07-30T16:06:09Z")

</div>

Hi I'm generating quite a complex BitmapData object and drawing a lot of symbols into it using copyPixels. Now, there's always a delay from when I start drawing until it's actually rendered and appears on the screen. S…

---

## [Exporting Photoshop works to flash](https://forum.kirupa.com/t/exporting-photoshop-works-to-flash/267306)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 4:04pm UTC](https://forum.kirupa.com/t/exporting-photoshop-works-to-flash/267306 "2008-07-30T16:04:36Z")

</div>

I have made this window with some buttons that look like vista window (sorry for the quality i had to reduce it to upload it) and i would like to export it to flash but still have it's transparency. Is that possible?

---

## [Animated image loop with AS3](https://forum.kirupa.com/t/animated-image-loop-with-as3/267305)

<div class="topic-metadata">

**Author:** [@md3](https://forum.kirupa.com/u/md3)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 3:50pm UTC](https://forum.kirupa.com/t/animated-image-loop-with-as3/267305 "2008-07-30T15:50:57Z")

</div>

Hello. I'm new to AS3 and need some help creating an animated loop with dynamic images loaded from an xml document. I have it all working except I was wondering if there was a way for the images to transition in a way …

---

## [\[AS2\] Playing a specific frame](https://forum.kirupa.com/t/as2-playing-a-specific-frame/267303)

<div class="topic-metadata">

**Author:** [@Arkman](https://forum.kirupa.com/u/Arkman)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 3:45pm UTC](https://forum.kirupa.com/t/as2-playing-a-specific-frame/267303 "2008-07-30T15:45:31Z")

</div>

I am using the following actionscript to load a external swf. I would like to actually start playing that movie at a specific location based on what is already loaded. I am using this tutorial \[COLOR=#0000ff\]here\[/COLOR\].…

---

## [Playing a sound when one object hits another?](https://forum.kirupa.com/t/playing-a-sound-when-one-object-hits-another/267302)

<div class="topic-metadata">

**Author:** [@scott1969](https://forum.kirupa.com/u/scott1969)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 3:36pm UTC](https://forum.kirupa.com/t/playing-a-sound-when-one-object-hits-another/267302 "2008-07-30T15:36:05Z")

</div>

I am creating a kids game in AS 1 and want a "good" sound to play when a "good" object falls into the beavers basket and a "bad" sound to play when it falls into the basket. What is the best way to handle this in AS 1? …

---

## [Pause & Play Content in Flash as well as Sound](https://forum.kirupa.com/t/pause-play-content-in-flash-as-well-as-sound/267296)

<div class="topic-metadata">

**Author:** [@jemma\_jemma](https://forum.kirupa.com/u/jemma_jemma)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 1:26pm UTC](https://forum.kirupa.com/t/pause-play-content-in-flash-as-well-as-sound/267296 "2008-07-30T13:26:42Z")

</div>

Hi Everyone! I am a little new at this. I am just trying to find a good tutorial or some help on an issue I have. I will try to explain it in short but cover everything. Here it goes: I am creating a training site wi…

---

## [Changing the way a radio button looks](https://forum.kirupa.com/t/changing-the-way-a-radio-button-looks/267291)

<div class="topic-metadata">

**Author:** [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 12:34pm UTC](https://forum.kirupa.com/t/changing-the-way-a-radio-button-looks/267291 "2008-07-30T12:34:57Z")

</div>

Hey people, Just a quick question. It's probably very easy but I can't figure it out. Is there a way you can change the look of a radiobutton. I want to change the green glow it has to a different color. Either with ac…

---

## [Button Mode for Icon](https://forum.kirupa.com/t/button-mode-for-icon/267290)

<div class="topic-metadata">

**Author:** [@seek\_nik](https://forum.kirupa.com/u/seek_nik)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 12:33pm UTC](https://forum.kirupa.com/t/button-mode-for-icon/267290 "2008-07-30T12:33:49Z")

</div>

Hello All, Here I am loading Icon, //function definition to apply Icon in the button private function applyIcon() { var urlIconPath:URLRequest = new URLRequest(getButtonIcon()); …

---

## [I need a small code to convert from as2 to as3](https://forum.kirupa.com/t/i-need-a-small-code-to-convert-from-as2-to-as3/267289)

<div class="topic-metadata">

**Author:** [@rupnarayan\_b](https://forum.kirupa.com/u/rupnarayan_b)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 11:42am UTC](https://forum.kirupa.com/t/i-need-a-small-code-to-convert-from-as2-to-as3/267289 "2008-07-30T11:42:37Z")

</div>

I am creating a flv player in flash, i used this as in flash8 for embedding flash flv url flv.contentPath = flvurl; but this code is not getting supported by flash cs3 .Can anybody please suggest what will be the code fo…

---

## [Splash frame for Movie](https://forum.kirupa.com/t/splash-frame-for-movie/267286)

<div class="topic-metadata">

**Author:** [@rbudnikas](https://forum.kirupa.com/u/rbudnikas)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 11:10am UTC](https://forum.kirupa.com/t/splash-frame-for-movie/267286 "2008-07-30T11:10:48Z")

</div>

I am new to Flash and really don't know the terminology to search through the forum. I have converted a mpg to flv and have imported and is in layer 1 frame 1. Right now when I publish the movie it works great but on the…

---

## [Strip URL Content and Grab the Data](https://forum.kirupa.com/t/strip-url-content-and-grab-the-data/267284)

<div class="topic-metadata">

**Author:** [@benghee](https://forum.kirupa.com/u/benghee)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 10:59am UTC](https://forum.kirupa.com/t/strip-url-content-and-grab-the-data/267284 "2008-07-30T10:59:55Z")

</div>

Hi all, I have this URL that display date and news title. All i need is grab only news title and direct it on my another site. So far, i have done stripped the date and title but have no idea how to grab only the one i n…

---

## [Can I pause an externally loaded swf? AS3 to AS2](https://forum.kirupa.com/t/can-i-pause-an-externally-loaded-swf-as3-to-as2/267282)

<div class="topic-metadata">

**Author:** [@tibberous](https://forum.kirupa.com/u/tibberous)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 10:49am UTC](https://forum.kirupa.com/t/can-i-pause-an-externally-loaded-swf-as3-to-as2/267282 "2008-07-30T10:49:25Z")

</div>

It uses timeline animation, so I just need to stop it. The loaded movie is AS2, the movie I load it in is AS3. If I add it to an AS3 movieclip, is there a way I can just copy the whole surface?

---

## [Movie Clip Instance Name](https://forum.kirupa.com/t/movie-clip-instance-name/267274)

<div class="topic-metadata">

**Author:** [@MediaMonkey2008](https://forum.kirupa.com/u/MediaMonkey2008)\
**Replies:** 0\
**Last updated:** [July 30, 2008, 8:46am UTC](https://forum.kirupa.com/t/movie-clip-instance-name/267274 "2008-07-30T08:46:16Z")

</div>

Hello, I am setting up a menu which already had 6 movie-clips in place; I would like to add number 7. I have changed sections of the actionscript (as below)... However; I need to change the instance name of the movie-…

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

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