# programming

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

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

**Page:** 1207

---

## [Site with login](https://forum.kirupa.com/t/site-with-login/262130)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 38\
**Last updated:** [June 6, 2008, 4:04pm UTC](https://forum.kirupa.com/t/site-with-login/262130 "2008-06-06T16:04:57Z")

</div>

Hello everyone, I'm starting a new project, and for this I want to first build a very basic site with login system. I'm most concerned about password handling, how do I do that safe? Basically I will have a table cal…

---

## [Please help loadSound Randomly on initial start](https://forum.kirupa.com/t/please-help-loadsound-randomly-on-initial-start/241562)

<div class="topic-metadata">

**Author:** [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 3:52pm UTC](https://forum.kirupa.com/t/please-help-loadsound-randomly-on-initial-start/241562 "2008-06-06T15:52:30Z")

</div>

Hey all, I have an MP3 player that i want to put on my site, I would like to have the first song be played randomly so it dosent grow stale. Here is the A.S. i'm using. Any ideas? var musicFolderName:String = "m…

---

## [Intro is running a bit slow in html page](https://forum.kirupa.com/t/intro-is-running-a-bit-slow-in-html-page/262370)

<div class="topic-metadata">

**Author:** [@rupnarayan\_b](https://forum.kirupa.com/u/rupnarayan_b)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 3:49pm UTC](https://forum.kirupa.com/t/intro-is-running-a-bit-slow-in-html-page/262370 "2008-06-06T15:49:19Z")

</div>

I have created an intro with matching sounds. Means when the scene in flash changes the song also changes, its working fine when i am exporting the movie in swf. But when i am placing that movie in html page it is runnin…

---

## [getURL() not working on macs](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467)

<div class="topic-metadata">

**Author:** [@ericisshort](https://forum.kirupa.com/u/ericisshort)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 3:43pm UTC](https://forum.kirupa.com/t/geturl-not-working-on-macs/262467 "2008-06-06T15:43:18Z")

</div>

I am having problems with a getURL() function that works fine on pcs and doesn't work on macs for some reason. if (page == 0) { getURL("javascript:sendPage()","historyframe"); gotoAndPlay(1); } else { gotoAnd…

---

## [Writing data from Flash, live](https://forum.kirupa.com/t/writing-data-from-flash-live/262484)

<div class="topic-metadata">

**Author:** [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 3:24pm UTC](https://forum.kirupa.com/t/writing-data-from-flash-live/262484 "2008-06-06T15:24:44Z")

</div>

Morning fellas, This is an area of Flash I haven't experimented in, so I don't know where to start. Is it possible to run an SWF, and have Flash export variables externally, as the SWF is running? So for example, e…

---

## [How i use the scrollRect property](https://forum.kirupa.com/t/how-i-use-the-scrollrect-property/262469)

<div class="topic-metadata">

**Author:** [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 3:20pm UTC](https://forum.kirupa.com/t/how-i-use-the-scrollrect-property/262469 "2008-06-06T15:20:50Z")

</div>

hi, How i use the scrollRect property, if any sample or web pages please mension that one...........

---

## [Resizing Sprites](https://forum.kirupa.com/t/resizing-sprites/262507)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 3:03pm UTC](https://forum.kirupa.com/t/resizing-sprites/262507 "2008-06-06T15:03:55Z")

</div>

I'm working on an app that allows the user to place images on the screen and move them around and resize them. These images are placed inside of a sprite that acts as a container for the images, which are in turn placed…

---

## [How to acheive this?](https://forum.kirupa.com/t/how-to-acheive-this/262505)

<div class="topic-metadata">

**Author:** [@westy2006](https://forum.kirupa.com/u/westy2006)\
**Replies:** 3\
**Last updated:** [June 6, 2008, 3:01pm UTC](https://forum.kirupa.com/t/how-to-acheive-this/262505 "2008-06-06T15:01:27Z")

</div>

Hello everyone, I am not sure the correct name of what I am trying to achieve, but I will try explain best I can. On my homepage I would like to display featured news of certain topics. Users can click on the tabs and t…

---

## [Move movieClip](https://forum.kirupa.com/t/move-movieclip/262468)

<div class="topic-metadata">

**Author:** [@mrManIsHere](https://forum.kirupa.com/u/mrManIsHere)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 2:30pm UTC](https://forum.kirupa.com/t/move-movieclip/262468 "2008-06-06T14:30:12Z")

</div>

Hi I would like to move my movieclip from left to right, depending where my cursor pointing? it seems like it should be the simplest of tasks, sense alot of pages has one of those. http://www.nicbrunson.com/ something li…

---

## [Loading PHP and XML file](https://forum.kirupa.com/t/loading-php-and-xml-file/262322)

<div class="topic-metadata">

**Author:** [@rollwithit80](https://forum.kirupa.com/u/rollwithit80)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 1:51pm UTC](https://forum.kirupa.com/t/loading-php-and-xml-file/262322 "2008-06-06T13:51:48Z")

</div>

Hi Guys, I am trying to load a php that outputs xml data from a database. It then calls a function to display the thumbnails. For some reason I can't get the php file to load or its not loading. I have spent all day loo…

---

## [Tell Loader object to stop loading?](https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 1:43pm UTC](https://forum.kirupa.com/t/tell-loader-object-to-stop-loading/262338 "2008-06-06T13:43:19Z")

</div>

how do I know if a Loader is loading something, and if it is, cancel/unload what it is doing and go back to it's initial state..

---

## [PHP / XML / FLASH photo gallery](https://forum.kirupa.com/t/php-xml-flash-photo-gallery/261203)

<div class="topic-metadata">

**Author:** [@NANO3](https://forum.kirupa.com/u/NANO3)\
**Replies:** 3\
**Last updated:** [June 6, 2008, 1:18pm UTC](https://forum.kirupa.com/t/php-xml-flash-photo-gallery/261203 "2008-06-06T13:18:08Z")

</div>

Anyone know of a free, open source, photo gallery that can read all the files in a directory, create complementary thumbnails for each one of those images, and put those in an XML file which would then be read by the Fla…

---

## [Spidergram](https://forum.kirupa.com/t/spidergram/262483)

<div class="topic-metadata">

**Author:** [@elyleebert](https://forum.kirupa.com/u/elyleebert)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 11:17am UTC](https://forum.kirupa.com/t/spidergram/262483 "2008-06-06T11:17:50Z")

</div>

Hi All I am wondering whether someone could give me some advice on a project I would like to produce. It's a Spidergram and basically you have a series of spokes and these represent a score. There are text input boxes …

---

## [(Cannot) Masking multi objects, please help!](https://forum.kirupa.com/t/cannot-masking-multi-objects-please-help/262391)

<div class="topic-metadata">

**Author:** [@bonnieraymond](https://forum.kirupa.com/u/bonnieraymond)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 11:01am UTC](https://forum.kirupa.com/t/cannot-masking-multi-objects-please-help/262391 "2008-06-06T11:01:17Z")

</div>

Hello, I'm encountering this weird problem: // first, I set the mask to movie1\_mc movie1\_mc.mask = mask\_mc; // mask works well // but when I set the mask to movie2\_mc: movie2\_mc.mask = mask\_mc; // ok, movie2\_mc got t…

---

## [Hw is this Flash Site Done](https://forum.kirupa.com/t/hw-is-this-flash-site-done/262481)

<div class="topic-metadata">

**Author:** [@trex](https://forum.kirupa.com/u/trex)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 10:01am UTC](https://forum.kirupa.com/t/hw-is-this-flash-site-done/262481 "2008-06-06T10:01:42Z")

</div>

im trying to make a site like www.georgespencer.com bt i'm having difficulty figuring out two functionalities here.. when you click on any thumbnail..it zooms and navigation buttons appear at the sides..if you move …

---

## [How to handle an image queue and a random animation](https://forum.kirupa.com/t/how-to-handle-an-image-queue-and-a-random-animation/262425)

<div class="topic-metadata">

**Author:** [@Chathura\_Bandar](https://forum.kirupa.com/u/Chathura_Bandar)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 9:56am UTC](https://forum.kirupa.com/t/how-to-handle-an-image-queue-and-a-random-animation/262425 "2008-06-06T09:56:11Z")

</div>

I am trying to find a solution to do something similar to what it mentioned below. I have a x number images, these images should load one by one. Ideally float in and blurred out. After every Y number of images, there …

---

## [Image Gallery via XML help](https://forum.kirupa.com/t/image-gallery-via-xml-help/262299)

<div class="topic-metadata">

**Author:** [@colorful\_tones](https://forum.kirupa.com/u/colorful_tones)\
**Replies:** 3\
**Last updated:** [June 6, 2008, 9:30am UTC](https://forum.kirupa.com/t/image-gallery-via-xml-help/262299 "2008-06-06T09:30:56Z")

</div>

Hi, I have a swf with an embedded image of a map. Over the map I've placed several movieClip buttons to represent different locations on the map. I've managed to put together a simple reusable button class that allows …

---

## [Particles: help!](https://forum.kirupa.com/t/particles-help/262388)

<div class="topic-metadata">

**Author:** [@Carin](https://forum.kirupa.com/u/Carin)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 7:38am UTC](https://forum.kirupa.com/t/particles-help/262388 "2008-06-06T07:38:38Z")

</div>

Hi I’m really new to this actionscript game and even newer to actionscript 3, but i desperately need some help with something my brain just doesn’t want to grasp. I am trying to change some open source code for a partic…

---

## [Moviclip Slider](https://forum.kirupa.com/t/moviclip-slider/262470)

<div class="topic-metadata">

**Author:** [@mrManIsHere](https://forum.kirupa.com/u/mrManIsHere)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 7:17am UTC](https://forum.kirupa.com/t/moviclip-slider/262470 "2008-06-06T07:17:27Z")

</div>

Hi I would like to move my movieclip from left to right, depending where my cursor pointing? it seems like it should be the simplest of tasks, sense alot of pages has one of those. http://www.nicbrunson.com/ something li…

---

## [Problems with printing with PrintJob](https://forum.kirupa.com/t/problems-with-printing-with-printjob/262403)

<div class="topic-metadata">

**Author:** [@dejanp](https://forum.kirupa.com/u/dejanp)\
**Replies:** 1\
**Last updated:** [June 6, 2008, 7:15am UTC](https://forum.kirupa.com/t/problems-with-printing-with-printjob/262403 "2008-06-06T07:15:01Z")

</div>

Everything prints great localy but when I upload files on server it either won't display Print window or it gives message "Spooling" and prints nothing. I am printing bitmaps. Any idea?

---

## [Sealed Subclasses of Dynamic Classes](https://forum.kirupa.com/t/sealed-subclasses-of-dynamic-classes/262175)

<div class="topic-metadata">

**Author:** [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Replies:** 15\
**Last updated:** [June 6, 2008, 7:03am UTC](https://forum.kirupa.com/t/sealed-subclasses-of-dynamic-classes/262175 "2008-06-06T07:03:59Z")

</div>

So, what’s the deal with sealed subclasses of dynamic classes? First of all, if you have a class like this: package { import flash.display.\*; public class SealedClip extends MovieClip { public function …

---

## [Can I condense this?](https://forum.kirupa.com/t/can-i-condense-this/262419)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 8\
**Last updated:** [June 6, 2008, 6:53am UTC](https://forum.kirupa.com/t/can-i-condense-this/262419 "2008-06-06T06:53:24Z")

</div>

for the rollOver rollOut functions, in AS2 I could just run the function in the loop like this: AS2: var names:Array = new Array("Video Introduction", "2008-2009 Catalog"); for (var i = 0; i \< names.length; i+…

---

## [Use of null?](https://forum.kirupa.com/t/use-of-null/262441)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 9\
**Last updated:** [June 6, 2008, 6:41am UTC](https://forum.kirupa.com/t/use-of-null/262441 "2008-06-06T06:41:01Z")

</div>

I have a FLV player with standard controls. I have also made another play buttons that sits ontop of the video until it starts playing. vidPlayer.addEventListener(VideoEvent.PLAYING\_STATE\_ENTERED, hidePlaybtn); //whe…

---

## [Required Fields - Contact Form](https://forum.kirupa.com/t/required-fields-contact-form/262462)

<div class="topic-metadata">

**Author:** [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 4:23am UTC](https://forum.kirupa.com/t/required-fields-contact-form/262462 "2008-06-06T04:23:00Z")

</div>

Hi, I’ve set up a contact form for a website I’m making. The pages involved is contact.html which is the page the HTML form is on, and mailer.php which contains the PHP script that sends an email. The form works fine,…

---

## [Securing HTML pages & PDFs from being saved and printed](https://forum.kirupa.com/t/securing-html-pages-pdfs-from-being-saved-and-printed/262426)

<div class="topic-metadata">

**Author:** [@NS05](https://forum.kirupa.com/u/NS05)\
**Replies:** 6\
**Last updated:** [June 6, 2008, 4:00am UTC](https://forum.kirupa.com/t/securing-html-pages-pdfs-from-being-saved-and-printed/262426 "2008-06-06T04:00:48Z")

</div>

Hi, I was wondering if anyone knew if it was possible with some sort of code that is compatible with .net 2.0 to secure a websites pages HTML and otherwise as well as the PDF files from being saved or printed? Thank…

---

## [How to use for loop to set the visible property of many movieclips](https://forum.kirupa.com/t/how-to-use-for-loop-to-set-the-visible-property-of-many-movieclips/262376)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 5\
**Last updated:** [June 6, 2008, 3:47am UTC](https://forum.kirupa.com/t/how-to-use-for-loop-to-set-the-visible-property-of-many-movieclips/262376 "2008-06-06T03:47:50Z")

</div>

Hello, I have many photo MovieClips that need to set visible to false, for example: mphoto0.visible = false; mPhoto1.visible = false; mPhoto2.visible = false; mPhoto3.visible = false; mPhoto4.visible = false; mPho…

---

## [FF help and one suggestion](https://forum.kirupa.com/t/ff-help-and-one-suggestion/262453)

<div class="topic-metadata">

**Author:** [@ff123](https://forum.kirupa.com/u/ff123)\
**Replies:** 2\
**Last updated:** [June 6, 2008, 3:13am UTC](https://forum.kirupa.com/t/ff-help-and-one-suggestion/262453 "2008-06-06T03:13:01Z")

</div>

is there anyway to have different CSS for FF and different for IE.. if the user is browsing with FF he gets FF CSS loaded and if IE then IE CSS loaded...

---

## [Checking value of input text?](https://forum.kirupa.com/t/checking-value-of-input-text/262392)

<div class="topic-metadata">

**Author:** [@Pixelmech](https://forum.kirupa.com/u/Pixelmech)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 2:36am UTC](https://forum.kirupa.com/t/checking-value-of-input-text/262392 "2008-06-06T02:36:15Z")

</div>

Hi folks, Working on a simple dog and pony show that needs to fake some password entry. I'm in Flash CS3 using AS2.0. I have an Input Text field named "txt\_pinnums" and its line type is set to Password. It has a var…

---

## ['Infinite Menu' with AS3?](https://forum.kirupa.com/t/infinite-menu-with-as3/262332)

<div class="topic-metadata">

**Author:** [@larnar](https://forum.kirupa.com/u/larnar)\
**Replies:** 4\
**Last updated:** [June 6, 2008, 1:38am UTC](https://forum.kirupa.com/t/infinite-menu-with-as3/262332 "2008-06-06T01:38:02Z")

</div>

Hey everyone- long time reader, first time poster \[smile\] so my questions is this: How do I translate the AS2 code for the Infinite loop menu into AS3?? http://www.kirupa.com/developer/mx/infinite.htm in AS2, for the…

---

## [Flash for the Jamaican Gov, anyone?](https://forum.kirupa.com/t/flash-for-the-jamaican-gov-anyone/262266)

<div class="topic-metadata">

**Author:** [@pkjr04](https://forum.kirupa.com/u/pkjr04)\
**Replies:** 3\
**Last updated:** [June 6, 2008, 1:33am UTC](https://forum.kirupa.com/t/flash-for-the-jamaican-gov-anyone/262266 "2008-06-06T01:33:08Z")

</div>

So I am a Peace Corps volunteer in Jamaica and work in conjunction with the Ministry of Health. We kinda have a problem in our hospitals with people not knowing how to correctly to a toilet. People tear the bathrooms apa…

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

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