# programming

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

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

**Page:** 1803

---

## [Maintaining \\n characters](https://forum.kirupa.com/t/maintaining-n-characters/220024)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:57pm UTC](https://forum.kirupa.com/t/maintaining-n-characters/220024 "2007-03-21T23:57:58Z")

</div>

I have a string in flash that contains to indicate new lines. When i pass it to a php page I use mysql\_real\_escape\_string on the variable, and when i echo it out before inserting into the mysql database, the string r…

---

## [Snapping to Grid](https://forum.kirupa.com/t/snapping-to-grid/220022)

<div class="topic-metadata">

**Author:** [@PrinceTaj](https://forum.kirupa.com/u/PrinceTaj)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:47pm UTC](https://forum.kirupa.com/t/snapping-to-grid/220022 "2007-03-21T23:47:07Z")

</div>

Hi Guys, I have created a grid using a script that tiles "10"x"10" square across the stage: function tileGrid(){ grid\_width = 10; grid\_height = 10; // x\_max = Math.round(Stage.width/grid\_wi…

---

## [Flash 8 and Input Boxes for PHP](https://forum.kirupa.com/t/flash-8-and-input-boxes-for-php/220021)

<div class="topic-metadata">

**Author:** [@d3v1an7](https://forum.kirupa.com/u/d3v1an7)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:39pm UTC](https://forum.kirupa.com/t/flash-8-and-input-boxes-for-php/220021 "2007-03-21T23:39:50Z")

</div>

Hello forums! I'm having a bit of a war with my flash project at the moment - I am making the slow transition from MX to 8, and finding that all the things that USED to work now don't. One of these things is my trust…

---

## [Help with ScrollPane component](https://forum.kirupa.com/t/help-with-scrollpane-component/220019)

<div class="topic-metadata">

**Author:** [@PrinceTaj](https://forum.kirupa.com/u/PrinceTaj)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:24pm UTC](https://forum.kirupa.com/t/help-with-scrollpane-component/220019 "2007-03-21T23:24:38Z")

</div>

Hi Guys, I'm fairly new to action script/Flash and was wondering if thgere is anybody out there who can tell me how I can go about populating a scrollPane component with movieClip objects or graphics? Many thanks P…

---

## [Please help out a Flash newbie?](https://forum.kirupa.com/t/please-help-out-a-flash-newbie/220017)

<div class="topic-metadata">

**Author:** [@CrazyCoder](https://forum.kirupa.com/u/CrazyCoder)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 11:14pm UTC](https://forum.kirupa.com/t/please-help-out-a-flash-newbie/220017 "2007-03-21T23:14:37Z")

</div>

\[expressionless\] I have what I thought was a fairly simple button code pieced together from stuff I found online but it doesn't seem to work. On release it is supposed to trigger a simple javascript function \[which works…

---

## [XML attribute error](https://forum.kirupa.com/t/xml-attribute-error/220014)

<div class="topic-metadata">

**Author:** [@pinoy\_storm](https://forum.kirupa.com/u/pinoy_storm)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 10:59pm UTC](https://forum.kirupa.com/t/xml-attribute-error/220014 "2007-03-21T22:59:12Z")

</div>

Hi KirupaPeople! I've created a simple flash movie that pulls search results from an xml file generated by php from an sql database. I've created a for loop that goes through each of the results and displays their at…

---

## [Point multiple pages to index.html](https://forum.kirupa.com/t/point-multiple-pages-to-index-html/220009)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 9:46pm UTC](https://forum.kirupa.com/t/point-multiple-pages-to-index-html/220009 "2007-03-21T21:46:32Z")

</div>

Is there anyway to redirect say page3.html to index.html. Basically so I can vary my SEO results and descriptions but effectivly send all traffic to the one index page?

---

## [Flipping pages](https://forum.kirupa.com/t/flipping-pages/220008)

<div class="topic-metadata">

**Author:** [@Newbie123](https://forum.kirupa.com/u/Newbie123)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 9:45pm UTC](https://forum.kirupa.com/t/flipping-pages/220008 "2007-03-21T21:45:45Z")

</div>

Anybody know any tutorials or can guide me on how to create an animation of flipping pages? Basically when the mouse hovers over a diary, the pages flick Any ideas? Thanks

---

## [Linestyle with BitmapData \*\* Challenge\*\*](https://forum.kirupa.com/t/linestyle-with-bitmapdata-challenge/220007)

<div class="topic-metadata">

**Author:** [@cyber\_rio](https://forum.kirupa.com/u/cyber_rio)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 9:30pm UTC](https://forum.kirupa.com/t/linestyle-with-bitmapdata-challenge/220007 "2007-03-21T21:30:40Z")

</div>

I am wondering if anyone could have the solution for this problem. I am creating the line trough "lineStyle" method but I need that instead of color on the fill I want to use an image.... something like the beginBitmap…

---

## [Arrays -what are they?](https://forum.kirupa.com/t/arrays-what-are-they/220006)

<div class="topic-metadata">

**Author:** [@superbungalow](https://forum.kirupa.com/u/superbungalow)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 8:49pm UTC](https://forum.kirupa.com/t/arrays-what-are-they/220006 "2007-03-21T20:49:50Z")

</div>

Can somebody please explain to me what an array is? I am a bit of a n00b.

---

## [Best SWF Encryption Tool](https://forum.kirupa.com/t/best-swf-encryption-tool/220004)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 8:44pm UTC](https://forum.kirupa.com/t/best-swf-encryption-tool/220004 "2007-03-21T20:44:02Z")

</div>

What is the best SWF Encryption Tool in your opinion?

---

## [addListener](https://forum.kirupa.com/t/addlistener/220002)

<div class="topic-metadata">

**Author:** [@rls](https://forum.kirupa.com/u/rls)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 8:16pm UTC](https://forum.kirupa.com/t/addlistener/220002 "2007-03-21T20:16:05Z")

</div>

\[FONT=Helv\] I am loading an external SWF that's created by captivate (so you can't add any actionscript inside of it) and need to trigger events in the parent movie based on the frame that external SWF is on. How can I…

---

## [Help loading external swf](https://forum.kirupa.com/t/help-loading-external-swf/220000)

<div class="topic-metadata">

**Author:** [@Sharp161](https://forum.kirupa.com/u/Sharp161)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 8:07pm UTC](https://forum.kirupa.com/t/help-loading-external-swf/220000 "2007-03-21T20:07:11Z")

</div>

This is the code from one of Pom's menu systems found here... http://www.kirupa.com/forum/showthread.php?t=80225 Heres the code: // Sets the cell that's on the scene invisible p.\_visible = false; // Button labels…

---

## [ShowRedrawRegions output?](https://forum.kirupa.com/t/showredrawregions-output/219999)

<div class="topic-metadata">

**Author:** [@kbb08](https://forum.kirupa.com/u/kbb08)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 7:46pm UTC](https://forum.kirupa.com/t/showredrawregions-output/219999 "2007-03-21T19:46:06Z")

</div>

Hi ppl, I was wondering I know that the flash8 showRedrawRegions function visually outline redrawn region in the debugger but I would like to know if there is any way to capture the output of that function in AS...I am…

---

## [HTML Text problem on Dynamic Text Box](https://forum.kirupa.com/t/html-text-problem-on-dynamic-text-box/219998)

<div class="topic-metadata">

**Author:** [@iloveny](https://forum.kirupa.com/u/iloveny)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 7:38pm UTC](https://forum.kirupa.com/t/html-text-problem-on-dynamic-text-box/219998 "2007-03-21T19:38:34Z")

</div>

Hi! I have a problem putting HTML text into dynamic text box that I created. I can't add tag like \<table\> or \<div\>. If I add those tags, the dynamic text box will not show anyting on the screen. Flash just ignores it…

---

## [Loader question?](https://forum.kirupa.com/t/loader-question/219988)

<div class="topic-metadata">

**Author:** [@subterraneo](https://forum.kirupa.com/u/subterraneo)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:42pm UTC](https://forum.kirupa.com/t/loader-question/219988 "2007-03-21T18:42:26Z")

</div>

Hi, I am new on flash so I read the loader tutorial: http://www.kirupa.com/developer/mx/percentagepreloader.htm and I used it on my movie but I have a question? my site take a time to show the loader and I want to kn…

---

## [\[Flash 8\] How do I make a hittest between two duplicated movie clips?](https://forum.kirupa.com/t/flash-8-how-do-i-make-a-hittest-between-two-duplicated-movie-clips/219986)

<div class="topic-metadata">

**Author:** [@superbungalow](https://forum.kirupa.com/u/superbungalow)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:32pm UTC](https://forum.kirupa.com/t/flash-8-how-do-i-make-a-hittest-between-two-duplicated-movie-clips/219986 "2007-03-21T18:32:32Z")

</div>

Please help, I am making a small game in which you are a little shooty spaceship type thing, and there are duplicated mines falling around you. When you press space, the shooty spaceship type thing fires duplicated bul…

---

## [Problems with PHP and AS2](https://forum.kirupa.com/t/problems-with-php-and-as2/219985)

<div class="topic-metadata">

**Author:** [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:29pm UTC](https://forum.kirupa.com/t/problems-with-php-and-as2/219985 "2007-03-21T18:29:55Z")

</div>

Hello all, I'm not having any luck with this over in the Flash 8 forum. For some reason, I always seem to post questions that no one knows the answers to. Anyway, I am working on a Flash file from an early tutorial fi…

---

## [listenerObject in an FLV](https://forum.kirupa.com/t/listenerobject-in-an-flv/219982)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:12pm UTC](https://forum.kirupa.com/t/listenerobject-in-an-flv/219982 "2007-03-21T18:12:52Z")

</div>

I have been using the following for awhile now import mx.video.\*; var listenerObject:Object = new Object(); listenerObject.complete = function():Void { \_root.gotoAndPlay("frame3"); trace(this); }; my\_FLVPlybk.addEventL…

---

## [Thumbnail + Larger Image gallery](https://forum.kirupa.com/t/thumbnail-larger-image-gallery/219981)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:12pm UTC](https://forum.kirupa.com/t/thumbnail-larger-image-gallery/219981 "2007-03-21T18:12:05Z")

</div>

Hey yall I am trying to use an image\_mc to load both the larger image and the thumbnails. This all pulls from XML and works fine and dandy however to decrease storage space on server I only want to use one parameter o…

---

## [Help with web template design](https://forum.kirupa.com/t/help-with-web-template-design/219979)

<div class="topic-metadata">

**Author:** [@joran420](https://forum.kirupa.com/u/joran420)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 6:07pm UTC](https://forum.kirupa.com/t/help-with-web-template-design/219979 "2007-03-21T18:07:03Z")

</div>

ok a couple of questions about web template design 1 \> Do I need to make an admin editing mode or is an XML config file usually enough(the client would just manually edit XML? 2\> Does anyone have a sample config xml fi…

---

## [Flash Banner Awards](https://forum.kirupa.com/t/flash-banner-awards/219975)

<div class="topic-metadata">

**Author:** [@davetheworst](https://forum.kirupa.com/u/davetheworst)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 5:08pm UTC](https://forum.kirupa.com/t/flash-banner-awards/219975 "2007-03-21T17:08:54Z")

</div>

Hi, I spend most of my time making banner advertisements, and I'm looking for some inspiration as we're having an overhaul of our style - does anyone know of a resource for the best of banner advertising on the web, such…

---

## [8 MCs orbiting around a centered Object](https://forum.kirupa.com/t/8-mcs-orbiting-around-a-centered-object/219971)

<div class="topic-metadata">

**Author:** [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 4:42pm UTC](https://forum.kirupa.com/t/8-mcs-orbiting-around-a-centered-object/219971 "2007-03-21T16:42:09Z")

</div>

Well, I have checked out Lee Brimelows Tutorial for this kind of a Carousel Object, but I found out, that i'm not able to modify too my needs to use it as Flash MX (Flash 6), and I tried the Cylinder Image Scroller by Le…

---

## [Problems with PHP/TXT based Poll](https://forum.kirupa.com/t/problems-with-php-txt-based-poll/219970)

<div class="topic-metadata">

**Author:** [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 4:32pm UTC](https://forum.kirupa.com/t/problems-with-php-txt-based-poll/219970 "2007-03-21T16:32:11Z")

</div>

Hello all, I am working with an early tutorial file developed by Alessandro over at sephiroth.it. It's working fine, that is it works fine until I update the file to run using AS 2 and Player 8. I'm openening the sc…

---

## [Option to search Within a Site, or WWW](https://forum.kirupa.com/t/option-to-search-within-a-site-or-www/219968)

<div class="topic-metadata">

**Author:** [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 4:25pm UTC](https://forum.kirupa.com/t/option-to-search-within-a-site-or-www/219968 "2007-03-21T16:25:04Z")

</div>

What do you guys think about site search features that give you the option to just search the site, or do a general www search? I have never been a big fan... I think it adds a little too much to what should be a simpl…

---

## [Dynamically placing thumbs and centering it - Help Needed](https://forum.kirupa.com/t/dynamically-placing-thumbs-and-centering-it-help-needed/219967)

<div class="topic-metadata">

**Author:** [@SilverChariot](https://forum.kirupa.com/u/SilverChariot)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 4:13pm UTC](https://forum.kirupa.com/t/dynamically-placing-thumbs-and-centering-it-help-needed/219967 "2007-03-21T16:13:25Z")

</div>

Hi Guys, I am currently trying to figure out this problem i have with the xml loaded thumbs. I cant seem to get the width of the loaded thumbs and place them dynamically on the stage. There are a few other things i w…

---

## [Can someone explain \_level0?](https://forum.kirupa.com/t/can-someone-explain--level0/219965)

<div class="topic-metadata">

**Author:** [@fid0](https://forum.kirupa.com/u/fid0)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 3:45pm UTC](https://forum.kirupa.com/t/can-someone-explain--level0/219965 "2007-03-21T15:45:56Z")

</div>

questionArray = \["What is 5 multiplied by 5?"\]; answerArray = \["25"\]; Question = (questionArray \[0\]); Answer = (answerArray \[0\]); array = \[dtext1\]; array \[0\] = Answer; trace (dtext1); //This output as \_lev…

---

## [onResize and "if not equal" problem](https://forum.kirupa.com/t/onresize-and-if-not-equal-problem/219964)

<div class="topic-metadata">

**Author:** [@Yamthief](https://forum.kirupa.com/u/Yamthief)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 3:38pm UTC](https://forum.kirupa.com/t/onresize-and-if-not-equal-problem/219964 "2007-03-21T15:38:20Z")

</div>

i'm making a flash site with a background image that is the size of the stage. this is quite straight forward, the background image is a movie clip called eyeBG, so i simply put an action in the first frame saying: ey…

---

## [Scrolling to XY?](https://forum.kirupa.com/t/scrolling-to-xy/219958)

<div class="topic-metadata">

**Author:** [@PDidee](https://forum.kirupa.com/u/PDidee)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 3:03pm UTC](https://forum.kirupa.com/t/scrolling-to-xy/219958 "2007-03-21T15:03:22Z")

</div>

I've been looking for an actionscript that will allow me to scroll to specific xy points on a website I'm recreating in Flash. I found one that kind of works well with a ease into xy position, but I was wondering if anyo…

---

## [Fade In - shouldn't this work?](https://forum.kirupa.com/t/fade-in-shouldnt-this-work/219956)

<div class="topic-metadata">

**Author:** [@halian](https://forum.kirupa.com/u/halian)\
**Replies:** 0\
**Last updated:** [March 21, 2007, 2:41pm UTC](https://forum.kirupa.com/t/fade-in-shouldnt-this-work/219956 "2007-03-21T14:41:41Z")

</div>

hey all - i'm trying to do a simple fade in function. Then after a certain amount of time, fade it out, fade the new one in, rinse, wash and repeat. I thought that this should work for the fade in portion but it doesn't …

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

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