# programming

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

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

**Page:** 1077

---

## [Fill irregular shape once drawn](https://forum.kirupa.com/t/fill-irregular-shape-once-drawn/270947)

<div class="topic-metadata">

**Author:** [@benkyma](https://forum.kirupa.com/u/benkyma)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:21pm UTC](https://forum.kirupa.com/t/fill-irregular-shape-once-drawn/270947 "2008-09-16T15:21:07Z")

</div>

I've used the drawing API to allow the user to draw with the mouse. When they release the mouse button, the shape is automatically completed using lineTo(startX,startY) which were defined when the line was begun. Is it…

---

## [Using php variables](https://forum.kirupa.com/t/using-php-variables/270946)

<div class="topic-metadata">

**Author:** [@Ricmar](https://forum.kirupa.com/u/Ricmar)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 2:50pm UTC](https://forum.kirupa.com/t/using-php-variables/270946 "2008-09-16T14:50:56Z")

</div>

Hi anyone. Ive been busting my brain for ages and searching for a simple solution to using php variables in Flash. Ive found some half solutions that seem more trouble than its worth and I need just a simple way to get 2…

---

## [Help please! Listeners across different timelines](https://forum.kirupa.com/t/help-please-listeners-across-different-timelines/270945)

<div class="topic-metadata">

**Author:** [@vannen](https://forum.kirupa.com/u/vannen)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 2:38pm UTC](https://forum.kirupa.com/t/help-please-listeners-across-different-timelines/270945 "2008-09-16T14:38:05Z")

</div>

Hello, I'm working with a custom event class (which I got from Flashcoder.net): package { import flash.events.Event; public class MediaControlEvent extends flash.events.Event { public static const CO…

---

## [Access the subClass.. Is that possible?](https://forum.kirupa.com/t/access-the-subclass-is-that-possible/270944)

<div class="topic-metadata">

**Author:** [@ad\_sign](https://forum.kirupa.com/u/ad_sign)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 2:27pm UTC](https://forum.kirupa.com/t/access-the-subclass-is-that-possible/270944 "2008-09-16T14:27:14Z")

</div>

Hello again, I'm trying to check if there's any subclass from inside the body of a default class. Is that possible in AS3? I imagine it could be something like the 'super' statement, but a 'sub' one.. Anybody has exp…

---

## [What should I learn to make multiplayer games?](https://forum.kirupa.com/t/what-should-i-learn-to-make-multiplayer-games/270942)

<div class="topic-metadata">

**Author:** [@zoink](https://forum.kirupa.com/u/zoink)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 2:23pm UTC](https://forum.kirupa.com/t/what-should-i-learn-to-make-multiplayer-games/270942 "2008-09-16T14:23:37Z")

</div>

I am now able to make basic single player games.. i am still in the process of learning though. But to make an online multiplayer game, i was told i should learn Java or XML sockets... Where should i start? I am currentl…

---

## [Papervision - how to make irregular planes into buttons](https://forum.kirupa.com/t/papervision-how-to-make-irregular-planes-into-buttons/270938)

<div class="topic-metadata">

**Author:** [@DontBogartMe](https://forum.kirupa.com/u/DontBogartMe)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 1:45pm UTC](https://forum.kirupa.com/t/papervision-how-to-make-irregular-planes-into-buttons/270938 "2008-09-16T13:45:01Z")

</div>

Hi all, I'm not a regular here, but I hope you don't mind me dropping in with this question ... Here's a demo showing how far I've got: danwashere.com/dev/papervision/interactive\_cows.html What I want is to be ab…

---

## [How to run 2 flash apps on dual displays on startup?](https://forum.kirupa.com/t/how-to-run-2-flash-apps-on-dual-displays-on-startup/270937)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 1:26pm UTC](https://forum.kirupa.com/t/how-to-run-2-flash-apps-on-dual-displays-on-startup/270937 "2008-09-16T13:26:07Z")

</div>

I want to take two flash apps (mac projectors) and have each launch fullscreen on one of two displays. I'd like to have this launch on startup but i'd also need a solution for closing and relaunching with the same config…

---

## [Optimising Screen Size](https://forum.kirupa.com/t/optimising-screen-size/270930)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 9:53am UTC](https://forum.kirupa.com/t/optimising-screen-size/270930 "2008-09-16T09:53:45Z")

</div>

Hello once again, I am near completion of a project and to finish the job I would like to make my movie fit perfectly into any screen when published whatever the resolution, is this possible? I have been told yes and I…

---

## [News Help](https://forum.kirupa.com/t/news-help/270928)

<div class="topic-metadata">

**Author:** [@ximo](https://forum.kirupa.com/u/ximo)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 9:25am UTC](https://forum.kirupa.com/t/news-help/270928 "2008-09-16T09:25:05Z")

</div>

Hi, i am desiging a news form that read the news from an external text file. I made it ok and with a typewriter effect and it worked great...my only problem is that i want the text that will be loaded from the text file …

---

## [Free Transform Tool help](https://forum.kirupa.com/t/free-transform-tool-help/270927)

<div class="topic-metadata">

**Author:** [@chrisisjargon](https://forum.kirupa.com/u/chrisisjargon)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 9:20am UTC](https://forum.kirupa.com/t/free-transform-tool-help/270927 "2008-09-16T09:20:27Z")

</div>

Hi All Im sure im doing somthing wrong but cant seem to sus it out so any help will be great. What i have are some pictures on my stage, now i want to rotate them each by about 30 degrees but when using the free tran…

---

## [Web Service, component question, PLEASE!](https://forum.kirupa.com/t/web-service-component-question-please/270923)

<div class="topic-metadata">

**Author:** [@smyls](https://forum.kirupa.com/u/smyls)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 8:45am UTC](https://forum.kirupa.com/t/web-service-component-question-please/270923 "2008-09-16T08:45:17Z")

</div>

Hi, i'm trying to use the webserviceconnector component to send 10 fields of textinput-data from flash to my webservice. When I try my services it says "Error opening URL http:/\[/service.asmx'\](http://service.asmx')". (…

---

## [Right() function as3?](https://forum.kirupa.com/t/right-function-as3/270920)

<div class="topic-metadata">

**Author:** [@artheus](https://forum.kirupa.com/u/artheus)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 7:26am UTC](https://forum.kirupa.com/t/right-function-as3/270920 "2008-09-16T07:26:28Z")

</div>

hey there.. I'm just wondering.. is there a function like right() or left() (in c/vb).. where I can read small parts of a text. Something like this: var myString:String = ""; myString = "Hello World!"; trace(lef…

---

## [Free Graphics](https://forum.kirupa.com/t/free-graphics/270917)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 6:01am UTC](https://forum.kirupa.com/t/free-graphics/270917 "2008-09-16T06:01:59Z")

</div>

From were can i get the free graphics for flash. Please give the links of sites or any suggestions.

---

## [This is nice,Just Thought i should share it](https://forum.kirupa.com/t/this-is-nice-just-thought-i-should-share-it/270916)

<div class="topic-metadata">

**Author:** [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 5:57am UTC](https://forum.kirupa.com/t/this-is-nice-just-thought-i-should-share-it/270916 "2008-09-16T05:57:33Z")

</div>

I made a AS file that allows you to create scripted animation, I thought you guys might wanna check it out: http://blog.hunsonhunsonhunson.com/?p=257 tell me what you think!

---

## [Border around flash object](https://forum.kirupa.com/t/border-around-flash-object/270915)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 5:26am UTC](https://forum.kirupa.com/t/border-around-flash-object/270915 "2008-09-16T05:26:50Z")

</div>

How to put a border around flash object swf file ????

---

## [Loading into Parent Container](https://forum.kirupa.com/t/loading-into-parent-container/270912)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 4:33am UTC](https://forum.kirupa.com/t/loading-into-parent-container/270912 "2008-09-16T04:33:30Z")

</div>

Late night dumb question time: I have an SWF named "gallery.swf" that loads into an empty clip called "holder\_mc" in the parent movie. How do I call a function from gallery.swf that replaces gallery.swf with a file cal…

---

## [Sliding background on mouse click?](https://forum.kirupa.com/t/sliding-background-on-mouse-click/270910)

<div class="topic-metadata">

**Author:** [@Elusive1151](https://forum.kirupa.com/u/Elusive1151)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:41am UTC](https://forum.kirupa.com/t/sliding-background-on-mouse-click/270910 "2008-09-16T03:41:55Z")

</div>

Hi, I am a newbie to flash, so I appologize if this is a stupid question. I am trying to create something similar to THIS but in flash MX - the difference being that instead of a slider moving through the buttons, the …

---

## [Positioning Alert box](https://forum.kirupa.com/t/positioning-alert-box/270908)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:26am UTC](https://forum.kirupa.com/t/positioning-alert-box/270908 "2008-09-16T03:26:07Z")

</div>

Does anyone know how to set the coordinate position of an Alert component?

---

## ["Floodfilling" externally loaded clip art with a mask?](https://forum.kirupa.com/t/floodfilling-externally-loaded-clip-art-with-a-mask/270907)

<div class="topic-metadata">

**Author:** [@cactusphone](https://forum.kirupa.com/u/cactusphone)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 3:09am UTC](https://forum.kirupa.com/t/floodfilling-externally-loaded-clip-art-with-a-mask/270907 "2008-09-16T03:09:56Z")

</div>

I'm working on allowing a user to change the color of a clip art object. They start out externally as transparent PNG's. But I can prepare them in another format if necessary. My question is, is there any method for chan…

---

## [XML - Select data based on URL string](https://forum.kirupa.com/t/xml-select-data-based-on-url-string/270906)

<div class="topic-metadata">

**Author:** [@riot](https://forum.kirupa.com/u/riot)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 2:29am UTC](https://forum.kirupa.com/t/xml-select-data-based-on-url-string/270906 "2008-09-16T02:29:53Z")

</div>

My english not is sooo good (but I bet a caipirinha that it's better than your portuguese) =D So... a simple AS: function loadXML(loaded) { titulo = menuXML.childNodes\[\*\*\[COLOR=red\]X\[/COLOR\]\*\*\].attributes.titulo; …

---

## [Adding a website to a preloader](https://forum.kirupa.com/t/adding-a-website-to-a-preloader/270903)

<div class="topic-metadata">

**Author:** [@doubleokneegrow](https://forum.kirupa.com/u/doubleokneegrow)\
**Replies:** 0\
**Last updated:** [September 16, 2008, 1:44am UTC](https://forum.kirupa.com/t/adding-a-website-to-a-preloader/270903 "2008-09-16T01:44:14Z")

</div>

I brought a Preloader online. My portfolio website in flash is complete. I want to add a preloader to it. What is the best way to add both together?

---

## [Bounce Collision Between Movieclip](https://forum.kirupa.com/t/bounce-collision-between-movieclip/270897)

<div class="topic-metadata">

**Author:** [@kunktator](https://forum.kirupa.com/u/kunktator)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 11:30pm UTC](https://forum.kirupa.com/t/bounce-collision-between-movieclip/270897 "2008-09-15T23:30:33Z")

</div>

Hi, this is my problem: In the stage I have 3 or more boxes and, following some tutorials, I am succeed to create gravity and collision with the stage margin. But my target is make a realistic bouncing between the boxes:…

---

## [Flash CS3 carousel](https://forum.kirupa.com/t/flash-cs3-carousel/270895)

<div class="topic-metadata">

**Author:** [@Rainy](https://forum.kirupa.com/u/Rainy)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 11:25pm UTC](https://forum.kirupa.com/t/flash-cs3-carousel/270895 "2008-09-15T23:25:41Z")

</div>

sorry! by mistake it was a repost so deleted the message.

---

## [Math challenge with Scroller ... anyone?](https://forum.kirupa.com/t/math-challenge-with-scroller-anyone/270890)

<div class="topic-metadata">

**Author:** [@svdelle](https://forum.kirupa.com/u/svdelle)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 9:36pm UTC](https://forum.kirupa.com/t/math-challenge-with-scroller-anyone/270890 "2008-09-15T21:36:36Z")

</div>

Hi, I'm challenged to do a scrollbar like explained in the image. It has to center the 'current' thumbnail and scale it up when under the center line of the containerclip. Scale the surrounding thumbnails down when off…

---

## [\[CS3\] Works fine in Flash IDE, but recieves error once deployed on server](https://forum.kirupa.com/t/cs3-works-fine-in-flash-ide-but-recieves-error-once-deployed-on-server/270889)

<div class="topic-metadata">

**Author:** [@Gar\_Fonz](https://forum.kirupa.com/u/Gar_Fonz)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 9:25pm UTC](https://forum.kirupa.com/t/cs3-works-fine-in-flash-ide-but-recieves-error-once-deployed-on-server/270889 "2008-09-15T21:25:18Z")

</div>

I realize that there could be something malformed in the code, causing this error. The error I'm receiving is an 1010, a term is undefined and has no properties. Generally I know to look for something missing from my xml…

---

## [Converting flash SWF's into a DVD](https://forum.kirupa.com/t/converting-flash-swfs-into-a-dvd/270887)

<div class="topic-metadata">

**Author:** [@losergeekdesign](https://forum.kirupa.com/u/losergeekdesign)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 8:47pm UTC](https://forum.kirupa.com/t/converting-flash-swfs-into-a-dvd/270887 "2008-09-15T20:47:44Z")

</div>

Hey all. Was wondering if anyone knew of some reliable software that will convert SWF into a DVD based format. I have a project built that has multiple SWF's and the client has requested that it be put onto a DVD and run…

---

## [.htaccess --\> Removing multiple "/"s in a URL using mod\_rewrite](https://forum.kirupa.com/t/htaccess-removing-multiple-s-in-a-url-using-mod-rewrite/270884)

<div class="topic-metadata">

**Author:** [@broncozr](https://forum.kirupa.com/u/broncozr)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 8:28pm UTC](https://forum.kirupa.com/t/htaccess-removing-multiple-s-in-a-url-using-mod-rewrite/270884 "2008-09-15T20:28:03Z")

</div>

A little help please? Can anybody tell me how to remove multiple "/"s in a URL? I've been able to remove them from a Query String, but I'm having trouble with something like this: http://mydomain.com//index.php//?some…

---

## [How to call a class](https://forum.kirupa.com/t/how-to-call-a-class/270883)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 8:21pm UTC](https://forum.kirupa.com/t/how-to-call-a-class/270883 "2008-09-15T20:21:01Z")

</div>

\[FONT=Calibri\] Hi, \[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\] How can I call a class from my .fla file and tell it to execute all the code inside the constructor? \[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FO…

---

## [Strange problem with tween class](https://forum.kirupa.com/t/strange-problem-with-tween-class/270880)

<div class="topic-metadata">

**Author:** [@Nisse55](https://forum.kirupa.com/u/Nisse55)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 8:10pm UTC](https://forum.kirupa.com/t/strange-problem-with-tween-class/270880 "2008-09-15T20:10:08Z")

</div>

I've made a flash that run perfectly in most clients but in some very few clients a problem occurs when its loaded the fist time, but when I refresh the webpage, it works just fine. Most part of the movie works just grea…

---

## [Flash If Else Button Statement](https://forum.kirupa.com/t/flash-if-else-button-statement/270877)

<div class="topic-metadata">

**Author:** [@csr500](https://forum.kirupa.com/u/csr500)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 7:38pm UTC](https://forum.kirupa.com/t/flash-if-else-button-statement/270877 "2008-09-15T19:38:45Z")

</div>

Hello everyone Despite using Flash for a couple of years now I am still a relative newbie to Actionscript 2.0. I have a button which controls the horizontal movement of a movie clip and next to it I have a button, if…

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

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