# programming

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

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

**Page:** 1232

---

## [Dynamic (Liquid) Canvas Size](https://forum.kirupa.com/t/dynamic-liquid-canvas-size/260813)

<div class="topic-metadata">

**Author:** [@rehan123](https://forum.kirupa.com/u/rehan123)\
**Replies:** 0\
**Last updated:** [May 20, 2008, 5:13am UTC](https://forum.kirupa.com/t/dynamic-liquid-canvas-size/260813 "2008-05-20T05:13:34Z")

</div>

Is it possible to have dynamic canvas size in flash? My current canvas size is 1000 X 800, is it possible to increase the canvas size on runtime by passing height width of animation and without stretching the contents of…

---

## [Working with sound files](https://forum.kirupa.com/t/working-with-sound-files/260675)

<div class="topic-metadata">

**Author:** [@PizzaGuy](https://forum.kirupa.com/u/PizzaGuy)\
**Replies:** 2\
**Last updated:** [May 20, 2008, 5:01am UTC](https://forum.kirupa.com/t/working-with-sound-files/260675 "2008-05-20T05:01:44Z")

</div>

Hello, i am building a website full of audio/video files. I am wondering what the best way is to handle it. I want it to be as secure as possible, making it difficult (if possible) for people to steal the files. It …

---

## [Secure Variable Transfering (PHP --\> Flash)](https://forum.kirupa.com/t/secure-variable-transfering-php-flash/43809)

<div class="topic-metadata">

**Author:** [@epsilon1337](https://forum.kirupa.com/u/epsilon1337)\
**Replies:** 3\
**Last updated:** [May 20, 2008, 4:18am UTC](https://forum.kirupa.com/t/secure-variable-transfering-php-flash/43809 "2008-05-20T04:18:02Z")

</div>

Howdy folks :cowboy: My question is, is there a way to send variables from PHP to Flash in a secure manner? Using echo() from the PHP file is too open to be considered secure. I want to make a really basic non-mysql use…

---

## [Clickable object on top of draggable objects](https://forum.kirupa.com/t/clickable-object-on-top-of-draggable-objects/260802)

<div class="topic-metadata">

**Author:** [@xstevenx](https://forum.kirupa.com/u/xstevenx)\
**Replies:** 0\
**Last updated:** [May 20, 2008, 2:01am UTC](https://forum.kirupa.com/t/clickable-object-on-top-of-draggable-objects/260802 "2008-05-20T02:01:55Z")

</div>

Is this possible? I tried it and couldn't get anything to work.

---

## [Any sort of paintbrush or stroke plugins?](https://forum.kirupa.com/t/any-sort-of-paintbrush-or-stroke-plugins/260801)

<div class="topic-metadata">

**Author:** [@hanzosteel](https://forum.kirupa.com/u/hanzosteel)\
**Replies:** 0\
**Last updated:** [May 20, 2008, 2:00am UTC](https://forum.kirupa.com/t/any-sort-of-paintbrush-or-stroke-plugins/260801 "2008-05-20T02:00:33Z")

</div>

Is there any way to download additional custom stroke styles, paintbrushes, or anything like that for Flash CS3?

---

## [Expands to Right I need Expand to left](https://forum.kirupa.com/t/expands-to-right-i-need-expand-to-left/260778)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 3\
**Last updated:** [May 20, 2008, 12:54am UTC](https://forum.kirupa.com/t/expands-to-right-i-need-expand-to-left/260778 "2008-05-20T00:54:41Z")

</div>

Here is the code I have. The image currently expands to the right. I need it to expand to the left on mouse over. Any help would be greatly appreciated. var expandCollapseIncrement = 30; var expandCollapseEveryMs = …

---

## [Variables in Movie Clip Instance](https://forum.kirupa.com/t/variables-in-movie-clip-instance/260723)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 11:41pm UTC](https://forum.kirupa.com/t/variables-in-movie-clip-instance/260723 "2008-05-19T23:41:46Z")

</div>

Hello, I have a problem trying to define a variable in a movie clip instance from a button in another movie clip. Currently, I have MyMC1, and in MyMC1 I have loaded another movie MyMC2… There is a button in MyMC1 whi…

---

## [Digital signage questions](https://forum.kirupa.com/t/digital-signage-questions/260796)

<div class="topic-metadata">

**Author:** [@patra](https://forum.kirupa.com/u/patra)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 11:33pm UTC](https://forum.kirupa.com/t/digital-signage-questions/260796 "2008-05-19T23:33:13Z")

</div>

Hi everyone, Recentelly in my work they have install LCD plasma screens on the walls for internal displays. As first time I am doing this kind of design with Flash what size must be(Pixels) in the documents properties my…

---

## [FileRef crashing application](https://forum.kirupa.com/t/fileref-crashing-application/260779)

<div class="topic-metadata">

**Author:** [@rolando\_lopez](https://forum.kirupa.com/u/rolando_lopez)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 10:44pm UTC](https://forum.kirupa.com/t/fileref-crashing-application/260779 "2008-05-19T22:44:44Z")

</div>

Hi everyone, I'm running a fairly complex Projector file that access the internet (as well as local files). Everything works fine except when I call the browse and download functions. They application will freeze and I…

---

## [Error Thrown When I Add AS to Timeline. Class Interfere?](https://forum.kirupa.com/t/error-thrown-when-i-add-as-to-timeline-class-interfere/260786)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 10:03pm UTC](https://forum.kirupa.com/t/error-thrown-when-i-add-as-to-timeline-class-interfere/260786 "2008-05-19T22:03:24Z")

</div>

Alright, so i am working on a game, and i have a document class set. now i want to add some AS to the main timeline, such as a preloader and other little things. but when i do put some AS on the timeline, it throws this …

---

## [Making FLV files from CS3](https://forum.kirupa.com/t/making-flv-files-from-cs3/260784)

<div class="topic-metadata">

**Author:** [@shuga](https://forum.kirupa.com/u/shuga)\
**Replies:** 2\
**Last updated:** [May 19, 2008, 10:02pm UTC](https://forum.kirupa.com/t/making-flv-files-from-cs3/260784 "2008-05-19T22:02:23Z")

</div>

How do you do it. Flash Pro used to come with a utility to convert video files to FLV for use with their players but now that I have CS3 I don't see one. Where can I find it?:bounce:

---

## [Pausing a setinterval countdown?](https://forum.kirupa.com/t/pausing-a-setinterval-countdown/260549)

<div class="topic-metadata">

**Author:** [@02simond](https://forum.kirupa.com/u/02simond)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 9:29pm UTC](https://forum.kirupa.com/t/pausing-a-setinterval-countdown/260549 "2008-05-19T21:29:59Z")

</div>

Hi I have built a Music Player on my site with a pause function. I have also put a setinterval to make the songs change when they are done. The problem I now realized was that the setinterval timer kept going when I paus…

---

## [Goal Thermometer?](https://forum.kirupa.com/t/goal-thermometer/158869)

<div class="topic-metadata">

**Author:** [@scottk](https://forum.kirupa.com/u/scottk)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 8:55pm UTC](https://forum.kirupa.com/t/goal-thermometer/158869 "2008-05-19T20:55:32Z")

</div>

I need to make a Goal Thermometer work dynamically. I have made the symbols and all in Flash and now need to make it work. All my experience in Flash has been "cell" animation (all Timeline - no ActionScript'n) but no…

---

## [Save as JPG?](https://forum.kirupa.com/t/save-as-jpg/260727)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 6\
**Last updated:** [May 19, 2008, 8:53pm UTC](https://forum.kirupa.com/t/save-as-jpg/260727 "2008-05-19T20:53:20Z")

</div>

FileReference is great, but what about downloading an image rather than uploading? Is there a way to do this in Flash 8? Say, being able to save a certain movieclip as a JPG? Or rather BMdata of that movieclip as a JPG…

---

## [Remove border from TextArea component?!?](https://forum.kirupa.com/t/remove-border-from-textarea-component/255463)

<div class="topic-metadata">

**Author:** [@mark2741](https://forum.kirupa.com/u/mark2741)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 8:39pm UTC](https://forum.kirupa.com/t/remove-border-from-textarea-component/255463 "2008-05-19T20:39:41Z")

</div>

I'm working in ActionScript 3 and, yet again, I'm starting to regret trying to use components as it seems I always run into a brick wall when using them : ( I have a TextArea component instantiated and added to the dis…

---

## [Define Tweener in the document class](https://forum.kirupa.com/t/define-tweener-in-the-document-class/260665)

<div class="topic-metadata">

**Author:** [@MistaMoves](https://forum.kirupa.com/u/MistaMoves)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 8:25pm UTC](https://forum.kirupa.com/t/define-tweener-in-the-document-class/260665 "2008-05-19T20:25:40Z")

</div>

I have a movieclip on stage with instance name top\_mc. This is the code I want to apply to it: Tweener.addTween(top\_mc, {x:726, y:30, time:0.8, transition:"easeInOutCirc", delay:0.1}); Can't do it on stage! need to d…

---

## [Controlling movie clips on the stage](https://forum.kirupa.com/t/controlling-movie-clips-on-the-stage/260766)

<div class="topic-metadata">

**Author:** [@tslawrence](https://forum.kirupa.com/u/tslawrence)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 8:13pm UTC](https://forum.kirupa.com/t/controlling-movie-clips-on-the-stage/260766 "2008-05-19T20:13:50Z")

</div>

I loaded a movie clip like this: // load Home Movie var loader:Loader = new Loader(); var request:URLRequest = new URLRequest("home.swf"); loader.load(request); // use addChild() to use your movieclip as the Loader objec…

---

## [setInterval with duplicateMovieClip](https://forum.kirupa.com/t/setinterval-with-duplicatemovieclip/260782)

<div class="topic-metadata">

**Author:** [@dcmcgeary](https://forum.kirupa.com/u/dcmcgeary)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 8:13pm UTC](https://forum.kirupa.com/t/setinterval-with-duplicatemovieclip/260782 "2008-05-19T20:13:49Z")

</div>

Hi! I am trying to duplicate a movie clip item, but I want the newly created instances to be staggered in terms of when they are placed on stage. I tried doing it with an interval, but it isn't working - the instances…

---

## [Controlling volume in a Flash Slide Show](https://forum.kirupa.com/t/controlling-volume-in-a-flash-slide-show/260777)

<div class="topic-metadata">

**Author:** [@koobifora](https://forum.kirupa.com/u/koobifora)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 7:54pm UTC](https://forum.kirupa.com/t/controlling-volume-in-a-flash-slide-show/260777 "2008-05-19T19:54:22Z")

</div>

Hello, I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play …

---

## [Control volume in Flash Slide Show presentation](https://forum.kirupa.com/t/control-volume-in-flash-slide-show-presentation/260776)

<div class="topic-metadata">

**Author:** [@koobifora](https://forum.kirupa.com/u/koobifora)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 7:48pm UTC](https://forum.kirupa.com/t/control-volume-in-flash-slide-show-presentation/260776 "2008-05-19T19:48:58Z")

</div>

Hello, I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play …

---

## [Anybody know how to fix this?](https://forum.kirupa.com/t/anybody-know-how-to-fix-this/260685)

<div class="topic-metadata">

**Author:** [@JoeSer](https://forum.kirupa.com/u/JoeSer)\
**Replies:** 5\
**Last updated:** [May 19, 2008, 7:47pm UTC](https://forum.kirupa.com/t/anybody-know-how-to-fix-this/260685 "2008-05-19T19:47:00Z")

</div>

Hello guys. Great forum, not just that but also members. So I used one old script to load xml file from php form, posted long time ago here, and spend last weekend to made this work good, but somewhere I had success, s…

---

## [Keeping Randomly Placed Objects Within The Stage](https://forum.kirupa.com/t/keeping-randomly-placed-objects-within-the-stage/260759)

<div class="topic-metadata">

**Author:** [@jsm\_](https://forum.kirupa.com/u/jsm_)\
**Replies:** 2\
**Last updated:** [May 19, 2008, 7:29pm UTC](https://forum.kirupa.com/t/keeping-randomly-placed-objects-within-the-stage/260759 "2008-05-19T19:29:10Z")

</div>

Hello, I am placing 10 movie clips randomly within the stage using this simple script: for(i=0; i\<10; i++) { var t = this.attachMovie("imgs","imgs"+i,i); t.cacheAsBitmap = true; t.\_x = Stage.width\*Math.random(550…

---

## [Problems loading xml data](https://forum.kirupa.com/t/problems-loading-xml-data/259015)

<div class="topic-metadata">

**Author:** [@wuerschi](https://forum.kirupa.com/u/wuerschi)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 7:28pm UTC](https://forum.kirupa.com/t/problems-loading-xml-data/259015 "2008-05-19T19:28:59Z")

</div>

I followed the tutorial "Using XML in Flash CS3/AS3", to access external xml data. Everything works just as expected. function LoadXML(e:Event):void { xmlData = new XML(e.target.data); trace(xml…

---

## [Display images PHP-XML-CS3](https://forum.kirupa.com/t/display-images-php-xml-cs3/260664)

<div class="topic-metadata">

**Author:** [@dataxa](https://forum.kirupa.com/u/dataxa)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 6:59pm UTC](https://forum.kirupa.com/t/display-images-php-xml-cs3/260664 "2008-05-19T18:59:46Z")

</div>

I am trying to load images from server to CS3 via XML file, which is created by php. My xml structure is like this: \<picture\> \<id\>\</id\> \<name\>\</name\> \<size\>\</size\> \<binary\>\<?=base64\_encode($contents)?\>\</binary\>…

---

## [Resetting Flash](https://forum.kirupa.com/t/resetting-flash/260558)

<div class="topic-metadata">

**Author:** [@vivaretro](https://forum.kirupa.com/u/vivaretro)\
**Replies:** 2\
**Last updated:** [May 19, 2008, 6:58pm UTC](https://forum.kirupa.com/t/resetting-flash/260558 "2008-05-19T18:58:35Z")

</div>

I have a swf file that does several animations depending on keystrokes. Is there a way to add a keystroke that essentially resets the flash animation? ie: if for some reason the flash isn't running quite right, the user …

---

## [How do I return database record to flash from cfm page](https://forum.kirupa.com/t/how-do-i-return-database-record-to-flash-from-cfm-page/260769)

<div class="topic-metadata">

**Author:** [@Dpots](https://forum.kirupa.com/u/Dpots)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 6:46pm UTC](https://forum.kirupa.com/t/how-do-i-return-database-record-to-flash-from-cfm-page/260769 "2008-05-19T18:46:22Z")

</div>

I downloaded a flash login setup and have been trying to revise it to my specific needs. I have the login function working in that when they enter a valid username and password, they are directed to the correct frame i…

---

## [Help converting AS2 code to AS3](https://forum.kirupa.com/t/help-converting-as2-code-to-as3/260768)

<div class="topic-metadata">

**Author:** [@twallis](https://forum.kirupa.com/u/twallis)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 6:45pm UTC](https://forum.kirupa.com/t/help-converting-as2-code-to-as3/260768 "2008-05-19T18:45:01Z")

</div>

Hi There I have created a water effect in Adobe Flash using AS2, however I now wish to create a flash application with the same effect but using AS3. Please see the attached code I have used to create the water effe…

---

## [Warning: Cannot modify header information - headers already sent by (output started a](https://forum.kirupa.com/t/warning-cannot-modify-header-information-headers-already-sent-by-output-started-a/229708)

<div class="topic-metadata">

**Author:** [@nitin\_2k1](https://forum.kirupa.com/u/nitin_2k1)\
**Replies:** 1\
**Last updated:** [May 19, 2008, 6:37pm UTC](https://forum.kirupa.com/t/warning-cannot-modify-header-information-headers-already-sent-by-output-started-a/229708 "2008-05-19T18:37:30Z")

</div>

i am getting this error in my php script can anyone help? Warning: Cannot modify header information - headers already sent by (output started at c:\\program files\\easyphp1-8\\www\\Connections\\hi.php:12) in c:\\program file…

---

## [Help with CSS Background Bullet image and JS load](https://forum.kirupa.com/t/help-with-css-background-bullet-image-and-js-load/260767)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 0\
**Last updated:** [May 19, 2008, 6:34pm UTC](https://forum.kirupa.com/t/help-with-css-background-bullet-image-and-js-load/260767 "2008-05-19T18:34:44Z")

</div>

Can someone take a look at this and help me figure out how to put the bullet graphic to the left of the list items? I can't seem to figure it out. Also, how can I modify the JS so I can remove the onload event from the b…

---

## [2 player jeopardy (as 2.0)](https://forum.kirupa.com/t/2-player-jeopardy-as-2-0/260520)

<div class="topic-metadata">

**Author:** [@yiddo1](https://forum.kirupa.com/u/yiddo1)\
**Replies:** 3\
**Last updated:** [May 19, 2008, 6:31pm UTC](https://forum.kirupa.com/t/2-player-jeopardy-as-2-0/260520 "2008-05-19T18:31:26Z")

</div>

Hello, I'm doing a 2 player jeopardy game for a school project and I'm having some problems. This is how it works: When the players see the question they have to press a button on the keyboard and the player who press …

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

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