# programming

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

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

**Page:** 1069

---

## [How do I loop a main timeline 3 times?](https://forum.kirupa.com/t/how-do-i-loop-a-main-timeline-3-times/271532)

<div class="topic-metadata">

**Author:** [@warwi3k](https://forum.kirupa.com/u/warwi3k)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 9:05am UTC](https://forum.kirupa.com/t/how-do-i-loop-a-main-timeline-3-times/271532 "2008-09-24T09:05:28Z")

</div>

Hi, I have created a web banner and I would like to have it play three times and then stop on the last frame on the main timeline... Can anyone help this simple designer? Thanks, warwi3k

---

## [Bit of help with loadBytes](https://forum.kirupa.com/t/bit-of-help-with-loadbytes/271529)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 8:23am UTC](https://forum.kirupa.com/t/bit-of-help-with-loadbytes/271529 "2008-09-24T08:23:53Z")

</div>

Hey guys, I am trying to load Binary data into Flex. Basically, I am storing some map data as raw binary and I want to load this data into my application. To parse it, I need to get the data through loadBytes but I am…

---

## [Check dynamic text type](https://forum.kirupa.com/t/check-dynamic-text-type/271527)

<div class="topic-metadata">

**Author:** [@ben\_surya](https://forum.kirupa.com/u/ben_surya)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 7:39am UTC](https://forum.kirupa.com/t/check-dynamic-text-type/271527 "2008-09-24T07:39:57Z")

</div>

i am using C# .net display deatil in table i wants to check the type of data enterd at run time . i wants to set check only integer value enter in the text box

---

## [Multi-Line text properties](https://forum.kirupa.com/t/multi-line-text-properties/271526)

<div class="topic-metadata">

**Author:** [@Martha\_Stewart](https://forum.kirupa.com/u/Martha_Stewart)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 7:11am UTC](https://forum.kirupa.com/t/multi-line-text-properties/271526 "2008-09-24T07:11:01Z")

</div>

I am trying to find a way to write actionscript for a function that finds the length of each individual line in a paragraph then draws a background specific to each lines length.(the last part i can handle). What i don…

---

## [sendAndLoad returning 'UNDEFINED'](https://forum.kirupa.com/t/sendandload-returning-undefined/271525)

<div class="topic-metadata">

**Author:** [@rollwithit80](https://forum.kirupa.com/u/rollwithit80)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 7:01am UTC](https://forum.kirupa.com/t/sendandload-returning-undefined/271525 "2008-09-24T07:01:24Z")

</div>

Hi Guys, I have searched this forum and cant find an answer to why I keep receiving 'undefined' when receiving my loaded variables from a PHP page. I believe I am doing everything correct. For some reason it was working …

---

## [Flash CS3 + AS Gallery Glitches](https://forum.kirupa.com/t/flash-cs3-as-gallery-glitches/271521)

<div class="topic-metadata">

**Author:** [@mmak](https://forum.kirupa.com/u/mmak)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 5:13am UTC](https://forum.kirupa.com/t/flash-cs3-as-gallery-glitches/271521 "2008-09-24T05:13:51Z")

</div>

Hi, I've designed a site for a photographer and here is the page in action: http://www.kyphoto.com/work/alfano/test.html Unfortunately there are 2 questions, 1.) I created a fade so when the photo comes in, it'll hav…

---

## [Text not showing up on form](https://forum.kirupa.com/t/text-not-showing-up-on-form/271519)

<div class="topic-metadata">

**Author:** [@jabridesign](https://forum.kirupa.com/u/jabridesign)\
**Replies:** 0\
**Last updated:** [September 24, 2008, 3:25am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-form/271519 "2008-09-24T03:25:37Z")

</div>

Hello everyone. i am a graphics guywith not much experience with web design, although i made this one all on my own. i followed the tutorial from this site to apply a PHP contact form but for some reason the text i…

---

## [Relating to bandwith, file sizes and such](https://forum.kirupa.com/t/relating-to-bandwith-file-sizes-and-such/271514)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 11:44pm UTC](https://forum.kirupa.com/t/relating-to-bandwith-file-sizes-and-such/271514 "2008-09-23T23:44:36Z")

</div>

So I'm a bit confused as to the general workings of PHP (and I guess other server-side languages). Say I have a PHP file with this kind of code: \<?php if(1 + 1 == 3) { //thousands of bytes of calculations, charac…

---

## [Help with a tab system](https://forum.kirupa.com/t/help-with-a-tab-system/271512)

<div class="topic-metadata">

**Author:** [@cchrisc](https://forum.kirupa.com/u/cchrisc)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 11:18pm UTC](https://forum.kirupa.com/t/help-with-a-tab-system/271512 "2008-09-23T23:18:46Z")

</div>

Hey all.. I'm trying to make a tab system and I'm having a problem with clicking on one tab, and then having that tab call a function that resets the appearance of any other tabs that are "on" to "off" Here is basically …

---

## [Generate SWF W/ AS 3](https://forum.kirupa.com/t/generate-swf-w-as-3/271511)

<div class="topic-metadata">

**Author:** [@gphilly77](https://forum.kirupa.com/u/gphilly77)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 11:10pm UTC](https://forum.kirupa.com/t/generate-swf-w-as-3/271511 "2008-09-23T23:10:55Z")

</div>

I'm wondering how I can dynamically generate a swf file w/ AS 3 Basically, I'm providing my users w/ an image editor where they can load a selected image into a scroll pane and then using various tools such as a pencil…

---

## [Beginner needs help with Photo Portfolio](https://forum.kirupa.com/t/beginner-needs-help-with-photo-portfolio/271510)

<div class="topic-metadata">

**Author:** [@Boi](https://forum.kirupa.com/u/Boi)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 10:34pm UTC](https://forum.kirupa.com/t/beginner-needs-help-with-photo-portfolio/271510 "2008-09-23T22:34:34Z")

</div>

Hello! I have never worked with Flash before, but I know of its capabilities. And I've been struggling making a homepage with my photo portfolio. It's a simple setup, and I guess someone who knows Flash could do it in …

---

## [Flash doesn't work when integrated in JSP](https://forum.kirupa.com/t/flash-doesnt-work-when-integrated-in-jsp/271507)

<div class="topic-metadata">

**Author:** [@monkeygirl](https://forum.kirupa.com/u/monkeygirl)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 9:29pm UTC](https://forum.kirupa.com/t/flash-doesnt-work-when-integrated-in-jsp/271507 "2008-09-23T21:29:31Z")

</div>

I've created a photo gallery with flash which calls on an external xml file for the images. When I upload all pertinent files onto my server and view the swf (or the html containing the embedded swf), everything seems t…

---

## [2 or More MovieClip - Same Rollover RollOut](https://forum.kirupa.com/t/2-or-more-movieclip-same-rollover-rollout/271506)

<div class="topic-metadata">

**Author:** [@lickybuay](https://forum.kirupa.com/u/lickybuay)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 9:25pm UTC](https://forum.kirupa.com/t/2-or-more-movieclip-same-rollover-rollout/271506 "2008-09-23T21:25:37Z")

</div>

Hi people, i have a question in Actionscript 2.0. it is a way to do something like this: mc\_menu.btn\_home.onRollOver, mc\_menu.btn\_contact.onRollOver = function () { trace ("hi world"); } i want to reduce my cod…

---

## [I want to use the same Class with different MovieClips](https://forum.kirupa.com/t/i-want-to-use-the-same-class-with-different-movieclips/271505)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 9:17pm UTC](https://forum.kirupa.com/t/i-want-to-use-the-same-class-with-different-movieclips/271505 "2008-09-23T21:17:45Z")

</div>

Flash won't let me assign the same external class to two different MovieClips in my Library. What's an elegant solution to this? Imagine I have a nav system with 5 buttons. Each button is a library item and I'd like to a…

---

## [Help on optimization](https://forum.kirupa.com/t/help-on-optimization/271503)

<div class="topic-metadata">

**Author:** [@thefisl](https://forum.kirupa.com/u/thefisl)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 8:41pm UTC](https://forum.kirupa.com/t/help-on-optimization/271503 "2008-09-23T20:41:04Z")

</div>

Hey guys... got another one for you... I have a transition going on in my images but on older machines it seems to slow down and just not run so smoothly. Obviously it's a little processor intensive, so my question i…

---

## [Flash/PHP: Why does this work in Flash preview/projector, but not in a browser?](https://forum.kirupa.com/t/flash-php-why-does-this-work-in-flash-preview-projector-but-not-in-a-browser/271502)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 8:21pm UTC](https://forum.kirupa.com/t/flash-php-why-does-this-work-in-flash-preview-projector-but-not-in-a-browser/271502 "2008-09-23T20:21:42Z")

</div>

\[also posted this on Actionscript 3 forum but I'm having trouble getting a response\] I'm using the following Actionscript 3 code to generate a new text file (myFile.txt) with some text in it: Actionscript: var req…

---

## [Why does this work in preview/projector, but not in a browser?](https://forum.kirupa.com/t/why-does-this-work-in-preview-projector-but-not-in-a-browser/271501)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 8:17pm UTC](https://forum.kirupa.com/t/why-does-this-work-in-preview-projector-but-not-in-a-browser/271501 "2008-09-23T20:17:45Z")

</div>

I'm using the following code to generate a new text file (myFile.txt) with some text in it: var req:URLRequest = new URLRequest("http://localhost/workDir/save.php"); req.method = URLRequestMethod.POST; var postVars:UR…

---

## [Button controlling levels](https://forum.kirupa.com/t/button-controlling-levels/271500)

<div class="topic-metadata">

**Author:** [@Papaprime](https://forum.kirupa.com/u/Papaprime)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:57pm UTC](https://forum.kirupa.com/t/button-controlling-levels/271500 "2008-09-23T19:57:25Z")

</div>

A couple things, can someone point me to a Level tutorial? Also, what code would be needed to have a button on Level 3 control the content on level 2?

---

## [Browser URL](https://forum.kirupa.com/t/browser-url/271499)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:47pm UTC](https://forum.kirupa.com/t/browser-url/271499 "2008-09-23T19:47:37Z")

</div>

Hey guys, Is there a way to get the current browser url in actionscript? this.url returns the location of the swf file, but I literally want to grab whatever is in the address bar. The adobe docs recommend using Browse…

---

## [Papervision3D best practices?](https://forum.kirupa.com/t/papervision3d-best-practices/271498)

<div class="topic-metadata">

**Author:** [@El\_Phantom](https://forum.kirupa.com/u/El_Phantom)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:41pm UTC](https://forum.kirupa.com/t/papervision3d-best-practices/271498 "2008-09-23T19:41:01Z")

</div>

Hey everybody, I have recently started using Papervision 3D for AS3 and had a couple questions regarding best practices and some performance issues i'm having. Question 1: First, in a lot of online examples i see some …

---

## [Save A Page](https://forum.kirupa.com/t/save-a-page/271497)

<div class="topic-metadata">

**Author:** [@DeadTom](https://forum.kirupa.com/u/DeadTom)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:28pm UTC](https://forum.kirupa.com/t/save-a-page/271497 "2008-09-23T19:28:18Z")

</div>

Im new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people…

---

## [Submitting data to XLS](https://forum.kirupa.com/t/submitting-data-to-xls/271496)

<div class="topic-metadata">

**Author:** [@wheatleyweb](https://forum.kirupa.com/u/wheatleyweb)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:20pm UTC](https://forum.kirupa.com/t/submitting-data-to-xls/271496 "2008-09-23T19:20:54Z")

</div>

I asked a question in reference to this project about a week ago, but I wanted to try and reword it to see if someone might be able to help, or tell me it's not possible. Working on dashboards for economic development.…

---

## [Animation sequence with triggers](https://forum.kirupa.com/t/animation-sequence-with-triggers/271494)

<div class="topic-metadata">

**Author:** [@wolcotter](https://forum.kirupa.com/u/wolcotter)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:13pm UTC](https://forum.kirupa.com/t/animation-sequence-with-triggers/271494 "2008-09-23T19:13:40Z")

</div>

I have an animation sequence that moves an mc to 4 different points points on the stage. The the idea is to have the mc pause at each point allowing for a text bubble to pop up giving the user enough time to read them. T…

---

## [Filter content in a datagrid](https://forum.kirupa.com/t/filter-content-in-a-datagrid/271491)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 7:03pm UTC](https://forum.kirupa.com/t/filter-content-in-a-datagrid/271491 "2008-09-23T19:03:28Z")

</div>

Hello, is it possible to filter the content of a datagrid? For example, i have 50 rows in my datagrid, then i 'search' for the rows with email address coogie@kirupa.com ? Also, if i must connect to my mysql table…

---

## [CS4 presentation](https://forum.kirupa.com/t/cs4-presentation/271489)

<div class="topic-metadata">

**Author:** [@tugboat](https://forum.kirupa.com/u/tugboat)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 6:18pm UTC](https://forum.kirupa.com/t/cs4-presentation/271489 "2008-09-23T18:18:25Z")

</div>

Did anyone see the CS4 presentation? Any thoughts (other than OMG I can't believe I'm going to have to buy another version)?

---

## [Editing File Paths Writing To Disk, adding trace statements](https://forum.kirupa.com/t/editing-file-paths-writing-to-disk-adding-trace-statements/271488)

<div class="topic-metadata">

**Author:** [@walker6o9](https://forum.kirupa.com/u/walker6o9)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 6:15pm UTC](https://forum.kirupa.com/t/editing-file-paths-writing-to-disk-adding-trace-statements/271488 "2008-09-23T18:15:12Z")

</div>

I'm using the below code to write images and other files to the user's hard drive with AIR. The problem is that it takes the whole path of the image, relative to where the image is initially (so if the image is in root/…

---

## [Advanced Collision-Detection](https://forum.kirupa.com/t/advanced-collision-detection/271485)

<div class="topic-metadata">

**Author:** [@Indyaner](https://forum.kirupa.com/u/Indyaner)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 5:18pm UTC](https://forum.kirupa.com/t/advanced-collision-detection/271485 "2008-09-23T17:18:07Z")

</div>

Hi I need a AS2(!) Class to do advanced Hittests. I've found a realy great Class for this here by gskinner. It works very well... except... its got this bug when the window was resized. In the Comments were 2 codefragm…

---

## [How do you access a frame label from a loaded movieclip?](https://forum.kirupa.com/t/how-do-you-access-a-frame-label-from-a-loaded-movieclip/271482)

<div class="topic-metadata">

**Author:** [@bencam](https://forum.kirupa.com/u/bencam)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 4:41pm UTC](https://forum.kirupa.com/t/how-do-you-access-a-frame-label-from-a-loaded-movieclip/271482 "2008-09-23T16:41:15Z")

</div>

Not much else to say, here is my code, so far: //addEventListener(MouseEvent.MOUSE\_DOWN, mousePress); addEventListener(MouseEvent.MOUSE\_UP, mouseRelease); var file; var framesArray:Array = new Array; var loader:Loader; …

---

## [How many scenes can one create in Flash CS3?](https://forum.kirupa.com/t/how-many-scenes-can-one-create-in-flash-cs3/271481)

<div class="topic-metadata">

**Author:** [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 4:37pm UTC](https://forum.kirupa.com/t/how-many-scenes-can-one-create-in-flash-cs3/271481 "2008-09-23T16:37:48Z")

</div>

Hi! I would like to know how many scenes one can create in a Flash CS3 file? Is there a maximum number? Thankful for help! Best regards JoakimN

---

## [How to embed a font dynamically and set it to anti-alias?](https://forum.kirupa.com/t/how-to-embed-a-font-dynamically-and-set-it-to-anti-alias/271480)

<div class="topic-metadata">

**Author:** [@zhangxiaorui](https://forum.kirupa.com/u/zhangxiaorui)\
**Replies:** 0\
**Last updated:** [September 23, 2008, 4:36pm UTC](https://forum.kirupa.com/t/how-to-embed-a-font-dynamically-and-set-it-to-anti-alias/271480 "2008-09-23T16:36:12Z")

</div>

Anyone knows the way to do so? I need to embed a font and the text are dynamically shown, but just some normal characters. Anyone can show me the AcitonScript code section? THanks a lot!!

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

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