# flash

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

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

**Page:** 1084

---

## [Thinking of creating a new DataGrid component](https://forum.kirupa.com/t/thinking-of-creating-a-new-datagrid-component/251117)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 2:55pm UTC](https://forum.kirupa.com/t/thinking-of-creating-a-new-datagrid-component/251117 "2008-02-05T14:55:51Z")

</div>

Hi, Im thinking of creating a new datagrid component... to have it as customizable as possible, it will definately help me in my future projects. Does anyone know something similar which is out there which I can probably…

---

## [Google Adsense inside of Flash](https://forum.kirupa.com/t/google-adsense-inside-of-flash/251116)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 2:53pm UTC](https://forum.kirupa.com/t/google-adsense-inside-of-flash/251116 "2008-02-05T14:53:59Z")

</div>

Did anyone have success in doing that? The only way I think would be possible is to have an external interface call a javascript function to set the ad's div to show and hide (whenever necessary in the flash) ... bu…

---

## [How to define a Classpath](https://forum.kirupa.com/t/how-to-define-a-classpath/251114)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 2:35pm UTC](https://forum.kirupa.com/t/how-to-define-a-classpath/251114 "2008-02-05T14:35:51Z")

</div>

\[FONT=Calibri\] I am just trying to organize my classes, but I’m a little confused. \[/FONT\] \[FONT=Calibri\] What would be the right structure for a classpath in actionscript 3.0? \[/FONT\] \[FONT=Calibri\] Can my cla…

---

## [Passing variables from HTML into Flash (AS3)](https://forum.kirupa.com/t/passing-variables-from-html-into-flash-as3/251111)

<div class="topic-metadata">

