# programming

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

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

**Page:** 1238

---

## [Create button in actionscript](https://forum.kirupa.com/t/create-button-in-actionscript/32946)

<div class="topic-metadata">

**Author:** [@kkrakatau](https://forum.kirupa.com/u/kkrakatau)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 3:07pm UTC](https://forum.kirupa.com/t/create-button-in-actionscript/32946 "2008-05-15T15:07:11Z")

</div>

How do I create a button & assign a value to a text box within it, in actionscript? Can I create an instance of a button from the library dynamically?

---

## [Cannot Load Symbols from External Data](https://forum.kirupa.com/t/cannot-load-symbols-from-external-data/260428)

<div class="topic-metadata">

**Author:** [@jon\_bla](https://forum.kirupa.com/u/jon_bla)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 2:35pm UTC](https://forum.kirupa.com/t/cannot-load-symbols-from-external-data/260428 "2008-05-15T14:35:57Z")

</div>

Hi I have a php that was spitting out : &sure1=99% Sure&sure2=75% Sure& the % sign doesnt load in flash or anyother symbol (like ~ or ^ ) the text box has embeded fonts (which has % sign included in it) Thanks

---

## [Splitting text across multiple textfields](https://forum.kirupa.com/t/splitting-text-across-multiple-textfields/260259)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 4\
**Last updated:** [May 15, 2008, 2:27pm UTC](https://forum.kirupa.com/t/splitting-text-across-multiple-textfields/260259 "2008-05-15T14:27:30Z")

</div>

Hey! Working with textfields in AS3 and have some musings. I´ve two textfields where I splitting a text across. \[AS\] myText1\_txt.type = "input"; myText1\_txt.htmlText = "Looong text goes here..."; myText2\_txt.type = "in…

---

## [Layer Limit?](https://forum.kirupa.com/t/layer-limit/260427)

<div class="topic-metadata">

**Author:** [@ktrieu\_5](https://forum.kirupa.com/u/ktrieu_5)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 2:26pm UTC](https://forum.kirupa.com/t/layer-limit/260427 "2008-05-15T14:26:48Z")

</div>

I'm setting up my layout in flash, by importing separate layers i've made in photoshop cs. But once i've hit the 10th layer and am adding on the 11th layer, the 1st layer dissappears and I'm not sure why. The files bei…

---

## [Stopping a function and return back to same position - help needed](https://forum.kirupa.com/t/stopping-a-function-and-return-back-to-same-position-help-needed/260424)

<div class="topic-metadata">

**Author:** [@ramamoorthi21](https://forum.kirupa.com/u/ramamoorthi21)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 2:13pm UTC](https://forum.kirupa.com/t/stopping-a-function-and-return-back-to-same-position-help-needed/260424 "2008-05-15T14:13:00Z")

</div>

Any one pls help , Friends i have a function in that movieclips color will change according to time what i need is if a specific action occurs say pressing a button (poweroff) or if the value of x==1; the function sh…

---

## [Lookin for assistance - Custom Scroll bar](https://forum.kirupa.com/t/lookin-for-assistance-custom-scroll-bar/259494)

<div class="topic-metadata">

**Author:** [@Forestknight](https://forum.kirupa.com/u/Forestknight)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 2:10pm UTC](https://forum.kirupa.com/t/lookin-for-assistance-custom-scroll-bar/259494 "2008-05-15T14:10:37Z")

</div>

Ok, yes i am new, and trying to study AS3 now, and have a site im just building to practice, so if anyone would be willing to help out that would be great, i may have a few questions, that are very simple but I want to a…

---

## [XML + AttachMovie Question](https://forum.kirupa.com/t/xml-attachmovie-question/260420)

<div class="topic-metadata">

**Author:** [@mrmike](https://forum.kirupa.com/u/mrmike)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 1:56pm UTC](https://forum.kirupa.com/t/xml-attachmovie-question/260420 "2008-05-15T13:56:35Z")

</div>

Hi, I'm making a gallery using XML data and loading the information into a mc instance that are in turn being attached to the stage via linkage id. My question is this: I need to make all of those instances fade out…

---

## [Convert a String to a Number, in an Array](https://forum.kirupa.com/t/convert-a-string-to-a-number-in-an-array/260404)

<div class="topic-metadata">

**Author:** [@spritestack](https://forum.kirupa.com/u/spritestack)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 1:43pm UTC](https://forum.kirupa.com/t/convert-a-string-to-a-number-in-an-array/260404 "2008-05-15T13:43:40Z")

</div>

Hi All, I'm trying to convert the items of an array from a String to a Number. I'm using forEach() but it doesn't seem to work... I want the trace to return 'Number'. Anyone know how I can do this. Cheers internal…

---

## [Embed Flash with javascript](https://forum.kirupa.com/t/embed-flash-with-javascript/260367)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 1:13pm UTC](https://forum.kirupa.com/t/embed-flash-with-javascript/260367 "2008-05-15T13:13:35Z")

</div>

Is it possible to embed a swf with a javascript function? Call the function from flash: on(rollOver) { getURL("javascript:insertFlash()"); } Then have a javascript function to insert the following embed code into …

---

## [Flash8 - loadMovie - set size of the movie](https://forum.kirupa.com/t/flash8-loadmovie-set-size-of-the-movie/259633)

<div class="topic-metadata">

**Author:** [@sol](https://forum.kirupa.com/u/sol)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 12:50pm UTC](https://forum.kirupa.com/t/flash8-loadmovie-set-size-of-the-movie/259633 "2008-05-15T12:50:05Z")

</div>

\[FONT=Calibri\]We have used loadMovie to load some small SWF files on a home page we have made. The swf files are in different sizes and we need to be able to set the size. How do we do this?\[/FONT\] \[FONT=Calibri\]We hop…

---

## [Buffertime is ignored completely](https://forum.kirupa.com/t/buffertime-is-ignored-completely/260411)

<div class="topic-metadata">

**Author:** [@penlix](https://forum.kirupa.com/u/penlix)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 12:32pm UTC](https://forum.kirupa.com/t/buffertime-is-ignored-completely/260411 "2008-05-15T12:32:51Z")

</div>

Hi, on Flash CS3, on a movie with AS2.0, Flash 8 export settings I am using the FLVplayback component, and I am setting the Buffering time to 10 seconds, so when viewed online the flash movie pre-buffers the flv enoug…

---

## [AS2 OOP Dynamic Page Flip](https://forum.kirupa.com/t/as2-oop-dynamic-page-flip/243819)

<div class="topic-metadata">

**Author:** [@formscape](https://forum.kirupa.com/u/formscape)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 12:27pm UTC](https://forum.kirupa.com/t/as2-oop-dynamic-page-flip/243819 "2008-05-15T12:27:19Z")

</div>

Hey people, i've just undertaken the somewhat daunting task of porting Macc's PageFlip (which we all know and love) to a \[hopefully\] tidier Class/Object-based implimentation, complete with xml/eternal content functiona…

---

## [How to declare class fields?](https://forum.kirupa.com/t/how-to-declare-class-fields/260363)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 7\
**Last updated:** [May 15, 2008, 12:20pm UTC](https://forum.kirupa.com/t/how-to-declare-class-fields/260363 "2008-05-15T12:20:46Z")

</div>

class Interface { // current group's ID private $groupID = -1; } Parse error: syntax error, unexpected T\_STRING, expecting T\_OLD\_FUNCTION or T\_FUNCTION or T\_VAR or '}' in /homepages/38/d167792529/htdocs/temp/Inter…

---

## [Last line number in TextField](https://forum.kirupa.com/t/last-line-number-in-textfield/260409)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 12:17pm UTC](https://forum.kirupa.com/t/last-line-number-in-textfield/260409 "2008-05-15T12:17:01Z")

</div>

With \[COLOR=Blue\]bottomScrollV\[/COLOR\] you got the last visible line number. But how can you get the last line number of text - invisible? I´m trying to get the text not visible in text field.

---

## [Another TextField Problem](https://forum.kirupa.com/t/another-textfield-problem/260406)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 11:15am UTC](https://forum.kirupa.com/t/another-textfield-problem/260406 "2008-05-15T11:15:53Z")

</div>

Hello I am making a text field in Flash IDe but I am filling it dynamically with data. Now I have set the bold propert in IDE but when the text loads it is not bold I can use text format to make it bold but then what i…

---

## [Interacting with external SWF](https://forum.kirupa.com/t/interacting-with-external-swf/260402)

<div class="topic-metadata">

**Author:** [@lugh000](https://forum.kirupa.com/u/lugh000)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 10:33am UTC](https://forum.kirupa.com/t/interacting-with-external-swf/260402 "2008-05-15T10:33:18Z")

</div>

Hello all! \[expressionless\] I have did a search before posting this, but could not find a simple answer to my problem. I have developed a "player" shell SWF file. It is only 1 frame long and has AS3 script inside. Th…

---

## [TI-83 Calculator Programming?](https://forum.kirupa.com/t/ti-83-calculator-programming/44892)

<div class="topic-metadata">

**Author:** [@grinch](https://forum.kirupa.com/u/grinch)\
**Replies:** 3\
**Last updated:** [May 15, 2008, 9:07am UTC](https://forum.kirupa.com/t/ti-83-calculator-programming/44892 "2008-05-15T09:07:54Z")

</div>

Hey guys, Do you any of you own a TI-83 calculator made by Texas Intsruments? If you do then you probably already know how to write programs on it? I'm just wondering, because one day I just decided to learn how to scrip…

---

## [Flash to Flex Builder3.0](https://forum.kirupa.com/t/flash-to-flex-builder3-0/260398)

<div class="topic-metadata">

**Author:** [@coolheart](https://forum.kirupa.com/u/coolheart)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 8:07am UTC](https://forum.kirupa.com/t/flash-to-flex-builder3-0/260398 "2008-05-15T08:07:22Z")

</div>

Hello, currently i am using FlashCS3(ActionScript2.0) and i want to change the entire code to FlexBuilder3.0(ActionScript3.0), the reason why i am asking is, in flash we use to write code in the different frames, but it …

---

## [Looped action on button counting up (or down)](https://forum.kirupa.com/t/looped-action-on-button-counting-up-or-down/260296)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 5\
**Last updated:** [May 15, 2008, 7:39am UTC](https://forum.kirupa.com/t/looped-action-on-button-counting-up-or-down/260296 "2008-05-15T07:39:55Z")

</div>

I'm kind of embarrassed I couldn't figure this one out, I couldn't find anything on either of the steps needed to pull this off, so I must be calling them by the wrong name or something. What I'm doing is making a key …

---

## [\[\] referencing](https://forum.kirupa.com/t/referencing/260311)

<div class="topic-metadata">

**Author:** [@kookaburra](https://forum.kirupa.com/u/kookaburra)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 7:03am UTC](https://forum.kirupa.com/t/referencing/260311 "2008-05-15T07:03:15Z")

</div>

I'm doing some work which involves square grids. I've used sprites to display the individual squares. Now my question is how can i refer to the sprites like we used to refer to movieclips in AS2 like following? this\['b…

---

## [Dynamic TextField rotation](https://forum.kirupa.com/t/dynamic-textfield-rotation/260268)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 9\
**Last updated:** [May 15, 2008, 6:44am UTC](https://forum.kirupa.com/t/dynamic-textfield-rotation/260268 "2008-05-15T06:44:37Z")

</div>

Hello I have a dynamic textfield in which I am displaying the contents when a user clicks a button. Now everything is working fine and the text is being diplayed inside the textfield but If I rotate the textfield then …

---

## [Flash cs3 to FlexBuilder3.0](https://forum.kirupa.com/t/flash-cs3-to-flexbuilder3-0/260394)

<div class="topic-metadata">

**Author:** [@coolheart](https://forum.kirupa.com/u/coolheart)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 4:35am UTC](https://forum.kirupa.com/t/flash-cs3-to-flexbuilder3-0/260394 "2008-05-15T04:35:19Z")

</div>

Hello, currently i am using FlashCS3(ActionScript2.0) and i want to change the entire code to FlexBuilder3.0(ActionScript3.0), the reason why i am asking is, in flash we use to write code in the different frames, but it …

---

## [Attach a library item to the stage with AS2](https://forum.kirupa.com/t/attach-a-library-item-to-the-stage-with-as2/260284)

<div class="topic-metadata">

**Author:** [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Replies:** 4\
**Last updated:** [May 15, 2008, 3:41am UTC](https://forum.kirupa.com/t/attach-a-library-item-to-the-stage-with-as2/260284 "2008-05-15T03:41:29Z")

</div>

Hey all, Long time since i've done this and i'm a little rusty. How do I attach a library item to the Stage using AS2?? \[LEFT\]\[AS\] Stage.attachMovie("myLogo", "myLogo", 1); \[/AS\] \[/LEFT\] Does not seem to work?? …

---

## [Help stopping jittering image](https://forum.kirupa.com/t/help-stopping-jittering-image/260384)

<div class="topic-metadata">

**Author:** [@Natushi12](https://forum.kirupa.com/u/Natushi12)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 3:03am UTC](https://forum.kirupa.com/t/help-stopping-jittering-image/260384 "2008-05-15T03:03:53Z")

</div>

Hey Everyone, I'm currently having a problem with an image that changes direction depending on the mouse movement Heres the code i'm using onMouseMove = function() { if(root.xmouse\>Stage.width/2) { fishy1.\_xscale \*…

---

## [Shared Actionscript library](https://forum.kirupa.com/t/shared-actionscript-library/260389)

<div class="topic-metadata">

**Author:** [@sv001196](https://forum.kirupa.com/u/sv001196)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 2:29am UTC](https://forum.kirupa.com/t/shared-actionscript-library/260389 "2008-05-15T02:29:46Z")

</div>

Hi I am developing an Actionscript library (bunch of Actionscript classes offered as ".as" files) offering a non-UI functionality. These are more like data structures. The users are expected to create .fla files and u…

---

## [Targeting an mc created with "createEmptyMovieClip"](https://forum.kirupa.com/t/targeting-an-mc-created-with-createemptymovieclip/260388)

<div class="topic-metadata">

**Author:** [@popp79](https://forum.kirupa.com/u/popp79)\
**Replies:** 0\
**Last updated:** [May 15, 2008, 2:18am UTC](https://forum.kirupa.com/t/targeting-an-mc-created-with-createemptymovieclip/260388 "2008-05-15T02:18:46Z")

</div>

HELP! \[expressionless\] Hello all. I'm having a horrible time trying to load an external swf into an mc created using "createEmptyMovieClip" Can someone look this over and help me out? function executeMenuAction(ac…

---

## [Manipulating images loaded using URLRequest](https://forum.kirupa.com/t/manipulating-images-loaded-using-urlrequest/260381)

<div class="topic-metadata">

**Author:** [@iscarrr](https://forum.kirupa.com/u/iscarrr)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 1:41am UTC](https://forum.kirupa.com/t/manipulating-images-loaded-using-urlrequest/260381 "2008-05-15T01:41:39Z")

</div>

Hi guys, So using AS3 I've got external images to load perfectly, the code is pretty much: pageContent.addChild(loadImage("assets/projects/fiji\_hilton/hero\_nuku\_4.jpg")); ... public function loadImage(url:String):L…

---

## [\[AS 2.0 Help\] arrays with two rows](https://forum.kirupa.com/t/as-2-0-help-arrays-with-two-rows/260373)

<div class="topic-metadata">

**Author:** [@shaunak84](https://forum.kirupa.com/u/shaunak84)\
**Replies:** 1\
**Last updated:** [May 15, 2008, 1:28am UTC](https://forum.kirupa.com/t/as-2-0-help-arrays-with-two-rows/260373 "2008-05-15T01:28:19Z")

</div>

I'm using AS 2.0 - Can anyone point me to some info on using matrices? I want to store sets of points in an array like so: arrP = \[\[0,0\],\[50,0\],\[50,50\],\[0,50\]\]; How would I declare an array like that? And do I a…

---

## [Button Click](https://forum.kirupa.com/t/button-click/260205)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 15\
**Last updated:** [May 15, 2008, 1:08am UTC](https://forum.kirupa.com/t/button-click/260205 "2008-05-15T01:08:01Z")

</div>

Hello I have created 5 movieclip buttons and added them on the stage. How can I disable the button that is clicked and enable the remaining and so on..?

---

## [Configuring APACHE](https://forum.kirupa.com/t/configuring-apache/260377)

<div class="topic-metadata">

**Author:** [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 12:32am UTC](https://forum.kirupa.com/t/configuring-apache/260377 "2008-05-15T00:32:32Z")

</div>

Hi there, I've recently installed apache- and it works- I'm trying to switch directories, so currently the index of my website (paciber.shidler.hawaii.edu) but its local directory is in the apache folder \[C:\\Program File…

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

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