# programming

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

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

**Page:** 1372

---

## [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…

---

## [Installer to configure wamp+](https://forum.kirupa.com/t/installer-to-configure-wamp/251093)

<div class="topic-metadata">

**Author:** [@dpg\_105](https://forum.kirupa.com/u/dpg_105)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 11:42am UTC](https://forum.kirupa.com/t/installer-to-configure-wamp/251093 "2008-02-05T11:42:08Z")

</div>

hi ya'll, Need some help (don’t know if this is the right place though). I need to install Wamp (+Amfphp) on a client’s computer and automatically add a database and records and set some additional settings/files (plug…

---

## [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…

---

## [How to open an new windows notepad file uisnig Javasciprt](https://forum.kirupa.com/t/how-to-open-an-new-windows-notepad-file-uisnig-javasciprt/251089)

<div class="topic-metadata">

**Author:** [@Thanigaivel](https://forum.kirupa.com/u/Thanigaivel)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 9:41am UTC](https://forum.kirupa.com/t/how-to-open-an-new-windows-notepad-file-uisnig-javasciprt/251089 "2008-02-05T09:41:44Z")

</div>

Hi All How do we invoke a new windows notepad file using javascript in an html interface? If we click a button in the html interface, an notepad file will open and user can write any comments and they can save or tak…

---

## [\[php\] no error message display](https://forum.kirupa.com/t/php-no-error-message-display/251087)

<div class="topic-metadata">

**Author:** [@manfree](https://forum.kirupa.com/u/manfree)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 8:52am UTC](https://forum.kirupa.com/t/php-no-error-message-display/251087 "2008-02-05T08:52:17Z")

</div>

Dear all, I am writing some PHP script in IIS I got a problem on error message display ... like ... \<?php echo "hello world; ?\> the above script has a missing double quote... if i test run in a browser, it on…

---

## [PHP serial port data transfer](https://forum.kirupa.com/t/php-serial-port-data-transfer/251085)

<div class="topic-metadata">

**Author:** [@manfree](https://forum.kirupa.com/u/manfree)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 8:32am UTC](https://forum.kirupa.com/t/php-serial-port-data-transfer/251085 "2008-02-05T08:32:59Z")

</div>

Dear all I have visited the following site http://www.phpclasses.org/browse/package/3679.html That class provides a connection for php to send/receive data via a serial COM port And I've downloaded the class file and…

---

## [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 …

---

## [Automatic Quote Request Form PHP](https://forum.kirupa.com/t/automatic-quote-request-form-php/251074)

<div class="topic-metadata">

**Author:** [@ctdesign87](https://forum.kirupa.com/u/ctdesign87)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 6:41am UTC](https://forum.kirupa.com/t/automatic-quote-request-form-php/251074 "2008-02-05T06:41:45Z")

</div>

Hey there I'm doing a website for a printer business Didn't know if it was possible, but is there a way where a person can go to a web form and select the appropriate form parameters that end up creating a job descri…

---

## [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!!

---

## [Displaying images from a mysql database](https://forum.kirupa.com/t/displaying-images-from-a-mysql-database/251066)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 3:52am UTC](https://forum.kirupa.com/t/displaying-images-from-a-mysql-database/251066 "2008-02-05T03:52:27Z")

</div>

Hello all, php newbie here. I've set up a table in my database which holds images along with a title and description for each image. I'm trying to now display the images along with their relative titles and description…

---

## [How to raycast a curved surface (a cylinder or circle for example)](https://forum.kirupa.com/t/how-to-raycast-a-curved-surface-a-cylinder-or-circle-for-example/251065)

<div class="topic-metadata">

**Author:** [@Glidias](https://forum.kirupa.com/u/Glidias)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 3:37am UTC](https://forum.kirupa.com/t/how-to-raycast-a-curved-surface-a-cylinder-or-circle-for-example/251065 "2008-02-05T03:37:43Z")

</div>

As the question says, I need to raycast out an angle which would strike the arc of a circle to determine the distance of the ray.

---

## [HTML-based list sorting questions](https://forum.kirupa.com/t/html-based-list-sorting-questions/251064)

<div class="topic-metadata">

**Author:** [@DougOfTheAbaci](https://forum.kirupa.com/u/DougOfTheAbaci)\
**Replies:** 0\
**Last updated:** [February 5, 2008, 3:27am UTC](https://forum.kirupa.com/t/html-based-list-sorting-questions/251064 "2008-02-05T03:27:57Z")

</div>

First let me start by saying I'm more a Flash developer and web designer with only enough code skills outside of flash to get my pages up and implement other people's source. So my questions may sound stupid and I may be…

---

## [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…

---

## [Flash controller does not show up](https://forum.kirupa.com/t/flash-controller-does-not-show-up/251045)

<div class="topic-metadata">

**Author:** [@kita](https://forum.kirupa.com/u/kita)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 10:02pm UTC](https://forum.kirupa.com/t/flash-controller-does-not-show-up/251045 "2008-02-04T22:02:37Z")

</div>

Hi, I'm doing a site a bit differently to the way I normally create flash video and now I'm not sure how I can get the video controller to load. Normally when I important flash into dreamweaver it works fine, but now…

---

## [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 …

---

## [CSS Menu Caps](https://forum.kirupa.com/t/css-menu-caps/251041)

<div class="topic-metadata">

**Author:** [@Buckycat7](https://forum.kirupa.com/u/Buckycat7)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 9:07pm UTC](https://forum.kirupa.com/t/css-menu-caps/251041 "2008-02-04T21:07:08Z")

</div>

Sorry if that title is misleading, it the best I could come up with. I'm trying to "capped" the ends of a CSS menu with images that are rounded to give the menu a pill look. Here is the file I'm working on: www.erik…

---

## [No code, but somehow this works (JS/PHP)](https://forum.kirupa.com/t/no-code-but-somehow-this-works-js-php/251040)

<div class="topic-metadata">

**Author:** [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Replies:** 0\
**Last updated:** [February 4, 2008, 8:54pm UTC](https://forum.kirupa.com/t/no-code-but-somehow-this-works-js-php/251040 "2008-02-04T20:54:22Z")

</div>

\<? session\_start(); session\_register("chargeid\_session"); ?\> \<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"\> \<html\> \<head\> \<!-- Idea by: Nic Wolfe …

---

## [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. …

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

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