# programming

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

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

**Page:** 1787

---

## [Pre-Loading Images](https://forum.kirupa.com/t/pre-loading-images/221169)

<div class="topic-metadata">

**Author:** [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 4:26am UTC](https://forum.kirupa.com/t/pre-loading-images/221169 "2007-04-02T04:26:58Z")

</div>

Hi with the below code where can I add a pre-loader so that before anything happens my random image actually loads? My move plays and then about 5 seconds later the images starts to load... var myClip = this.createEmp…

---

## [\# links from xml](https://forum.kirupa.com/t/links-from-xml/221166)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 3:30am UTC](https://forum.kirupa.com/t/links-from-xml/221166 "2007-04-02T03:30:58Z")

</div>

Hi all, I have an image slideshow - each movieclip that has an image in it also has an onRelease with a getURL(link). Each link in my XML file is, for example, #section-one, #section-two, etc. - so the links point to…

---

## [\[AS2\] Advanced Distance Check](https://forum.kirupa.com/t/as2-advanced-distance-check/221160)

<div class="topic-metadata">

**Author:** [@kingofnukes](https://forum.kirupa.com/u/kingofnukes)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 1:30am UTC](https://forum.kirupa.com/t/as2-advanced-distance-check/221160 "2007-04-02T01:30:38Z")

</div>

OK, I'm working on making a camera similar to the one in Super Smash Bros. The camera in that game (during game play) zooms in and out of the screen so you can see all the characters on the screen at all times. Since the…

---

## [How to rotate about a point using .\_rotation method?](https://forum.kirupa.com/t/how-to-rotate-about-a-point-using--rotation-method/221159)

<div class="topic-metadata">

**Author:** [@bitsnpieces](https://forum.kirupa.com/u/bitsnpieces)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 1:07am UTC](https://forum.kirupa.com/t/how-to-rotate-about-a-point-using--rotation-method/221159 "2007-04-02T01:07:03Z")

</div>

Hello all~ Is it possible to make a movie clip rotate about the center point of it using the .\_rotation method?

---

## [Help Please - Images Are Going Crazy](https://forum.kirupa.com/t/help-please-images-are-going-crazy/221157)

<div class="topic-metadata">

**Author:** [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 12:49am UTC](https://forum.kirupa.com/t/help-please-images-are-going-crazy/221157 "2007-04-02T00:49:19Z")

</div>

I have been working on this file for ages, I use this code // Includes the tweening extensions. #include "mc\_tween2.as" import mx.transitions.Tween; import mx.transitions.easing.\*; fscommand("fullscreen", true); Stag…

---

## [Javascript tip calculations](https://forum.kirupa.com/t/javascript-tip-calculations/221149)

<div class="topic-metadata">

**Author:** [@thats\_all\_folks](https://forum.kirupa.com/u/thats_all_folks)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 11:22pm UTC](https://forum.kirupa.com/t/javascript-tip-calculations/221149 "2007-04-01T23:22:41Z")

</div>

I'm teaching my self java and have run into a bump, I was trying to make an prompt box that will ask for your bill total and then times it by .20 for the tip and display in a alert box how much the tip will be based on t…

---

## [Email/PHP Form Not Working](https://forum.kirupa.com/t/email-php-form-not-working/221148)

<div class="topic-metadata">

**Author:** [@GrloftheCity](https://forum.kirupa.com/u/GrloftheCity)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 11:05pm UTC](https://forum.kirupa.com/t/email-php-form-not-working/221148 "2007-04-01T23:05:47Z")

</div>

I am trying to make an e-mail form that is integrated into Flash. To do this, I have been using the tutorial on this site at: http://www.kirupa.com/developer/act...h\_php\_email.htm and have followed it pretty much to the…

---

## [Setting Visibility for Next/Prev Buttons](https://forum.kirupa.com/t/setting-visibility-for-next-prev-buttons/221147)

<div class="topic-metadata">

**Author:** [@Zarahs](https://forum.kirupa.com/u/Zarahs)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 11:04pm UTC](https://forum.kirupa.com/t/setting-visibility-for-next-prev-buttons/221147 "2007-04-01T23:04:18Z")

</div>

I have pages of info I'm pulling from external files. I want my btn\_next to not be visible when the last page loads and my btn\_prev to not be visible when the first page loads. The btns are actually moviclips with instan…

---

## [Load External Images Into A Mask](https://forum.kirupa.com/t/load-external-images-into-a-mask/221146)

<div class="topic-metadata">

**Author:** [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 10:54pm UTC](https://forum.kirupa.com/t/load-external-images-into-a-mask/221146 "2007-04-01T22:54:47Z")

</div>

I have 6 frame labels on my stage and on each one I have a mask animation, it's the same animation but on each frame label loads a different image, basicaly the image just fade's into the mask. I was hoping to try and do…

---

## [Casting int to LPCWSTR (C++)](https://forum.kirupa.com/t/casting-int-to-lpcwstr-c/221144)

<div class="topic-metadata">

**Author:** [@Al6200](https://forum.kirupa.com/u/Al6200)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 10:38pm UTC](https://forum.kirupa.com/t/casting-int-to-lpcwstr-c/221144 "2007-04-01T22:38:19Z")

</div>

If I have: int a = 10; (LPCWSTR)a I get nothing. How do I properly convert the types. The reason is that I want to display an integer in a messagebox.

---

## [Help: Scrolling Gallery Question](https://forum.kirupa.com/t/help-scrolling-gallery-question/221143)

<div class="topic-metadata">

**Author:** [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 10:25pm UTC](https://forum.kirupa.com/t/help-scrolling-gallery-question/221143 "2007-04-01T22:25:09Z")

</div>

Hey all, I'm doing a site at the moment and in one section they want images panning from left to right..That's not a problem..but.. they want it to basically seemlessly loop.. Here's a terrbile example lol.. unlooped…

---

## [I need an uploader for free that includes:](https://forum.kirupa.com/t/i-need-an-uploader-for-free-that-includes/221140)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 10:10pm UTC](https://forum.kirupa.com/t/i-need-an-uploader-for-free-that-includes/221140 "2007-04-01T22:10:28Z")

</div>

Hi. I need a PHP uploader that includes: \*\*Changeable user upload directorys (e.g. a user chris gets a directory like \[COLOR=Orange\]www.strokemymouse.com/chris/\[/COLOR\] while the uploader is in \[COLOR=Red\]www.strokemym…

---

## [Key.isDown - AS3](https://forum.kirupa.com/t/key-isdown-as3/221138)

<div class="topic-metadata">

**Author:** [@pingnak](https://forum.kirupa.com/u/pingnak)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 9:54pm UTC](https://forum.kirupa.com/t/key-isdown-as3/221138 "2007-04-01T21:54:47Z")

</div>

As I'm sure most of you who've tried the 'Flex SDK 2' or 'Flash 9 Public Alpha' are aware, Key.isDown is no more. Unfortunately, that leaves me in a bit of a bind. The 'obvious' solution is to keep track of KEY\_DOWN a…

---

## [Growing tree roots](https://forum.kirupa.com/t/growing-tree-roots/221137)

<div class="topic-metadata">

**Author:** [@snaxs](https://forum.kirupa.com/u/snaxs)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 9:26pm UTC](https://forum.kirupa.com/t/growing-tree-roots/221137 "2007-04-01T21:26:44Z")

</div>

Hello, im looking for a tutorial of an animation that i want to make for my website.. but the way i see it, the best way to do it is with pure actionscript so the animation is this, ive been trying to find a similar movi…

---

## [Saving problem!?](https://forum.kirupa.com/t/saving-problem/221133)

<div class="topic-metadata">

**Author:** [@Mesilane](https://forum.kirupa.com/u/Mesilane)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 8:45pm UTC](https://forum.kirupa.com/t/saving-problem/221133 "2007-04-01T20:45:36Z")

</div>

Hi! I am making a new homepage, but I have quite annoying problem. Every time I save my fla it takes like half an hour to save it (sometimes it won't save at all, just crashes computer down). If I look at the location …

---

## [Loading external arrays into flash 8](https://forum.kirupa.com/t/loading-external-arrays-into-flash-8/221130)

<div class="topic-metadata">

**Author:** [@Flamingtoaster](https://forum.kirupa.com/u/Flamingtoaster)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 8:23pm UTC](https://forum.kirupa.com/t/loading-external-arrays-into-flash-8/221130 "2007-04-01T20:23:53Z")

</div>

I am currently working on a tile based videogame and am using arrays to stroe what tile goes where, hewever these get to be really big so I want to save them in a text file and load them as needed, and I have tried the f…

---

## [3d positioning loaded image](https://forum.kirupa.com/t/3d-positioning-loaded-image/221126)

<div class="topic-metadata">

**Author:** [@fido\_glc](https://forum.kirupa.com/u/fido_glc)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 7:06pm UTC](https://forum.kirupa.com/t/3d-positioning-loaded-image/221126 "2007-04-01T19:06:21Z")

</div>

How can I take a loded image and with actionscript position it at say 45 degrees (3d, not 2d) so that it looks like I'm looking from one side. It would have a 3d look.

---

## [\[PHP&SQL\] Rows?](https://forum.kirupa.com/t/php-sql-rows/221124)

<div class="topic-metadata">

**Author:** [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 6:55pm UTC](https://forum.kirupa.com/t/php-sql-rows/221124 "2007-04-01T18:55:11Z")

</div>

Is there a sql statement that returns how many rows there are in a table? I am using PHP5 with MySQL4.something. I'm still not a PHP SQL wizard so bear with me.

---

## [My custom player is now 99% complete, just one details is missing](https://forum.kirupa.com/t/my-custom-player-is-now-99-complete-just-one-details-is-missing/221121)

<div class="topic-metadata">

**Author:** [@slave1](https://forum.kirupa.com/u/slave1)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 6:10pm UTC](https://forum.kirupa.com/t/my-custom-player-is-now-99-complete-just-one-details-is-missing/221121 "2007-04-01T18:10:30Z")

</div>

Hi all, So my player is almost complete. I built it following a tutorial found on Lynda.com The one thing that is not working is that the video starts automatically and it shouldn't. I might be wrong but i think the …

---

## [\[AS3.0\] apply filter to TextField programmatically](https://forum.kirupa.com/t/as3-0-apply-filter-to-textfield-programmatically/221120)

<div class="topic-metadata">

**Author:** [@watcher](https://forum.kirupa.com/u/watcher)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 5:45pm UTC](https://forum.kirupa.com/t/as3-0-apply-filter-to-textfield-programmatically/221120 "2007-04-01T17:45:55Z")

</div>

Hi there! I tried this using textField.filters = \[new GlowFilter()\] or just like in Flash8 passing the .filters array ref to another array and pushing filter to that array \[was it?\], but none of these steps worked. …

---

## [Problem with lmc\_tween.as](https://forum.kirupa.com/t/problem-with-lmc-tween-as/221119)

<div class="topic-metadata">

**Author:** [@Lujerker](https://forum.kirupa.com/u/Lujerker)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 5:20pm UTC](https://forum.kirupa.com/t/problem-with-lmc-tween-as/221119 "2007-04-01T17:20:59Z")

</div>

\*\*\*Error\*\* Scene=Scene 1, capa=copy, fotogram=1:Línea 8: Error to open the file include lmc\_tween.as: file nonfound. #include "lmc\_tween.as"\* Where i can find that file ????

---

## [What is my solution? One product, with multiple options](https://forum.kirupa.com/t/what-is-my-solution-one-product-with-multiple-options/221118)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 4:59pm UTC](https://forum.kirupa.com/t/what-is-my-solution-one-product-with-multiple-options/221118 "2007-04-01T16:59:58Z")

</div>

I am new to this forum so hello to everyone I am about to embark on a difficult journey of creating a complex website for my new company. I hope you can help me to find a solution to my main problem: My customers w…

---

## [Read like hell...You'll get there!](https://forum.kirupa.com/t/read-like-hell-youll-get-there/221117)

<div class="topic-metadata">

**Author:** [@Datasmith](https://forum.kirupa.com/u/Datasmith)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 4:38pm UTC](https://forum.kirupa.com/t/read-like-hell-youll-get-there/221117 "2007-04-01T16:38:13Z")

</div>

Hi Everyone, I'm new to this forum. Am learning lots more each day, but still new to Actionscript. Working on a site design and have used loadmovie to load an external SWF on a gradient background page. The external …

---

## [Collision (shapeFlag) Problems](https://forum.kirupa.com/t/collision-shapeflag-problems/221114)

<div class="topic-metadata">

**Author:** [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 4:10pm UTC](https://forum.kirupa.com/t/collision-shapeflag-problems/221114 "2007-04-01T16:10:16Z")

</div>

Ok, I can use shapeFlag easily to make my collision work when they both are on the root scene, but when you put them inside a movie clip, they start acting all weird. There is two dots in the middle of the orange ghost…

---

## [ASP rpg help?](https://forum.kirupa.com/t/asp-rpg-help/221113)

<div class="topic-metadata">

**Author:** [@qzp](https://forum.kirupa.com/u/qzp)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 3:56pm UTC](https://forum.kirupa.com/t/asp-rpg-help/221113 "2007-04-01T15:56:34Z")

</div>

Hi im trying to make a simple text based RPG with ASP. I'm having a problem with showing how much money a user has. heres the code: \<% If Session("loggedin") \<\> True Then Response.Redirect "login.asp" %\> \<!--#include…

---

## [SQL time/date format - quick question](https://forum.kirupa.com/t/sql-time-date-format-quick-question/221109)

<div class="topic-metadata">

**Author:** [@Mr\_Paul\_Jones](https://forum.kirupa.com/u/Mr_Paul_Jones)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 3:21pm UTC](https://forum.kirupa.com/t/sql-time-date-format-quick-question/221109 "2007-04-01T15:21:48Z")

</div>

When time/date is recorded as a long number, how do I convert it into an understandable time/date? Im guessing there is a calculator that I can use or something? Like this for example is a session login time for a foru…

---

## [Help with menu, adding url](https://forum.kirupa.com/t/help-with-menu-adding-url/221108)

<div class="topic-metadata">

**Author:** [@sushi](https://forum.kirupa.com/u/sushi)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 3:15pm UTC](https://forum.kirupa.com/t/help-with-menu-adding-url/221108 "2007-04-01T15:15:05Z")

</div>

I have a movie that plays inside of my stage for the menu. I have made many FLASH projects and websites, but this is the first time I attempted a dynamic menu instead of making each button individually. Everything works…

---

## [\[php\] Validate - done, but how do i send!](https://forum.kirupa.com/t/php-validate-done-but-how-do-i-send/221105)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 3:04pm UTC](https://forum.kirupa.com/t/php-validate-done-but-how-do-i-send/221105 "2007-04-01T15:04:09Z")

</div>

ok... On the HTMLcentre they have this code for error.php (validation page) \<?php extract($\_POST); /\* Validation \*/ function check\_field1($field\_name\_1) { if(!preg\_match("/\[^a-zA-Z0-9\\.\\-\\Ä\\ä\\Ö\\ö\\Ü\\ü\\ \]+$/s",$fi…

---

## [Flash Movies on HTTPS server](https://forum.kirupa.com/t/flash-movies-on-https-server/221100)

<div class="topic-metadata">

**Author:** [@voxecho](https://forum.kirupa.com/u/voxecho)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 1:48pm UTC](https://forum.kirupa.com/t/flash-movies-on-https-server/221100 "2007-04-01T13:48:04Z")

</div>

I have a flash movie on a page with HTTPS set. The swf file is in the same folder as the rest of the content, but it still gives the "you are entering a page with secure and unsecure content..." is there any way to avo…

---

## [How can I make effects 'fade' in and out?](https://forum.kirupa.com/t/how-can-i-make-effects-fade-in-and-out/221098)

<div class="topic-metadata">

**Author:** [@Inkies](https://forum.kirupa.com/u/Inkies)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 1:35pm UTC](https://forum.kirupa.com/t/how-can-i-make-effects-fade-in-and-out/221098 "2007-04-01T13:35:49Z")

</div>

Okay, technically I'm not wanting fades, but unfortunately my brain today is, to put it bluntly, absolutely useless. Anyhow, what I'm actually trying to find out is how I can set up my movie so that when I click on a b…

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

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