# programming

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

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

**Page:** 252

---

## [Problem creating Reports / Updatable .php files](https://forum.kirupa.com/t/problem-creating-reports-updatable-php-files/323819)

<div class="topic-metadata">

**Author:** [@AKirchy](https://forum.kirupa.com/u/AKirchy)\
**Replies:** 0\
**Last updated:** [July 20, 2011, 3:16am UTC](https://forum.kirupa.com/t/problem-creating-reports-updatable-php-files/323819 "2011-07-20T03:16:11Z")

</div>

i know that the problem is something very minor, but im relatively new to PHP/mySQL. im pretty proficient with HTML and much older coding languages, im talking C Basic and C+, and some Cobalt. anyways here is the code fo…

---

## [Collision detection of off-screen objects (really far away objects...!)](https://forum.kirupa.com/t/collision-detection-of-off-screen-objects-really-far-away-objects/323818)

<div class="topic-metadata">

**Author:** [@franboud](https://forum.kirupa.com/u/franboud)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 7:26pm UTC](https://forum.kirupa.com/t/collision-detection-of-off-screen-objects-really-far-away-objects/323818 "2011-07-19T19:26:46Z")

</div>

Hi everyone, I've been trying all day to solve this problem I have... I'm currently developing a racing game. The player controls one car, and 7 cars are controlled by AI. The MovieClip which contains the race art is r…

---

## [Need help converting AS 2 rollover effect to AS 3!](https://forum.kirupa.com/t/need-help-converting-as-2-rollover-effect-to-as-3/323815)

<div class="topic-metadata">

**Author:** [@laxinboi37](https://forum.kirupa.com/u/laxinboi37)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:58pm UTC](https://forum.kirupa.com/t/need-help-converting-as-2-rollover-effect-to-as-3/323815 "2011-07-19T16:58:18Z")

</div>

I am having trouble with a piece of code that I used to implement for all of my buttons in Actionscript 2.0. What I need help with is creating a similar effect in AS 3 (see code at bottom of post). I prefer this code b…

---

## ['Shaking' the cursor](https://forum.kirupa.com/t/shaking-the-cursor/323810)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 1:11pm UTC](https://forum.kirupa.com/t/shaking-the-cursor/323810 "2011-07-19T13:11:43Z")

</div>

Tried to find some information on the forum, but I think the search terms might be a bit confusing... What I want to do is be able to recognise a 'shaking' motion of the cursor - that is to say, call an event when the …

---

## [Complex Button RollOver/RollOut Effects - AS3](https://forum.kirupa.com/t/complex-button-rollover-rollout-effects-as3/323805)

<div class="topic-metadata">

**Author:** [@surajitkarmokar](https://forum.kirupa.com/u/surajitkarmokar)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 7:11am UTC](https://forum.kirupa.com/t/complex-button-rollover-rollout-effects-as3/323805 "2011-07-19T07:11:28Z")

</div>

Hi, While browsing the site I found the link of as2 script. http://www.kirupa.com/developer/mx2004/button\_effect.htm But unable to replicate the script in as3. Kindly help.

---

## [Tutorial: Detecting What is Supported](https://forum.kirupa.com/t/tutorial-detecting-what-is-supported/323804)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:51am UTC](https://forum.kirupa.com/t/tutorial-detecting-what-is-supported/323804 "2011-07-19T04:51:20Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the Detecting What is Supported tutorial. Jump right on in \[stuck\_out\_tongue\] Cheers, Kirupa (-:

---

## [Size reduce or increase](https://forum.kirupa.com/t/size-reduce-or-increase/323803)

<div class="topic-metadata">

**Author:** [@ohya](https://forum.kirupa.com/u/ohya)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 4:04am UTC](https://forum.kirupa.com/t/size-reduce-or-increase/323803 "2011-07-19T04:04:45Z")

</div>

I have a button and a movie clip. By pressing a button and hold it, the movie clip will keep non reducing or increasing its size until the button is released. Need help.

---

## [Undefined variables in AS3 from PHP-MySQL](https://forum.kirupa.com/t/undefined-variables-in-as3-from-php-mysql/323802)

<div class="topic-metadata">

**Author:** [@chammie](https://forum.kirupa.com/u/chammie)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 2:58am UTC](https://forum.kirupa.com/t/undefined-variables-in-as3-from-php-mysql/323802 "2011-07-19T02:58:27Z")

</div>

Hi guys. Please help me. I've been dealing with this problem for almost a week now. I can't seem to find the solution. Just a newbie in AS3 and trying to pass data from mysql to flash. Here's my code. \[COLOR="red"\]AS3 …

---

## [Scrolling/panning on Roll Over Effect](https://forum.kirupa.com/t/scrolling-panning-on-roll-over-effect/323801)

<div class="topic-metadata">

**Author:** [@rodlab2x](https://forum.kirupa.com/u/rodlab2x)\
**Replies:** 0\
**Last updated:** [July 19, 2011, 12:58am UTC](https://forum.kirupa.com/t/scrolling-panning-on-roll-over-effect/323801 "2011-07-19T00:58:39Z")

</div>

Does anybody knows a component or tutorial on how to do this effect? http://www.aflac.com/agents/agentstories.aspx This one stops at the center area and accelerates toward the ends. Thanks.

---

## [\[As3\] Scrolling Background](https://forum.kirupa.com/t/as3-scrolling-background/323799)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 11:40pm UTC](https://forum.kirupa.com/t/as3-scrolling-background/323799 "2011-07-18T23:40:02Z")

</div>

Hey everyone, I've been searching for a while now, but I couldnt really find anything. I want to make a scrolling background in my game, like in the game "Pixel Purge" where the background "follows" the players movements…

---

## [Please Help with Preloader](https://forum.kirupa.com/t/please-help-with-preloader/323798)

<div class="topic-metadata">

**Author:** [@nubian](https://forum.kirupa.com/u/nubian)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 10:47pm UTC](https://forum.kirupa.com/t/please-help-with-preloader/323798 "2011-07-18T22:47:00Z")

</div>

I pulled this preloaded from http://help.adobe.com/en\_US/AS2LCR/Flash\_10.0/help.html?content=00000421.html. For some reason it's not working as I thought it would. What's happening is that while preloading, you can hea…

---

## [Playing Songs In Flash Player, which are stored on Remote Server](https://forum.kirupa.com/t/playing-songs-in-flash-player-which-are-stored-on-remote-server/323792)

<div class="topic-metadata">

**Author:** [@supreetrai](https://forum.kirupa.com/u/supreetrai)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 7:22pm UTC](https://forum.kirupa.com/t/playing-songs-in-flash-player-which-are-stored-on-remote-server/323792 "2011-07-18T19:22:52Z")

</div>

Hi, I have a flash player which can play the songs stored on the Local Server, under "mp3" directory. I would like to modify this player, so that i can play the songs stored on the remote server, through an API. F…

---

## [Easing on an Image Sequence](https://forum.kirupa.com/t/easing-on-an-image-sequence/323789)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 4:33pm UTC](https://forum.kirupa.com/t/easing-on-an-image-sequence/323789 "2011-07-18T16:33:53Z")

</div>

Hi, I'm pretty sure this can't be done, but thought I better check and ask the mass's just to make sure. I have a rotating product as an image sq inside a MC. When the user clicks a button I'm pausing the MC (.stop()…

---

## [TouchMove is not detected](https://forum.kirupa.com/t/touchmove-is-not-detected/323787)

<div class="topic-metadata">

**Author:** [@kongy](https://forum.kirupa.com/u/kongy)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 3:28pm UTC](https://forum.kirupa.com/t/touchmove-is-not-detected/323787 "2011-07-18T15:28:20Z")

</div>

Hi, I'm trying to trace a message and testing some TouchEvent in Device Central with device Flash 10.1 Multitouch. I got TOUCH\_BEGIN to work but I can't get TOUCH\_MOVE trace message to appear even though I've pressed Alt…

---

## [JS: Show Hide Div](https://forum.kirupa.com/t/js-show-hide-div/323785)

<div class="topic-metadata">

**Author:** [@gajulasidhu](https://forum.kirupa.com/u/gajulasidhu)\
**Replies:** 0\
**Last updated:** [July 18, 2011, 12:58pm UTC](https://forum.kirupa.com/t/js-show-hide-div/323785 "2011-07-18T12:58:14Z")

</div>

I am trying to show and hide div. when user click login .login-divneed show. when user mouseout or click outside of the login div. .login-divneed to hide here is my code \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1…

---

## [HELP!: Does Flash Cache Data by Default?](https://forum.kirupa.com/t/help-does-flash-cache-data-by-default/323778)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 10:20pm UTC](https://forum.kirupa.com/t/help-does-flash-cache-data-by-default/323778 "2011-07-17T22:20:23Z")

</div>

Hey Friends, does flash cache images and text loaded in AS3 by default? The code does not have any LSO's or any other read write senarios in it. Just supposed to load the flash app when the page is loaded, and re-loa…

---

## [Creating Classes from DataBase (xml)](https://forum.kirupa.com/t/creating-classes-from-database-xml/323776)

<div class="topic-metadata">

**Author:** [@bontempos](https://forum.kirupa.com/u/bontempos)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 8:36pm UTC](https://forum.kirupa.com/t/creating-classes-from-database-xml/323776 "2011-07-17T20:36:56Z")

</div>

Hi everyone Short explanation: -\>\>\> So. I have an xml with this: \<apps\> \<app id="1" name="CustomClass01"/\> \<app id="..." name="..."/\> \</apps\> These Classes are stored inside a package, lets say: "apps". Nor…

---

## [Linking to library. for what?](https://forum.kirupa.com/t/linking-to-library-for-what/323774)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 7:34pm UTC](https://forum.kirupa.com/t/linking-to-library-for-what/323774 "2011-07-17T19:34:10Z")

</div>

hello all. so my simple question is, when you link to the library for certain items right, whats the porpose? does it reduce file size? and if so how?

---

## [\[F5\] How to insert recording function in a Flash piano](https://forum.kirupa.com/t/f5-how-to-insert-recording-function-in-a-flash-piano/323773)

<div class="topic-metadata">

**Author:** [@TheAvenger](https://forum.kirupa.com/u/TheAvenger)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 4:31pm UTC](https://forum.kirupa.com/t/f5-how-to-insert-recording-function-in-a-flash-piano/323773 "2011-07-17T16:31:32Z")

</div>

Hy guys, i'm trying to create a Flash piano application. I'm a beginner and i'm using Adobe Flash CS5. The first part of my piano is ultimated, infact i created all keys and each of them works fine. Now i wanna insert a …

---

## [Excel VBA Dir() command help](https://forum.kirupa.com/t/excel-vba-dir-command-help/323772)

<div class="topic-metadata">

**Author:** [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 12:25pm UTC](https://forum.kirupa.com/t/excel-vba-dir-command-help/323772 "2011-07-17T12:25:15Z")

</div>

:hang: I am trying to check if a .pdf exists before attaching it to an e-mail. The location and name of the .pdf will be different each time so I can't hard code it. THIS WORKS If \[COLOR=blue\]\*\*Dir(C:\\Some\\File\\…

---

## [Animating Dynamic Movie Clips?](https://forum.kirupa.com/t/animating-dynamic-movie-clips/323771)

<div class="topic-metadata">

**Author:** [@lordbry](https://forum.kirupa.com/u/lordbry)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 6:52am UTC](https://forum.kirupa.com/t/animating-dynamic-movie-clips/323771 "2011-07-17T06:52:10Z")

</div>

\[SOLVED\] Hello all. I’ve been writing AS1 and 2 for a loooong time but I’m just starting to get into AS3 and it’s… challenging. Making my brain think differently when Flash is still Flash is tricky but I’m coming along.…

---

## [Actionscript 3 code explanation to understand the logic?](https://forum.kirupa.com/t/actionscript-3-code-explanation-to-understand-the-logic/323770)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 6:08am UTC](https://forum.kirupa.com/t/actionscript-3-code-explanation-to-understand-the-logic/323770 "2011-07-17T06:08:13Z")

</div>

Hi, Please help me to understand the following code (the logic in using it) line by line: navContainer.y=stage.stageHeight-60; navContainer.scaleX=stage.stageWidth/980; header.scaleX=stage.stageWidth/980; mainCon…

---

## [Dynamically add items to jCarousel on Prev, Next button click](https://forum.kirupa.com/t/dynamically-add-items-to-jcarousel-on-prev-next-button-click/323768)

<div class="topic-metadata">

**Author:** [@Thinker2501](https://forum.kirupa.com/u/Thinker2501)\
**Replies:** 0\
**Last updated:** [July 17, 2011, 3:34am UTC](https://forum.kirupa.com/t/dynamically-add-items-to-jcarousel-on-prev-next-button-click/323768 "2011-07-17T03:34:12Z")

</div>

I'm trying to dynamically add an item to the beginning or end of a jcarousel when the user clicks the next or prev button. For the life of me I just can't get it to work. I can dynamically load the first 6 items when I i…

---

## [Understanding PerspecitveProjection](https://forum.kirupa.com/t/understanding-perspecitveprojection/323764)

<div class="topic-metadata">

**Author:** [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Replies:** 0\
**Last updated:** [July 16, 2011, 7:33am UTC](https://forum.kirupa.com/t/understanding-perspecitveprojection/323764 "2011-07-16T07:33:27Z")

</div>

Apoligies In advance if this post appears nonsensical but I'm learning about 3D and havent come to grips with full terminology and concepts yet. - I am trying to build a 3D world from AS3 2.5D principles. In the world …

---

## [Artificial intelligence scientific discipline .There are many rules of AI programming](https://forum.kirupa.com/t/artificial-intelligence-scientific-discipline-there-are-many-rules-of-ai-programming/323762)

<div class="topic-metadata">

**Author:** [@jhonthomus](https://forum.kirupa.com/u/jhonthomus)\
**Replies:** 0\
**Last updated:** [July 16, 2011, 7:13am UTC](https://forum.kirupa.com/t/artificial-intelligence-scientific-discipline-there-are-many-rules-of-ai-programming/323762 "2011-07-16T07:13:28Z")

</div>

A.I programming many progress are made each year. Artificial intelligence is good programming. This scientific discipline, but the long term goal of creating a computer program.This is learning "Natural Language" it i…

---

## [Help deleting a movie clip from a scroll pane](https://forum.kirupa.com/t/help-deleting-a-movie-clip-from-a-scroll-pane/323761)

<div class="topic-metadata">

**Author:** [@dutch106](https://forum.kirupa.com/u/dutch106)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 10:27pm UTC](https://forum.kirupa.com/t/help-deleting-a-movie-clip-from-a-scroll-pane/323761 "2011-07-15T22:27:23Z")

</div>

I currently have two movie clips (test & test2) that upon button release (button & button2) I am loading into a scrollpane (scrollPane). (For testing purposes I load each clip several times, but in the final product I wi…

---

## [Stopping This Function](https://forum.kirupa.com/t/stopping-this-function/323760)

<div class="topic-metadata">

**Author:** [@Freestyle1st99](https://forum.kirupa.com/u/Freestyle1st99)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 10:08pm UTC](https://forum.kirupa.com/t/stopping-this-function/323760 "2011-07-15T22:08:52Z")

</div>

I'm fairly new to AS3, and was rusty with AS2 & 1. I found this cool code on the MathAndFlash site, (see below). Been playing with it. The one thing I can not figure out is how to stop it. I stuck it in a different frame…

---

## [Flash to download XML file and saving in harddrive](https://forum.kirupa.com/t/flash-to-download-xml-file-and-saving-in-harddrive/323755)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 2:18pm UTC](https://forum.kirupa.com/t/flash-to-download-xml-file-and-saving-in-harddrive/323755 "2011-07-15T14:18:24Z")

</div>

Hello I´m have to build a Flash aplication, that has to download a XML from a differente server and save on it´s own server, at a predefined time of the day. Is it possible ans safe to make that in flash using AS3? …

---

## [Using Collaboration Builder SDK for multi-user quiz](https://forum.kirupa.com/t/using-collaboration-builder-sdk-for-multi-user-quiz/323752)

<div class="topic-metadata">

**Author:** [@Tim\_Clifford](https://forum.kirupa.com/u/Tim_Clifford)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 12:55pm UTC](https://forum.kirupa.com/t/using-collaboration-builder-sdk-for-multi-user-quiz/323752 "2011-07-15T12:55:37Z")

</div>

Hi, We are currently using some simple AS2 templates with adobe connect pro to add some interactivity to our elearning courses. We are hoping to take this a step further using SDK to give a live report to the meeting…

---

## [Comunnicaton error via HTTPS](https://forum.kirupa.com/t/comunnicaton-error-via-https/323749)

<div class="topic-metadata">

**Author:** [@rudeman](https://forum.kirupa.com/u/rudeman)\
**Replies:** 0\
**Last updated:** [July 15, 2011, 9:52am UTC](https://forum.kirupa.com/t/comunnicaton-error-via-https/323749 "2011-07-15T09:52:21Z")

</div>

Hello, I have Flash AIR application, that communicates with server via HTTPS protocol. On MAC I install requested certificate and it works fine, but unfortunently on Windows 7 and XP I have this error: "\[IOErrorEvent t…

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

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