# programming

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

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

**Page:** 1308

---

## [Auto Php email script](https://forum.kirupa.com/t/auto-php-email-script/255573)

<div class="topic-metadata">

**Author:** [@j5uh](https://forum.kirupa.com/u/j5uh)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:52pm UTC](https://forum.kirupa.com/t/auto-php-email-script/255573 "2008-03-24T21:52:15Z")

</div>

Does anyone have a simple php emailing script that will send emails to list when triggered by cron jobs? or any other way?

---

## [External Movie Clip Button Overlap](https://forum.kirupa.com/t/external-movie-clip-button-overlap/255571)

<div class="topic-metadata">

**Author:** [@ageshi](https://forum.kirupa.com/u/ageshi)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:19pm UTC](https://forum.kirupa.com/t/external-movie-clip-button-overlap/255571 "2008-03-24T21:19:22Z")

</div>

Hey everyone, I've googled and searched this forum but the solutions don't seem to resolve my issue. I have a main Flash movie with buttons that calls in an external movie clip with buttons like so: empty.loadMovie(…

---

## [Auto Email to mass list with latest file (PHP)](https://forum.kirupa.com/t/auto-email-to-mass-list-with-latest-file-php/255570)

<div class="topic-metadata">

**Author:** [@j5uh](https://forum.kirupa.com/u/j5uh)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:18pm UTC](https://forum.kirupa.com/t/auto-email-to-mass-list-with-latest-file-php/255570 "2008-03-24T21:18:56Z")

</div>

As the title says, I'm looking for a way to automatically have the process run itself. Must be written in PHP File will be loaded to the server \> Script automates mass emails to send the file to everyone who's on the …

---

## [Problem with values in a text box flash 8 (as2)](https://forum.kirupa.com/t/problem-with-values-in-a-text-box-flash-8-as2/255569)

<div class="topic-metadata">

**Author:** [@saturni07](https://forum.kirupa.com/u/saturni07)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 9:04pm UTC](https://forum.kirupa.com/t/problem-with-values-in-a-text-box-flash-8-as2/255569 "2008-03-24T21:04:34Z")

</div>

Hi , can you help me please? I have a text box in which the user can add only numbers, in my program also i have a static text box in which a have written a text. The problem is that every character used in the stati…

---

## [Expandable list menu](https://forum.kirupa.com/t/expandable-list-menu/255567)

<div class="topic-metadata">

**Author:** [@irishcash33](https://forum.kirupa.com/u/irishcash33)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 8:57pm UTC](https://forum.kirupa.com/t/expandable-list-menu/255567 "2008-03-24T20:57:57Z")

</div>

Hi I would like to have my menu be smaller in width, and when clicked, the list will expand horizontal to fit the list items. Right now the menu has all this dead space to the right of it. It should be the width of "sele…

---

## [TextField setTextFormat() method](https://forum.kirupa.com/t/textfield-settextformat-method/255565)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 8:33pm UTC](https://forum.kirupa.com/t/textfield-settextformat-method/255565 "2008-03-24T20:33:43Z")

</div>

When I have a line of text in a TextField with portions of the text having different fonts, it seems to be breaking the text where the font changes. So, if I have "Hello World" and Hello is Font A and World is Font B, i…

---

## [... a good tutorial to components creation?](https://forum.kirupa.com/t/a-good-tutorial-to-components-creation/255564)

<div class="topic-metadata">

**Author:** [@LeonardoZimbres](https://forum.kirupa.com/u/LeonardoZimbres)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 8:33pm UTC](https://forum.kirupa.com/t/a-good-tutorial-to-components-creation/255564 "2008-03-24T20:33:32Z")

</div>

:luigi: Somebody know a good tutorial that teaches how to create components, in as 3.0 and well, with good practices?

---

## [How to put flash files together into a webpage?](https://forum.kirupa.com/t/how-to-put-flash-files-together-into-a-webpage/255559)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 7:41pm UTC](https://forum.kirupa.com/t/how-to-put-flash-files-together-into-a-webpage/255559 "2008-03-24T19:41:40Z")

</div>

Hi! What I don't understand is what I'm supposed to do within the .swf, and what I'm supposed to do with html. Lets say I want to build a flash site with a menu which never reloads and which buttons open different "…

---

## [Nest an accordian component in another accordian problem](https://forum.kirupa.com/t/nest-an-accordian-component-in-another-accordian-problem/255556)

<div class="topic-metadata">

**Author:** [@AGKbrian](https://forum.kirupa.com/u/AGKbrian)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 7:02pm UTC](https://forum.kirupa.com/t/nest-an-accordian-component-in-another-accordian-problem/255556 "2008-03-24T19:02:16Z")

</div>

So what i am trying to do is nest an accordion component inside another accordion. I can get it to work in that they both show up. My problem lies with the 2nd accordion inside, i cant figure out where i need to set the…

---

## [Stupid displayList problem: Sprites added to Sprites appear as "not found..."](https://forum.kirupa.com/t/stupid-displaylist-problem-sprites-added-to-sprites-appear-as-not-found/255555)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:46pm UTC](https://forum.kirupa.com/t/stupid-displaylist-problem-sprites-added-to-sprites-appear-as-not-found/255555 "2008-03-24T18:46:36Z")

</div>

I'm creating an unholy mess of sprites because I clearly hate myself. With that out of the way, here's what I'm running into. I've created a class that in turn generates a bunch of sprites for itself. This all works as…

---

## [Edit Text in scroll bar](https://forum.kirupa.com/t/edit-text-in-scroll-bar/255553)

<div class="topic-metadata">

**Author:** [@Azoteone](https://forum.kirupa.com/u/Azoteone)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:36pm UTC](https://forum.kirupa.com/t/edit-text-in-scroll-bar/255553 "2008-03-24T18:36:50Z")

</div>

Hi Everybody, i have a problem editing a text in Flash, I need a text but is so much text for the size of my escene, i need to put a scrollbar, i put a textbox in dynamic text, multiline, i put the scroll bar and it work…

---

## [Calling Flash Function on specific frame?](https://forum.kirupa.com/t/calling-flash-function-on-specific-frame/255549)

<div class="topic-metadata">

**Author:** [@Ibanez271](https://forum.kirupa.com/u/Ibanez271)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:00pm UTC](https://forum.kirupa.com/t/calling-flash-function-on-specific-frame/255549 "2008-03-24T18:00:10Z")

</div>

I have a function declaration on frame 1. Is there any way to call this function from frame 1 but use information on lets say frame 3? For ex. Frame 1: function getTSText() { var TS:TextSnapshot = this.textSnap…

---

## [What is the best way for a seamless animation?](https://forum.kirupa.com/t/what-is-the-best-way-for-a-seamless-animation/255546)

<div class="topic-metadata">

**Author:** [@scott1969](https://forum.kirupa.com/u/scott1969)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:44pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-for-a-seamless-animation/255546 "2008-03-24T17:44:26Z")

</div>

In the website I am developing I am trying to create a seamless cog effect. I am having difficulty getting the chain to animate seamlessly in reverse. I am also having difficulty with the synchronization of the cogs. Any…

---

## [Store Information Locally](https://forum.kirupa.com/t/store-information-locally/255544)

<div class="topic-metadata">

**Author:** [@NathanZachary](https://forum.kirupa.com/u/NathanZachary)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:21pm UTC](https://forum.kirupa.com/t/store-information-locally/255544 "2008-03-24T17:21:28Z")

</div>

I'm currently making a Flash object, which would require me to save some data locally on the Users Computer. Ive been through tons of web pages, without really finding out how to store and receive locally stored informat…

---

## [Display scene numbers](https://forum.kirupa.com/t/display-scene-numbers/255543)

<div class="topic-metadata">

**Author:** [@punky79](https://forum.kirupa.com/u/punky79)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:18pm UTC](https://forum.kirupa.com/t/display-scene-numbers/255543 "2008-03-24T17:18:27Z")

</div>

Hi, I have a flash movie that moves between seperate scenes. I want to display what scene the user is on. e.g " Scene 2 of 9" Any help would be great \[image\]

---

## [Simple button navigation in cs3](https://forum.kirupa.com/t/simple-button-navigation-in-cs3/255542)

<div class="topic-metadata">

**Author:** [@Evan70](https://forum.kirupa.com/u/Evan70)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:15pm UTC](https://forum.kirupa.com/t/simple-button-navigation-in-cs3/255542 "2008-03-24T17:15:44Z")

</div>

:ponder:I have this code: stop(); function eventResponse(evt:MouseEvent):void { gotoAndStop("one");} btn\_one.addEventListener(MouseEvent.MOUSE\_UP,eventResponse); function beventResponse(evt:MouseEvent):void…

---

## [Ordering by date in a hash array](https://forum.kirupa.com/t/ordering-by-date-in-a-hash-array/255541)

<div class="topic-metadata">

**Author:** [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:06pm UTC](https://forum.kirupa.com/t/ordering-by-date-in-a-hash-array/255541 "2008-03-24T17:06:18Z")

</div>

Hello, I'm trying to find a solution for ordering a hash array by dates. The dates are coming from a feed and are in this form: Wed, 01 Nov 2006 13:52:46 GM Does anyone know of any flash date extensions that c…

---

## [Loading mutliple files](https://forum.kirupa.com/t/loading-mutliple-files/255539)

<div class="topic-metadata">

**Author:** [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 4:59pm UTC](https://forum.kirupa.com/t/loading-mutliple-files/255539 "2008-03-24T16:59:24Z")

</div>

Hi Can anyone tell me how to load multiple files using the same loader object? Im having a quite strange problem which is very hard to explain:td: Thanks in advance

---

## [ExternalInterface actionscript to javascript in safari not working](https://forum.kirupa.com/t/externalinterface-actionscript-to-javascript-in-safari-not-working/255537)

<div class="topic-metadata">

**Author:** [@Aubreyff](https://forum.kirupa.com/u/Aubreyff)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 4:18pm UTC](https://forum.kirupa.com/t/externalinterface-actionscript-to-javascript-in-safari-not-working/255537 "2008-03-24T16:18:20Z")

</div>

I have done some testing and the method I currently am using works in : Mac: Firefox Yes Safari No PC: Firefox Yes IE Yes Above are the only browsers I am currently concerned with. I am looking for a solution tha…

---

## [cacheAsBitmap to increase performance?](https://forum.kirupa.com/t/cacheasbitmap-to-increase-performance/255530)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 3:12pm UTC](https://forum.kirupa.com/t/cacheasbitmap-to-increase-performance/255530 "2008-03-24T15:12:33Z")

</div>

I have broken down my application to the bare basics (i think)...the following link shows my application with minimal functionality...you can zoom and pan the map...no tool tips, no fancy hand cursors, barely and listene…

---

## [FLV VIDEO - return to start](https://forum.kirupa.com/t/flv-video-return-to-start/255528)

<div class="topic-metadata">

**Author:** [@ltwilley1](https://forum.kirupa.com/u/ltwilley1)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 1:15pm UTC](https://forum.kirupa.com/t/flv-video-return-to-start/255528 "2008-03-24T13:15:39Z")

</div>

I've loaded video using the flv object and ActionScript 2.0. When the video finishes playing, what method do I use to make it stop at the beginning of the video?

---

## [Mail to feature in Flash](https://forum.kirupa.com/t/mail-to-feature-in-flash/255527)

<div class="topic-metadata">

**Author:** [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 1:09pm UTC](https://forum.kirupa.com/t/mail-to-feature-in-flash/255527 "2008-03-24T13:09:50Z")

</div>

Hi, I need to send an email from flash alongwith the Subject and Body data. When i do the testing in Flash by pressing "Cntrl + Enter" and click on the email button it works properly i.e. it opens an outlook new mail…

---

## [Build a "send to a friend" in AS3](https://forum.kirupa.com/t/build-a-send-to-a-friend-in-as3/255526)

<div class="topic-metadata">

**Author:** [@dahh](https://forum.kirupa.com/u/dahh)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 1:01pm UTC](https://forum.kirupa.com/t/build-a-send-to-a-friend-in-as3/255526 "2008-03-24T13:01:03Z")

</div>

Anyone know any good tutorials or maybe can help me how I can build a "send to a friend" function to a game Im doing? Any help would be awesome!

---

## [FLVPlayback load 50% then play](https://forum.kirupa.com/t/flvplayback-load-50-then-play/255523)

<div class="topic-metadata">

**Author:** [@anthonws](https://forum.kirupa.com/u/anthonws)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 12:47pm UTC](https://forum.kirupa.com/t/flvplayback-load-50-then-play/255523 "2008-03-24T12:47:07Z")

</div>

Hello guys, My 1st post here \[smile\] I'm trying to publish a video in a way that it would only play after 50% is loaded. I'm using CS3 with AS 2.0. Here is the code that I found online and adapted: import mx.v…

---

## [Testing for Transparency](https://forum.kirupa.com/t/testing-for-transparency/255518)

<div class="topic-metadata">

**Author:** [@Enix591](https://forum.kirupa.com/u/Enix591)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 10:45am UTC](https://forum.kirupa.com/t/testing-for-transparency/255518 "2008-03-24T10:45:41Z")

</div>

Is their a way to test if all of the pixels in a rectangle are transparent. Im animating from a sprite sheet and i want the animation to stop whenever it detects no pixels, or when all of its pixels are transparent. A…

---

## [FLVPlayback fail to invoke callBack onMetaData](https://forum.kirupa.com/t/flvplayback-fail-to-invoke-callback-onmetadata/255516)

<div class="topic-metadata">

**Author:** [@maloola](https://forum.kirupa.com/u/maloola)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 10:04am UTC](https://forum.kirupa.com/t/flvplayback-fail-to-invoke-callback-onmetadata/255516 "2008-03-24T10:04:55Z")

</div>

i'm using FLVPlayback in order to load a movie. i keep getting this error: Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetStream was unable to invoke callback onMetaData. error=ReferenceError: Er…

---

## [Random Compile Problems](https://forum.kirupa.com/t/random-compile-problems/255512)

<div class="topic-metadata">

**Author:** [@ssrivera](https://forum.kirupa.com/u/ssrivera)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 7:36am UTC](https://forum.kirupa.com/t/random-compile-problems/255512 "2008-03-24T07:36:08Z")

</div>

I am working on a decent size flash project and am having random compile problems. Everything was fine till friday and then several develops all had similar problems starting at different times. Here are my two major p…

---

## [Reset button in flash 8(as2)](https://forum.kirupa.com/t/reset-button-in-flash-8-as2/255509)

<div class="topic-metadata">

**Author:** [@saturni07](https://forum.kirupa.com/u/saturni07)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:48am UTC](https://forum.kirupa.com/t/reset-button-in-flash-8-as2/255509 "2008-03-24T06:48:12Z")

</div>

Hello. Can anyone help me please? I want to make a reset button, so after the user press it on screen it can reset the values of all fields of the screen. Thanx!

---

## [UIScrollBar auto-scroll](https://forum.kirupa.com/t/uiscrollbar-auto-scroll/255508)

<div class="topic-metadata">

**Author:** [@goto](https://forum.kirupa.com/u/goto)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 6:42am UTC](https://forum.kirupa.com/t/uiscrollbar-auto-scroll/255508 "2008-03-24T06:42:45Z")

</div>

Hi everybody, Im working on a chat system based on the PHP sockets + Flash tutorial on kirupa, but translated to AS3. Everything is working fine but I have an issue with the UIScrollBar that can´t figure out. As you ca…

---

## [Simple question about the xml photogallery preloader](https://forum.kirupa.com/t/simple-question-about-the-xml-photogallery-preloader/255506)

<div class="topic-metadata">

**Author:** [@max999](https://forum.kirupa.com/u/max999)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:33am UTC](https://forum.kirupa.com/t/simple-question-about-the-xml-photogallery-preloader/255506 "2008-03-24T05:33:26Z")

</div>

Hi guys i am just trying to change the preloader bar because it seems not to show the loading at all, i am working with big pics and the bar just stays like that in the middle of the page and doesn't show progress, do i…

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

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