**Author:** [@Aneurin\_Mark\_II](https://forum.kirupa.com/u/Aneurin_Mark_II)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:51pm UTC](https://forum.kirupa.com/t/passing-variables-from-html-into-flash-as3/251111 "2008-02-05T13:51:23Z")

</div>

With AS2 I would have done this like so (awful HTML but you get the idea): \<embed src="movie.swf?variable=value"\> That would have given the variable 'variable' the value 'value' in the Flash object without any fuss. …

---

## [Attaching multiple MC's into An existing MC](https://forum.kirupa.com/t/attaching-multiple-mcs-into-an-existing-mc/251109)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:43pm UTC](https://forum.kirupa.com/t/attaching-multiple-mcs-into-an-existing-mc/251109 "2008-02-05T13:43:35Z")

</div>

Hi \> I am dynamically placing a bunch of MC's into one MC via a loop from the Library. It isn't working, and I cant understand why not. If I just put them on the \_root, the code works. But when I attach them inside the…

---

## [Sound keeps repeating](https://forum.kirupa.com/t/sound-keeps-repeating/251105)

<div class="topic-metadata">

**Author:** [@FabioM](https://forum.kirupa.com/u/FabioM)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:12pm UTC](https://forum.kirupa.com/t/sound-keeps-repeating/251105 "2008-02-05T13:12:28Z")

</div>

Hi there I´m doing a flash work for university and i´m having a few problems with it. The problem i have is related to ambient sound i want to put in a scene. I already did this in a past project and it was very easy…

---

## [Horizontal and vertical action tween](https://forum.kirupa.com/t/horizontal-and-vertical-action-tween/251104)

<div class="topic-metadata">

**Author:** [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:01pm UTC](https://forum.kirupa.com/t/horizontal-and-vertical-action-tween/251104 "2008-02-05T13:01:40Z")

</div>

Hello all, I have a problem with which I'm struggeling. I tried dearching for the solution, but the search was unlucky. My problem is that I want to build my stie like a cross (with only the centered page visible) and …

---

## [Method call not doing anything](https://forum.kirupa.com/t/method-call-not-doing-anything/251103)

<div class="topic-metadata">

**Author:** [@fried](https://forum.kirupa.com/u/fried)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 12:45pm UTC](https://forum.kirupa.com/t/method-call-not-doing-anything/251103 "2008-02-05T12:45:08Z")

</div>

Hi guys. I have to separate classes, on for a header image and the other for a navigation bar. When the user clicks a specific button on the navigation bar, I would like the images in the header to change accordingly. …

---

## [TextField with CSS- setStyle and then reload](https://forum.kirupa.com/t/textfield-with-css-setstyle-and-then-reload/251102)

<div class="topic-metadata">

**Author:** [@lilalfyalien](https://forum.kirupa.com/u/lilalfyalien)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 12:42pm UTC](https://forum.kirupa.com/t/textfield-with-css-setstyle-and-then-reload/251102 "2008-02-05T12:42:09Z")

</div>

\[LEFT\]Hi, I have a dynamic textbox, "txtMain", it loads in html text and then I apply a CSS to it. All works great. Now what I want to be able to do is simply change the font-size at a click on a button i.e. make the t…

---

## [Adding IOErrorEventListener to TextArea](https://forum.kirupa.com/t/adding-ioerroreventlistener-to-textarea/251101)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 12:41pm UTC](https://forum.kirupa.com/t/adding-ioerroreventlistener-to-textarea/251101 "2008-02-05T12:41:48Z")

</div>

this.\_textArea.textField.loaderInfo.addEventListener(IOErrorEvent.IO\_ERROR,\_IOErrorHandler); this.\_textArea.loaderInfo.addEventListener(IOErrorEvent.IO\_ERROR,\_IOErrorHandler); gives: TypeError: Error #1009: Cannot acce…

---

## [hitTest (game developing)](https://forum.kirupa.com/t/hittest-game-developing/251100)

<div class="topic-metadata">

**Author:** [@sebba](https://forum.kirupa.com/u/sebba)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 12:41pm UTC](https://forum.kirupa.com/t/hittest-game-developing/251100 "2008-02-05T12:41:33Z")

</div>

Me and a friend are making a game in actionscript 3. It's a typical horizontally-scrolling spaceshooter, only with a viking theme. We are having some trouble getting the enemies to disappear when they are hit by the d…

---

## [Form field validation and ASP](https://forum.kirupa.com/t/form-field-validation-and-asp/251094)

<div class="topic-metadata">

**Author:** [@postman1](https://forum.kirupa.com/u/postman1)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 11:46am UTC](https://forum.kirupa.com/t/form-field-validation-and-asp/251094 "2008-02-05T11:46:57Z")

</div>

Hello I have a simple Flash contact form with name,email, message, etc fields and would like ASP - not Flash - to validate the fields. So if a site visitor completes the form and presses 'submit' while having omitted t…

---

## [Preloading several swfs?](https://forum.kirupa.com/t/preloading-several-swfs/251092)

<div class="topic-metadata">

**Author:** [@handemmet](https://forum.kirupa.com/u/handemmet)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 11:08am UTC](https://forum.kirupa.com/t/preloading-several-swfs/251092 "2008-02-05T11:08:03Z")

</div>

Hi I'm buiding a big site using several swfs but I want all of them preloaded at the first page so there's no delay when going through the site. How do I do this? Is there any fla examples out there which I can use a…

---

## [Video class getting confused about which dimensions to use](https://forum.kirupa.com/t/video-class-getting-confused-about-which-dimensions-to-use/251090)

<div class="topic-metadata">

**Author:** [@caveboy](https://forum.kirupa.com/u/caveboy)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 9:51am UTC](https://forum.kirupa.com/t/video-class-getting-confused-about-which-dimensions-to-use/251090 "2008-02-05T09:51:13Z")

</div>

I'm having a very bizarre problem with the Video class. I had this issue in a large project but managed to reproduce the problem in four lines of code var videoA:Video = new Video( 123, 123 ); trace( \[ videoA.width, v…

---

## [List component with links!](https://forum.kirupa.com/t/list-component-with-links/251075)

<div class="topic-metadata">

**Author:** [@stealthcloak](https://forum.kirupa.com/u/stealthcloak)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 6:53am UTC](https://forum.kirupa.com/t/list-component-with-links/251075 "2008-02-05T06:53:15Z")

</div>

I’m trying to make a list component in flash 8 have a links in them. So far I have this Actionscript in the main timeline for the component. I named the List component on the stage as “list” var listener:Object = new …

---

## [Stop actions won't work?](https://forum.kirupa.com/t/stop-actions-wont-work/251067)

<div class="topic-metadata">

**Author:** [@keano](https://forum.kirupa.com/u/keano)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 4:03am UTC](https://forum.kirupa.com/t/stop-actions-wont-work/251067 "2008-02-05T04:03:14Z")

</div>

I hav e amovie with 3 frames I have a stop action on each and it just won't stop. It does in the beginning but after using buttons it just gets nutz and goes at its own will? Frustrated!!

---

## [AS2\_Newbie Needs Help with Vertical and Horizontal Scrolling](https://forum.kirupa.com/t/as2-newbie-needs-help-with-vertical-and-horizontal-scrolling/251063)

<div class="topic-metadata">

**Author:** [@78BanditTA](https://forum.kirupa.com/u/78BanditTA)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 3:18am UTC](https://forum.kirupa.com/t/as2-newbie-needs-help-with-vertical-and-horizontal-scrolling/251063 "2008-02-05T03:18:59Z")

</div>

Hi everyone, I'm working on a software tutorial that requires me to have both vertical and horizontal scrolling. I downloaded the "Simple Custom Scrollbar" tutorial from this site and I'm trying to add the horizontal scr…

---

## [Changing alpha](https://forum.kirupa.com/t/changing-alpha/251057)

<div class="topic-metadata">

**Author:** [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:29am UTC](https://forum.kirupa.com/t/changing-alpha/251057 "2008-02-05T01:29:41Z")

</div>

onEnterFrame = function () { box\_mc.\_alpha -= 5; if (box\_mc.\_alpha == 0) { box\_mc.\_alpha += 5; } } HERE IS A SIMPLE CODE THAT I HAVE ON THE MAIN TIMELINE, THE ALPHA GOES DOES DOWN BUT IT DOES NOT INCREASE WHEN THE T…

---

## [Convert bytesLoaded to secondsLoaded](https://forum.kirupa.com/t/convert-bytesloaded-to-secondsloaded/251055)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 1:00am UTC](https://forum.kirupa.com/t/convert-bytesloaded-to-secondsloaded/251055 "2008-02-05T01:00:08Z")

</div>

I I have a video that is 303 seconds long @ 15fps. Using setInterval I would like to calculate how many esimated "seconds" are downloaded based on how many bytes have been downloaded. Is this possible?

---

## [Unacceptable behaivor of TextArea](https://forum.kirupa.com/t/unacceptable-behaivor-of-textarea/251050)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 10:57pm UTC](https://forum.kirupa.com/t/unacceptable-behaivor-of-textarea/251050 "2008-02-04T22:57:26Z")

</div>

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at fl.controls::UIScrollBar/handleTargetScroll() at flash.text::TextField/setTextFormat() at fl.controls::TextArea/d…

---

## [Necesity of policy file?](https://forum.kirupa.com/t/necesity-of-policy-file/251049)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 10:39pm UTC](https://forum.kirupa.com/t/necesity-of-policy-file/251049 "2008-02-04T22:39:34Z")

</div>

Do i always need a policy file to load external images? In Flash IDE all is fine, but after checking in browser images won't resize... (ooops I haven't tried SecurityErrorEvent listener... oh, I did! try..catch has throw…

---

## [Parameter bug remains in AS2 but solved in AS3](https://forum.kirupa.com/t/parameter-bug-remains-in-as2-but-solved-in-as3/251048)

<div class="topic-metadata">

**Author:** [@CarlLooper](https://forum.kirupa.com/u/CarlLooper)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 10:32pm UTC](https://forum.kirupa.com/t/parameter-bug-remains-in-as2-but-solved-in-as3/251048 "2008-02-04T22:32:45Z")

</div>

The following works in AS3 but produces a compiler complaint in AS2 function test(a:Number, A:Number) { trace(a); trace(A); } The AS2 compiler misreads 'a' and 'A' as the same identifier - complaining with: …

---

## [Passing a Variable into a URL link - is is possible?](https://forum.kirupa.com/t/passing-a-variable-into-a-url-link-is-is-possible/251047)

<div class="topic-metadata">

**Author:** [@sv3](https://forum.kirupa.com/u/sv3)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 10:24pm UTC](https://forum.kirupa.com/t/passing-a-variable-into-a-url-link-is-is-possible/251047 "2008-02-04T22:24:30Z")

</div>

I've been assigned to make an application like this link... http://www.porsche.com/all/comparemodels/Select.aspx Except with flash. So far - no luck in finding how this is done in flash. I'm thinking they used .as…

---

## [Error when I test movie. Flash file (Mobile)](https://forum.kirupa.com/t/error-when-i-test-movie-flash-file-mobile/251043)

<div class="topic-metadata">

**Author:** [@Gabi](https://forum.kirupa.com/u/Gabi)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 9:45pm UTC](https://forum.kirupa.com/t/error-when-i-test-movie-flash-file-mobile/251043 "2008-02-04T21:45:25Z")

</div>

I create a mini game for my mobile phone ,but when I test movie I get this error when I create a Flash File (Mobile). " You must export your movie as Flash 5 to use this action " . This is a "generic" error every …

---

## [PRELOADER for EXTERNAL XML files](https://forum.kirupa.com/t/preloader-for-external-xml-files/251039)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 8:32pm UTC](https://forum.kirupa.com/t/preloader-for-external-xml-files/251039 "2008-02-04T20:32:56Z")

</div>

im loading images into flash from different external XML files. it takes time to load images into the flash- how do i create a PRELOADER for EXTERNAL XML files. any ideas? please help.

---

## [Flash/XML Photo Gallery](https://forum.kirupa.com/t/flash-xml-photo-gallery/251037)

<div class="topic-metadata">

**Author:** [@benjohns](https://forum.kirupa.com/u/benjohns)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 8:14pm UTC](https://forum.kirupa.com/t/flash-xml-photo-gallery/251037 "2008-02-04T20:14:25Z")

</div>

Please Help!!!! I'm trying to modify the "transition speed" of the frames of a flash/xml project that I found here, http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm. I have modified the .fla file be…

---

## [Simple question/request](https://forum.kirupa.com/t/simple-question-request/251034)

<div class="topic-metadata">

**Author:** [@Abvex](https://forum.kirupa.com/u/Abvex)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 7:24pm UTC](https://forum.kirupa.com/t/simple-question-request/251034 "2008-02-04T19:24:50Z")

</div>

Hi This is probably really simple, but I need some help getting started. We have all seen it, those flash storyboards on games/entertainment sites featuring their top stories. Such as ign.com or gametrailers.com. …

---

## [Snapping rectangles with ALL corners?](https://forum.kirupa.com/t/snapping-rectangles-with-all-corners/251031)

<div class="topic-metadata">

**Author:** [@zeppelinstudios](https://forum.kirupa.com/u/zeppelinstudios)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 7:01pm UTC](https://forum.kirupa.com/t/snapping-rectangles-with-all-corners/251031 "2008-02-04T19:01:04Z")

</div>

ello. I'm creating a little 2D interface for a 'modular furniture system' I designed for school (I study architecture). It consists of several different rectangles that can be dragged anywhere on stage and can be place…

---

## [Problem with Loadmovie](https://forum.kirupa.com/t/problem-with-loadmovie/251019)

<div class="topic-metadata">

**Author:** [@idark](https://forum.kirupa.com/u/idark)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 5:21pm UTC](https://forum.kirupa.com/t/problem-with-loadmovie/251019 "2008-02-04T17:21:38Z")

</div>

Righty I have created two Fla. files. One called "Gallery" and one Called "Videos" I have this section in my gallery file where you can watch flv. videos. Simple. So I created a new file called Videos.fla I made my scr…

---

## [Transitions between External SWF.s question](https://forum.kirupa.com/t/transitions-between-external-swf-s-question/251018)

<div class="topic-metadata">

**Author:** [@pupu](https://forum.kirupa.com/u/pupu)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 5:20pm UTC](https://forum.kirupa.com/t/transitions-between-external-swf-s-question/251018 "2008-02-04T17:20:49Z")

</div>

Hi there ! I have followed the tutorial on the transition between external swf. The problem i have is i cant get anything to load. I have buttons, and every button has an effect with actionscript in them, they are tur…

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

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