# programming

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

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

**Page:** 563

---

## [URLLoader() -- event listener nightmare](https://forum.kirupa.com/t/urlloader-event-listener-nightmare/304746)

<div class="topic-metadata">

**Author:** [@lectersmeal](https://forum.kirupa.com/u/lectersmeal)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 10:49pm UTC](https://forum.kirupa.com/t/urlloader-event-listener-nightmare/304746 "2010-02-12T22:49:46Z")

</div>

Sooo, I'm about to pull my hair out, and I hope that someone can help me. I'm just trying to create a relatively simple application for my research, and I'm using URLLoader() to retrieve quite a lot of XML data. Pro…

---

## [Multiple monitor flash game](https://forum.kirupa.com/t/multiple-monitor-flash-game/304738)

<div class="topic-metadata">

**Author:** [@Catharsis](https://forum.kirupa.com/u/Catharsis)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 7:25pm UTC](https://forum.kirupa.com/t/multiple-monitor-flash-game/304738 "2010-02-12T19:25:40Z")

</div>

Hey everyone, My newest project calls for allowing 4 people to play a game at once on 4 individual monitors. It's a memory game where each player tries to match up cards on the screen. The game itself is already imple…

---

## [Program Class](https://forum.kirupa.com/t/program-class/304732)

<div class="topic-metadata">

**Author:** [@helldozer](https://forum.kirupa.com/u/helldozer)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 6:40pm UTC](https://forum.kirupa.com/t/program-class/304732 "2010-02-12T18:40:57Z")

</div>

Howdy all, Does anyone know where I can find the "Program()" class used in this article... http://www.kirupa.com/net/writingXML\_pg4.htm Or at least how I can write one that does the same thing. Thanks!

---

## [Get and loop through XML File](https://forum.kirupa.com/t/get-and-loop-through-xml-file/304730)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 5:00pm UTC](https://forum.kirupa.com/t/get-and-loop-through-xml-file/304730 "2010-02-12T17:00:09Z")

</div>

Hello, I need to get a XML file from a url: http://www.domain.com/Regions/List The XML file has the following format: \<Regions\> \<Region\> \<Id\>1\</Id\> \<Name\>Lisbon\</Name\> \<Active\>True\</Active\> \<Coun…

---

## [DB query escaping characters problem](https://forum.kirupa.com/t/db-query-escaping-characters-problem/304729)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 4:46pm UTC](https://forum.kirupa.com/t/db-query-escaping-characters-problem/304729 "2010-02-12T16:46:55Z")

</div>

Hello, I am having problems with "Unrecognized token with SQL Lite". The only thing that I am doing is this: var addNew:String = 'INSERT INTO table (locations, typeString) VALUES ("'+\_tempLocationAr\*+'","'+\_tempTypeSt…

---

## [applyFilter error with jpg](https://forum.kirupa.com/t/applyfilter-error-with-jpg/304726)

<div class="topic-metadata">

**Author:** [@balloba](https://forum.kirupa.com/u/balloba)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 3:25pm UTC](https://forum.kirupa.com/t/applyfilter-error-with-jpg/304726 "2010-02-12T15:25:50Z")

</div>

If I use a png (\[Embed(source = "../lib/img.png")\]) this works. But if I use a jpg the code below fails. Same image same size (200,200) just exported from photoshop as jpg or png Why? Error when using jpg Error: Err…

---

## [Interactive Image Panning Issue](https://forum.kirupa.com/t/interactive-image-panning-issue/304725)

<div class="topic-metadata">

**Author:** [@jdinger23](https://forum.kirupa.com/u/jdinger23)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 3:15pm UTC](https://forum.kirupa.com/t/interactive-image-panning-issue/304725 "2010-02-12T15:15:18Z")

</div>

I followed the tutorial and all is working perfect. I am currently working on a virtual tour and I am trying to get a button to gotoAndPlay the next scene. I have tried to insert a button on the movieclip (scrollingim…

---

## [Looping photo gallery to the beginning](https://forum.kirupa.com/t/looping-photo-gallery-to-the-beginning/304719)

<div class="topic-metadata">

**Author:** [@illustr8r](https://forum.kirupa.com/u/illustr8r)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 1:57pm UTC](https://forum.kirupa.com/t/looping-photo-gallery-to-the-beginning/304719 "2010-02-12T13:57:12Z")

</div>

I used this tutorial to create an xml photo gallery: http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm I would like to add the functionality of having the next button return to the beginning of the xm…

---

## [BitmapData button based Scrolling](https://forum.kirupa.com/t/bitmapdata-button-based-scrolling/304718)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 1:29pm UTC](https://forum.kirupa.com/t/bitmapdata-button-based-scrolling/304718 "2010-02-12T13:29:37Z")

</div>

I've checked out a lot of the tutorials on this subject on the internet and they are overly elaborate, involving cameras, in previous versions of flash i would have just messed around with x and y values and xscales and…

---

## [AS3 place movieclips on stage](https://forum.kirupa.com/t/as3-place-movieclips-on-stage/304715)

<div class="topic-metadata">

**Author:** [@joobny](https://forum.kirupa.com/u/joobny)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 12:22pm UTC](https://forum.kirupa.com/t/as3-place-movieclips-on-stage/304715 "2010-02-12T12:22:05Z")

</div>

Hey everyone, I'm in the process of making a game, and I've stumbled into some problems. The player controls the character with their mouse - it follows their cursor. I'm trying to make an environment continually scr…

---

## [Drag and drop images to create a slideshow](https://forum.kirupa.com/t/drag-and-drop-images-to-create-a-slideshow/304714)

<div class="topic-metadata">

**Author:** [@grebigcon](https://forum.kirupa.com/u/grebigcon)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 12:20pm UTC](https://forum.kirupa.com/t/drag-and-drop-images-to-create-a-slideshow/304714 "2010-02-12T12:20:34Z")

</div>

can anybody have any tips on a template that have this function: I want to make a site with 5 menus with diffrent image gallery in each. example: people, landscape, abstract, animals, flowers. And from each of the ga…

---

## [Resizing Problem with preload](https://forum.kirupa.com/t/resizing-problem-with-preload/304713)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 12:00pm UTC](https://forum.kirupa.com/t/resizing-problem-with-preload/304713 "2010-02-12T12:00:39Z")

</div>

i guys, i've a problem with the resizing to the browser of a swf. I preload this swf that have in one layer a movieclip that contains the main animation and in the above layer this actionscript: ActionScript Code: \[L…

---

## [File Upload with .asp](https://forum.kirupa.com/t/file-upload-with-asp/304712)

<div class="topic-metadata">

**Author:** [@mjorge](https://forum.kirupa.com/u/mjorge)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 11:34am UTC](https://forum.kirupa.com/t/file-upload-with-asp/304712 "2010-02-12T11:34:55Z")

</div>

Hello, I use to make Flash File Uploads using PHP, however at the moment I am facing a problem with Flash upload but calling a .asp file on the server to upload the file. I am using the tutorial: http://www.kirupa.com/…

---

## [Affecty ofZ-index on SWF file](https://forum.kirupa.com/t/affecty-ofz-index-on-swf-file/304707)

<div class="topic-metadata">

**Author:** [@vinvish](https://forum.kirupa.com/u/vinvish)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 8:29am UTC](https://forum.kirupa.com/t/affecty-ofz-index-on-swf-file/304707 "2010-02-12T08:29:54Z")

</div>

i have problem with working of Z-index with SWF file. i have menu \<div\> tag. inside that content\<div\> tag. My problem is i use CSS dropdown menus they have a Z-Index of 999 & Z-index of file is -99. When i embed the …

---

## [Refresh page for Jquery-horizontal newsticker](https://forum.kirupa.com/t/refresh-page-for-jquery-horizontal-newsticker/304706)

<div class="topic-metadata">

**Author:** [@sahman](https://forum.kirupa.com/u/sahman)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 8:13am UTC](https://forum.kirupa.com/t/refresh-page-for-jquery-horizontal-newsticker/304706 "2010-02-12T08:13:09Z")

</div>

Hello bro... My program for Information screen using Jquery-horizontal news sticker. I want add refresh page. I was added html syntax for refresh page (red mark). But, I have trouble with it because data always back to n…

---

## [\[AS3\] send data to php](https://forum.kirupa.com/t/as3-send-data-to-php/304705)

<div class="topic-metadata">

**Author:** [@anand\_as2](https://forum.kirupa.com/u/anand_as2)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 7:20am UTC](https://forum.kirupa.com/t/as3-send-data-to-php/304705 "2010-02-12T07:20:48Z")

</div>

Hi Friends, Plz help me I have stored all the data in an object. Now I have to send the data to php. Please help me with the code. Thanks in advance. :alien2:

---

## [Chart scroll bar](https://forum.kirupa.com/t/chart-scroll-bar/304704)

<div class="topic-metadata">

**Author:** [@dinja](https://forum.kirupa.com/u/dinja)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 7:13am UTC](https://forum.kirupa.com/t/chart-scroll-bar/304704 "2010-02-12T07:13:13Z")

</div>

How can I display horizontal scroll bar on chart?

---

## [Problem with Swf while loading for first time](https://forum.kirupa.com/t/problem-with-swf-while-loading-for-first-time/304703)

<div class="topic-metadata">

**Author:** [@kooldropz](https://forum.kirupa.com/u/kooldropz)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 6:15am UTC](https://forum.kirupa.com/t/problem-with-swf-while-loading-for-first-time/304703 "2010-02-12T06:15:09Z")

</div>

Hi all, I am new to as3 and i have stuck with a problem since last two days i tried to overcome it in many ways bt was of no use the problem is. AS3, I am loading an external swf animation and playing an audio which …

---

## [Sending HTML formated email with CDOSYS](https://forum.kirupa.com/t/sending-html-formated-email-with-cdosys/304701)

<div class="topic-metadata">

**Author:** [@jmartinez916](https://forum.kirupa.com/u/jmartinez916)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 4:29am UTC](https://forum.kirupa.com/t/sending-html-formated-email-with-cdosys/304701 "2010-02-12T04:29:49Z")

</div>

I'm having trouble sending my emails in an html format using CDOSYS, it sends fine in text...my code is below \<% Option Explicit dim sFname, sEmail, sMessage, sAddress, sPhone, sLoan, sLname dim oCdoMail…

---

## [Catch all global errors](https://forum.kirupa.com/t/catch-all-global-errors/304699)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 1:42am UTC](https://forum.kirupa.com/t/catch-all-global-errors/304699 "2010-02-12T01:42:31Z")

</div>

I'm wanting to create an error handler for a PHP site. Sadly, there are A LOT of pages, so adding error handling everywhere there could possibly be an error could get quite heavy, and I have already done most of the c…

---

## [Auto-creating links in CSS definition](https://forum.kirupa.com/t/auto-creating-links-in-css-definition/304697)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 12, 2010, 12:38am UTC](https://forum.kirupa.com/t/auto-creating-links-in-css-definition/304697 "2010-02-12T00:38:36Z")

</div>

I'm not much of a CSS guru, but is it possible to not only set a style in CSS, but also make an item a link, or at least define the href parameter in \<a\> tags? For instance, this will have the formatting AND the newest…

---

## [Add code in flvplayback skin](https://forum.kirupa.com/t/add-code-in-flvplayback-skin/304695)

<div class="topic-metadata">

**Author:** [@asthyanax](https://forum.kirupa.com/u/asthyanax)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:51pm UTC](https://forum.kirupa.com/t/add-code-in-flvplayback-skin/304695 "2010-02-11T23:51:23Z")

</div>

Hi, I am trying to do something but I don't even know if it's possible. I want to add a textfield in a flvplayback skin that displays the length of the video. I tried this: this.addEventListener(MetadataEvent.METADATA…

---

## [CS4 AS2 HTML : need swf that is placed in div to resize with browser window](https://forum.kirupa.com/t/cs4-as2-html-need-swf-that-is-placed-in-div-to-resize-with-browser-window/304694)

<div class="topic-metadata">

**Author:** [@michmons](https://forum.kirupa.com/u/michmons)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:33pm UTC](https://forum.kirupa.com/t/cs4-as2-html-need-swf-that-is-placed-in-div-to-resize-with-browser-window/304694 "2010-02-11T23:33:53Z")

</div>

hey folks. i have searched for a long time and have tried many ways, but have yet to come up with a solution. what i have: i have created a simple slideshow in CS4 AS2 flash. i have placed the swf in my HTML page ins…

---

## [Control an MC with another MC's random actions?](https://forum.kirupa.com/t/control-an-mc-with-another-mcs-random-actions/304691)

<div class="topic-metadata">

**Author:** [@softlamb](https://forum.kirupa.com/u/softlamb)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 11:04pm UTC](https://forum.kirupa.com/t/control-an-mc-with-another-mcs-random-actions/304691 "2010-02-11T23:04:45Z")

</div>

\[FONT=Arial\]I'm not very experienced with actionscript and I need some help from you guys... Say I have MC1 and MC2 both on the root timeline, I want to be able to click on MC1 to make MC2 go to either frame 2 or 3 at …

---

## [Button vs MC](https://forum.kirupa.com/t/button-vs-mc/304690)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 10:31pm UTC](https://forum.kirupa.com/t/button-vs-mc/304690 "2010-02-11T22:31:26Z")

</div>

Hello, I am creating something like a button but from a MC (region is the MC): region.addEventListener(MouseEvent.CLICK, region\_Click); region.addEventListener(MouseEvent.MOUSE\_OVER, region\_Over); region.addEv…

---

## [Gap Before Preloader Begins](https://forum.kirupa.com/t/gap-before-preloader-begins/304688)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 9:53pm UTC](https://forum.kirupa.com/t/gap-before-preloader-begins/304688 "2010-02-11T21:53:28Z")

</div>

Hi, Can anyone tell me any possible reasons why there is a gap of 5secs (ish) between my swf opening and my preloader starting (at like 90% complete)?? My first frame contains 228kb of info, could that be it? If it i…

---

## [How hard is it to learn Flex if you know AS3?](https://forum.kirupa.com/t/how-hard-is-it-to-learn-flex-if-you-know-as3/304687)

<div class="topic-metadata">

**Author:** [@arrow79](https://forum.kirupa.com/u/arrow79)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 8:25pm UTC](https://forum.kirupa.com/t/how-hard-is-it-to-learn-flex-if-you-know-as3/304687 "2010-02-11T20:25:48Z")

</div>

I'm relatively new to AS3, and I'm thinking that it would be advantageous to learn Flex as well. I assume there is a lot of crossover, but I have a friend who is a Flex developer who swears up and down that he doesn't kn…

---

## [Working with extra .AS files?](https://forum.kirupa.com/t/working-with-extra-as-files/304685)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 8:10pm UTC](https://forum.kirupa.com/t/working-with-extra-as-files/304685 "2010-02-11T20:10:28Z")

</div>

I have an FLA file that is one frame. ActionScript 3 code runs a few functions and when you click on things, other functions run. Pretty basic... I have some buttons and sprites that I would like to use with the exte…

---

## [FallingBalls-SimpleProblem\_I\_Think](https://forum.kirupa.com/t/fallingballs-simpleproblem-i-think/304684)

<div class="topic-metadata">

**Author:** [@espmilosj](https://forum.kirupa.com/u/espmilosj)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 7:45pm UTC](https://forum.kirupa.com/t/fallingballs-simpleproblem-i-think/304684 "2010-02-11T19:45:24Z")

</div>

Hi, again me with another problem... Idea is to create 2 buttons bt1 and bt2, and ball mc exported as Ball class. When you click bt1 it creates balls array and position all balls on stage according to math.random(). When…

---

## [MC Fade In / Fade Out](https://forum.kirupa.com/t/mc-fade-in-fade-out/304683)

<div class="topic-metadata">

**Author:** [@shapper](https://forum.kirupa.com/u/shapper)\
**Replies:** 0\
**Last updated:** [February 11, 2010, 7:44pm UTC](https://forum.kirupa.com/t/mc-fade-in-fade-out/304683 "2010-02-11T19:44:45Z")

</div>

Hello, I am getting a MC from my stage. I would like to make it fade in when the mouse is over and fade out when the mouse is out. How can I do this? Thank You, Miguel

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

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