# programming

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

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

**Page:** 1752

---

## [Designer AS help](https://forum.kirupa.com/t/designer-as-help/223626)

<div class="topic-metadata">

**Author:** [@jamespg](https://forum.kirupa.com/u/jamespg)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 2:23pm UTC](https://forum.kirupa.com/t/designer-as-help/223626 "2007-04-24T14:23:04Z")

</div>

Hi Im trying to get my site going, http://www.jamespg.com/07/ Totally new to AS so the more help the best. Im trying to find out what button is getting pressed in my array and give that actions from there to make the re…

---

## [Setting datagrid column length](https://forum.kirupa.com/t/setting-datagrid-column-length/223625)

<div class="topic-metadata">

**Author:** [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 2:14pm UTC](https://forum.kirupa.com/t/setting-datagrid-column-length/223625 "2007-04-24T14:14:19Z")

</div>

Hey all, I have 2 columns in a datagrid. Is it possible to set the 1st column's length? If so, can anyone give me direction on how to do this? Thanks!

---

## [Variables, XML, naming help!](https://forum.kirupa.com/t/variables-xml-naming-help/223624)

<div class="topic-metadata">

**Author:** [@p\_due18](https://forum.kirupa.com/u/p_due18)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:56pm UTC](https://forum.kirupa.com/t/variables-xml-naming-help/223624 "2007-04-24T13:56:31Z")

</div>

Hi Guys, I'm stuck! I'm trying to do some stuff with XML and variables. What I'm stuck doing is being able to use the \* from an XML file and using this to reference to a variable. Declare variables: var myNumber …

---

## [.flv question](https://forum.kirupa.com/t/flv-question/223623)

<div class="topic-metadata">

**Author:** [@chrisisjargon](https://forum.kirupa.com/u/chrisisjargon)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:50pm UTC](https://forum.kirupa.com/t/flv-question/223623 "2007-04-24T13:50:28Z")

</div>

hi all not to hot on the .flv extension other than i know its a flash movie format, just wondered if it is possible to generate a .flv file that is effectivly a slide show of a few images if so how do i do it. the r…

---

## [attachMovie and components](https://forum.kirupa.com/t/attachmovie-and-components/223620)

<div class="topic-metadata">

**Author:** [@grptx](https://forum.kirupa.com/u/grptx)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:31pm UTC](https://forum.kirupa.com/t/attachmovie-and-components/223620 "2007-04-24T13:31:29Z")

</div>

hi all, i've a problem with components and attachMovie. this is my simple test code: var mc:MovieClip; for (var i = 0; i\<5; i++) { mc = attachMovie("mc", "mc"+i, i, {\_x:200, \_y:i\*150}); mc.testo.text = "plp"+i…

---

## [Can FileReference return variables from ASP?](https://forum.kirupa.com/t/can-filereference-return-variables-from-asp/223618)

<div class="topic-metadata">

**Author:** [@Martz](https://forum.kirupa.com/u/Martz)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:16pm UTC](https://forum.kirupa.com/t/can-filereference-return-variables-from-asp/223618 "2007-04-24T13:16:24Z")

</div>

OK, to set the scene I am using FileReference to upload video files as per the tutorial on Kirupa, apart from the fact that i've adapted to use ASP instead of PHP. This works fine.. first hurdle accomplished \[smiley\] …

---

## [Exploding bird](https://forum.kirupa.com/t/exploding-bird/223617)

<div class="topic-metadata">

**Author:** [@88635csi](https://forum.kirupa.com/u/88635csi)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:15pm UTC](https://forum.kirupa.com/t/exploding-bird/223617 "2007-04-24T13:15:17Z")

</div>

Hello! I have an animation of a bird flying that starts when the "our work" button on our site is rolled over. I would like to make this bird explode somehow, where ever he is atthetime, when the button is released....th…

---

## [Strange Bug in Flash Player 8/9 on Mac](https://forum.kirupa.com/t/strange-bug-in-flash-player-8-9-on-mac/223612)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 11:34am UTC](https://forum.kirupa.com/t/strange-bug-in-flash-player-8-9-on-mac/223612 "2007-04-24T11:34:18Z")

</div>

I have this Script: if (\_root.mode == 2) { lader = new LoadVars(); lader.id = \_root.id; lader.window = \_root.window; lader.laps = \_root.rounds; lader.time = \_root.Gesamtzeit; lader.realtime = \_…

---

## [duplicateMovieClip in Flash 8](https://forum.kirupa.com/t/duplicatemovieclip-in-flash-8/223610)

<div class="topic-metadata">

**Author:** [@deluxmilkman](https://forum.kirupa.com/u/deluxmilkman)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 10:48am UTC](https://forum.kirupa.com/t/duplicatemovieclip-in-flash-8/223610 "2007-04-24T10:48:29Z")

</div>

the following script works in MX, but not in 8. duplicateMovieClip("star", "star"+i, +i); setProperty("star"+i, \_rotation, Math.random()\*360 ); setProperty("star"+i, \_xscale, Math.random()\*60 ); setProperty("star"+i, …

---

## [3 combos 3 variables 3 conditions in php sql query](https://forum.kirupa.com/t/3-combos-3-variables-3-conditions-in-php-sql-query/223603)

<div class="topic-metadata">

**Author:** [@mazzamuz](https://forum.kirupa.com/u/mazzamuz)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 9:42am UTC](https://forum.kirupa.com/t/3-combos-3-variables-3-conditions-in-php-sql-query/223603 "2007-04-24T09:42:30Z")

</div>

hello I am nearing the end of a rather complex swf. attached fla(zipped) The though process is the user selects values from 3 comboboxes each populated by an XML Connector Either on the change event or on clicking a …

---

## [Book Slide /flipping page effect](https://forum.kirupa.com/t/book-slide-flipping-page-effect/223601)

<div class="topic-metadata">

**Author:** [@claudinho](https://forum.kirupa.com/u/claudinho)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 8:26am UTC](https://forum.kirupa.com/t/book-slide-flipping-page-effect/223601 "2007-04-24T08:26:11Z")

</div>

Hi! anyone who might know where I can get a hold of a tutorial to make one of those book slides with the flipping page effect? thanx!!

---

## [Preloader AS, Please Help Before I have a Nervous Breakdown](https://forum.kirupa.com/t/preloader-as-please-help-before-i-have-a-nervous-breakdown/223600)

<div class="topic-metadata">

**Author:** [@AlliNic](https://forum.kirupa.com/u/AlliNic)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 7:30am UTC](https://forum.kirupa.com/t/preloader-as-please-help-before-i-have-a-nervous-breakdown/223600 "2007-04-24T07:30:56Z")

</div>

April 24th, 2007 Hello Flash Guru's I am having a fit trying to make a preloader work at all. Admittedly, I am more attuned to making things look pretty, but I am really trying hard to learn to become an AS geek. An…

---

## [Draw background problem](https://forum.kirupa.com/t/draw-background-problem/223595)

<div class="topic-metadata">

**Author:** [@JohnPopes](https://forum.kirupa.com/u/JohnPopes)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 5:01am UTC](https://forum.kirupa.com/t/draw-background-problem/223595 "2007-04-24T05:01:58Z")

</div>

hey i want to have a background grid so i came up with this: this.createEmptyMovieClip("bg", 9999); bg.\_visible = true; var startHeight:Number = 4; var startWidth:Number = 4; function drawBG() { //bg.beginFill(0xffff…

---

## [Photo Slider Menu](https://forum.kirupa.com/t/photo-slider-menu/223590)

<div class="topic-metadata">

**Author:** [@rhohman](https://forum.kirupa.com/u/rhohman)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 4:32am UTC](https://forum.kirupa.com/t/photo-slider-menu/223590 "2007-04-24T04:32:59Z")

</div>

Hey, I'm building a photo slide menu, where there are 17 images inside one move clip. The action on the movie clip is... onClipEvent(load) { pic = 17; totalpics = 17; } onClipEvent (enterFrame) { //t…

---

## [Tween Class help](https://forum.kirupa.com/t/tween-class-help/223586)

<div class="topic-metadata">

**Author:** [@thestrikeof59](https://forum.kirupa.com/u/thestrikeof59)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 3:16am UTC](https://forum.kirupa.com/t/tween-class-help/223586 "2007-04-24T03:16:10Z")

</div>

Is there an easy way to code something, using the tween class, to go back to its native size after being scaled down using the tween class? I checked the tutorial on the site and couldn't find any information on this. T…

---

## [URGENT: menu buttons wont work](https://forum.kirupa.com/t/urgent-menu-buttons-wont-work/223582)

<div class="topic-metadata">

**Author:** [@JohnPopes](https://forum.kirupa.com/u/JohnPopes)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 2:09am UTC](https://forum.kirupa.com/t/urgent-menu-buttons-wont-work/223582 "2007-04-24T02:09:33Z")

</div>

hey i have this rectangular menu that's positioned on the bottom of the stage, just 20 pixels above \[it's 170 height so 150 arent visible\]. when i rollover the mouse the menu rises showing the buttons, and hides if i rol…

---

## [Photogallery with thumbnail problem](https://forum.kirupa.com/t/photogallery-with-thumbnail-problem/223581)

<div class="topic-metadata">

**Author:** [@aerob](https://forum.kirupa.com/u/aerob)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:55am UTC](https://forum.kirupa.com/t/photogallery-with-thumbnail-problem/223581 "2007-04-24T01:55:20Z")

</div>

i recently used the kirupa tutorial for creating a gallery flash mx with thumbnails, i was using it for a portfolio so have several sections such as a design section and a photo section each with its own gallery inside o…

---

## [Reverse Button Effect](https://forum.kirupa.com/t/reverse-button-effect/223580)

<div class="topic-metadata">

**Author:** [@Layoric](https://forum.kirupa.com/u/Layoric)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:45am UTC](https://forum.kirupa.com/t/reverse-button-effect/223580 "2007-04-24T01:45:03Z")

</div>

\[FONT=Arial\]I need help with a movie clip used in a button.\[/FONT\] \[FONT=Arial\] \[/FONT\] \[FONT=Arial\]I have a magazine draw on a webpage with a button over the magazine. The hit state is the size of the magazine so when y…

---

## [FileReference.upload tinkering](https://forum.kirupa.com/t/filereference-upload-tinkering/223579)

<div class="topic-metadata">

**Author:** [@dmerino](https://forum.kirupa.com/u/dmerino)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:41am UTC](https://forum.kirupa.com/t/filereference-upload-tinkering/223579 "2007-04-24T01:41:01Z")

</div>

I was wondering if anyone knows how to change the names of the elements sent in the POST method for FileReference.upload(). Currently it sends... \[LIST\] \[\*\]A Content-Type element of multipart/form-data \[\*\]A Content-Dis…

---

## [Flash Remoting Issue](https://forum.kirupa.com/t/flash-remoting-issue/223578)

<div class="topic-metadata">

**Author:** [@joaodelima](https://forum.kirupa.com/u/joaodelima)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:16am UTC](https://forum.kirupa.com/t/flash-remoting-issue/223578 "2007-04-24T01:16:21Z")

</div>

Hello, I am using Flash Remoting, ColdFusion, and SQL Server for a project at work. The communication between the SWF file and database works for the vast majority of times. Yet some users say they can’t use the system…

---

## [Next Track/Previous Track](https://forum.kirupa.com/t/next-track-previous-track/223577)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:16am UTC](https://forum.kirupa.com/t/next-track-previous-track/223577 "2007-04-24T01:16:18Z")

</div>

I've got a bunch of songs that I'm playing in a movie. All of the songs get created with the Sound Object first. I created an array to keep track of the songs. I want to use the array to trigger a next track and previous…

---

## [Horizontal Volume Slider](https://forum.kirupa.com/t/horizontal-volume-slider/223576)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:13am UTC](https://forum.kirupa.com/t/horizontal-volume-slider/223576 "2007-04-24T01:13:12Z")

</div>

I've got a simple vertical volume slider working, now I want to convert it to a horizontal one. The code on the button won't change. on (press) { startDrag ("", false, left, top, right, bottom); dragging = true; } …

---

## [Sending Javascript to VBScript... impossible?](https://forum.kirupa.com/t/sending-javascript-to-vbscript-impossible/223575)

<div class="topic-metadata">

**Author:** [@LXNDR](https://forum.kirupa.com/u/LXNDR)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 1:11am UTC](https://forum.kirupa.com/t/sending-javascript-to-vbscript-impossible/223575 "2007-04-24T01:11:27Z")

</div>

I have remarkable javascript application that runs excellently on Client-Side, however when all is said and done, I cannot figure out how to send the javascript user outputs to the server! Does anyone have a brilliant i…

---

## [Page transitions question](https://forum.kirupa.com/t/page-transitions-question/223571)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 12:36am UTC](https://forum.kirupa.com/t/page-transitions-question/223571 "2007-04-24T00:36:15Z")

</div>

i am trying to make a portfolio-like page.. i have all the buttons ready, now all i need is to make the swf's for the images.. i would like it to load, transition in, and transition out.. how do i go about doing that? do…

---

## [AS typewrite effect with dynamic Text(FORMAT Q)](https://forum.kirupa.com/t/as-typewrite-effect-with-dynamic-text-format-q/223570)

<div class="topic-metadata">

**Author:** [@joran420](https://forum.kirupa.com/u/joran420)\
**Replies:** 0\
**Last updated:** [April 24, 2007, 12:18am UTC](https://forum.kirupa.com/t/as-typewrite-effect-with-dynamic-text-format-q/223570 "2007-04-24T00:18:42Z")

</div>

I know how to make a type writer effect ...Im having trouble adding textFormat to it as it types though each time a new letter is added it clears the Formatting...does anyone know a way around this? I tried using htmlT…

---

## [Assigning picture and variable to an item of an array](https://forum.kirupa.com/t/assigning-picture-and-variable-to-an-item-of-an-array/223568)

<div class="topic-metadata">

**Author:** [@badmonur](https://forum.kirupa.com/u/badmonur)\
**Replies:** 0\
**Last updated:** [April 23, 2007, 11:52pm UTC](https://forum.kirupa.com/t/assigning-picture-and-variable-to-an-item-of-an-array/223568 "2007-04-23T23:52:23Z")

</div>

Three part question for all you geniouses out there. Say I have an array and some pictures in my libriary. \[?\] \<--picture of banana food=\[banana, cookies, tofu\]; and I make some general variables weight=0 size=0 C…

---

## [Please help me make dynamic bar graph](https://forum.kirupa.com/t/please-help-me-make-dynamic-bar-graph/223567)

<div class="topic-metadata">

**Author:** [@eysikal](https://forum.kirupa.com/u/eysikal)\
**Replies:** 0\
**Last updated:** [April 23, 2007, 11:50pm UTC](https://forum.kirupa.com/t/please-help-me-make-dynamic-bar-graph/223567 "2007-04-23T23:50:25Z")

</div>

I'm trying to do a dynamic bar graph like THIS. I'm trying to conceptualize how I would go about doing this in Flash. My first thought was to create a MovieClip with exacty 100 frames. The first frame would look like…

---

## [FLASH 8 - Preloader for Dynamically loading images](https://forum.kirupa.com/t/flash-8-preloader-for-dynamically-loading-images/223566)

<div class="topic-metadata">

**Author:** [@mpot](https://forum.kirupa.com/u/mpot)\
**Replies:** 0\
**Last updated:** [April 23, 2007, 11:35pm UTC](https://forum.kirupa.com/t/flash-8-preloader-for-dynamically-loading-images/223566 "2007-04-23T23:35:23Z")

</div>

So I have a current flash file that has external swf's loading into a "container" clip. Inside those swf's are dynamically loading jpegs. All of this is working really smoothly except for the problem that the jpegs are a…

---

## [Appearing text](https://forum.kirupa.com/t/appearing-text/223565)

<div class="topic-metadata">

**Author:** [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Replies:** 0\
**Last updated:** [April 23, 2007, 11:18pm UTC](https://forum.kirupa.com/t/appearing-text/223565 "2007-04-23T23:18:38Z")

</div>

Does anyone know how the text in the story section of SOTW scrolls on like that? It's a pretty cool effect that I wouldn't mind having something similar to.

---

## [Walking?](https://forum.kirupa.com/t/walking/223559)

<div class="topic-metadata">

**Author:** [@Robin105](https://forum.kirupa.com/u/Robin105)\
**Replies:** 0\
**Last updated:** [April 23, 2007, 10:17pm UTC](https://forum.kirupa.com/t/walking/223559 "2007-04-23T22:17:00Z")

</div>

How do I make an scripted animation \[frowning\] ... When I ask for that I just want to know how you can make a persons feet move when you HOLD down Left and Right. Example, I have an animation thats 6 frames long, and…

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

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