# programming

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

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

**Page:** 1579

---

## [Help--Flash File- 20K, too large for a website?](https://forum.kirupa.com/t/help-flash-file-20k-too-large-for-a-website/236077)

<div class="topic-metadata">

**Author:** [@lonestar](https://forum.kirupa.com/u/lonestar)\
**Replies:** 0\
**Last updated:** [August 17, 2007, 12:00am UTC](https://forum.kirupa.com/t/help-flash-file-20k-too-large-for-a-website/236077 "2007-08-17T00:00:31Z")

</div>

Hi everyone! I'm very new to flash and currently developing a wedding website. My website is 1 .fla file split into different frames and layers. Each frame block (about 10 frames for each page) has a different picture …

---

## [Trig Positioning Glitch](https://forum.kirupa.com/t/trig-positioning-glitch/236072)

<div class="topic-metadata">

**Author:** [@butcherBaker](https://forum.kirupa.com/u/butcherBaker)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 10:55pm UTC](https://forum.kirupa.com/t/trig-positioning-glitch/236072 "2007-08-16T22:55:28Z")

</div>

Hi, I can't get this simple class function to work properly. It's a version of the eyeball following the mouse, only, instead of rotating a simple graphic with an offcenter iris, I'm trying to move the iris only, positio…

---

## [setMask . Help needed](https://forum.kirupa.com/t/setmask-help-needed/236068)

<div class="topic-metadata">

**Author:** [@James001](https://forum.kirupa.com/u/James001)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 10:24pm UTC](https://forum.kirupa.com/t/setmask-help-needed/236068 "2007-08-16T22:24:44Z")

</div>

I have a movieClip instances that i have applied a blur to. I have then tried to mask the movieClip with the following: myMovieClip\_mc.setMask(myMask\_mc); I've also tried setting: cache the mask as Bitmap True as we…

---

## [Play immediately just by clicking on the song title](https://forum.kirupa.com/t/play-immediately-just-by-clicking-on-the-song-title/236065)

<div class="topic-metadata">

**Author:** [@lasse](https://forum.kirupa.com/u/lasse)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 9:26pm UTC](https://forum.kirupa.com/t/play-immediately-just-by-clicking-on-the-song-title/236065 "2007-08-16T21:26:39Z")

</div>

Hey Found this mp3 player in a tutorial http://www.kirupa.com/web/xml/examples/MP3playlist.htm and it works fine, but I'm trying to get to play the song when you click the title of the song and not like it is now by fi…

---

## [From Flash ti Html document](https://forum.kirupa.com/t/from-flash-ti-html-document/236064)

<div class="topic-metadata">

**Author:** [@lukedarkside](https://forum.kirupa.com/u/lukedarkside)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 9:06pm UTC](https://forum.kirupa.com/t/from-flash-ti-html-document/236064 "2007-08-16T21:06:47Z")

</div>

what Action Script code I can use to link to external HTML file? This file there isn't in the same folder of the SWF file...and its name is index.html but it isn't the home page...I've used on (release) { getURL…

---

## [SQL: most recent using multiple tables](https://forum.kirupa.com/t/sql-most-recent-using-multiple-tables/236062)

<div class="topic-metadata">

**Author:** [@boondocksaint2k](https://forum.kirupa.com/u/boondocksaint2k)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 8:40pm UTC](https://forum.kirupa.com/t/sql-most-recent-using-multiple-tables/236062 "2007-08-16T20:40:51Z")

</div>

Hi, I have three tables: \*\*work \*\*- contains details on each artwork; id, date, title, description, type \*\*albums \*\*- contains album names; id, album \*\*wa \*\*- the relationship table; work\_id, album\_id For a page in my …

---

## [Dynamic Text Multiline?](https://forum.kirupa.com/t/dynamic-text-multiline/236059)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 8:14pm UTC](https://forum.kirupa.com/t/dynamic-text-multiline/236059 "2007-08-16T20:14:56Z")

</div>

I have an email script, when email is submitted variables are sent to php as well as a dynamic text box displaying the informatoin that was sent. My issue is that the message variable is not multi lining in the dynamic t…

---

## ["Â" character appearing from php/mysql?!](https://forum.kirupa.com/t/a-character-appearing-from-php-mysql/236058)

<div class="topic-metadata">

**Author:** [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 8:14pm UTC](https://forum.kirupa.com/t/a-character-appearing-from-php-mysql/236058 "2007-08-16T20:14:03Z")

</div>

Hey Guys, Im getting this figure Â and some other strange characters out put when I echo my DB queries ...ive seen this happen on other sites within there copy but never had it happen to me. Any ideas or suggestions? …

---

## [\[F5\] Trouble with variables](https://forum.kirupa.com/t/f5-trouble-with-variables/236056)

<div class="topic-metadata">

**Author:** [@mugi](https://forum.kirupa.com/u/mugi)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 8:01pm UTC](https://forum.kirupa.com/t/f5-trouble-with-variables/236056 "2007-08-16T20:01:11Z")

</div>

Im still fairly new to programming with actionscript, but this isn't a largely complicated problem (I dont think so anyway). Anyway, what I am trying to accomplish is: -declare a variable -give that variable a value …

---

## [Trouble creating unique instance names for attachMovie](https://forum.kirupa.com/t/trouble-creating-unique-instance-names-for-attachmovie/236055)

<div class="topic-metadata">

**Author:** [@jasondefra](https://forum.kirupa.com/u/jasondefra)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 7:50pm UTC](https://forum.kirupa.com/t/trouble-creating-unique-instance-names-for-attachmovie/236055 "2007-08-16T19:50:46Z")

</div>

Hello everybody! I'm currently making a TicTacToe game to help build my Flash experience and I've come across an issue. I'll try and explain what everything is doing in my code thus far. I know it's a lot of code for …

---

## [Weird referencing problem](https://forum.kirupa.com/t/weird-referencing-problem/236053)

<div class="topic-metadata">

**Author:** [@jellystones](https://forum.kirupa.com/u/jellystones)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 7:34pm UTC](https://forum.kirupa.com/t/weird-referencing-problem/236053 "2007-08-16T19:34:19Z")

</div>

Has anyone ever had an issue with variables of type "movieClip" not correctly referencing their intended movie clip?? For example: in root I have a movieClip called "chart1". When coding inside the main time frame (ro…

---

## [What´s wrong when the swf appears before the external preloader gets to 100%?](https://forum.kirupa.com/t/what-s-wrong-when-the-swf-appears-before-the-external-preloader-gets-to-100/236050)

<div class="topic-metadata">

**Author:** [@filete](https://forum.kirupa.com/u/filete)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:39pm UTC](https://forum.kirupa.com/t/what-s-wrong-when-the-swf-appears-before-the-external-preloader-gets-to-100/236050 "2007-08-16T18:39:10Z")

</div>

Yep, I am rebulding one of my company website, and this is happening when the preloader gets to 75%. -External preloader, made with components. -Loading an external swf. Any idea? Thanks

---

## [Movie rewind function in label](https://forum.kirupa.com/t/movie-rewind-function-in-label/236048)

<div class="topic-metadata">

**Author:** [@Neoszion](https://forum.kirupa.com/u/Neoszion)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:36pm UTC](https://forum.kirupa.com/t/movie-rewind-function-in-label/236048 "2007-08-16T18:36:56Z")

</div>

Hi there, I have searched for a while but cant get it right.. Here goes... I have a button on my timeline when you mouse hover over the button there is an effect ( bg changes blah blah), on mouse over a 3d cube (expo…

---

## [Slider for an external .swf](https://forum.kirupa.com/t/slider-for-an-external-swf/236047)

<div class="topic-metadata">

**Author:** [@bottle19](https://forum.kirupa.com/u/bottle19)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 6:23pm UTC](https://forum.kirupa.com/t/slider-for-an-external-swf/236047 "2007-08-16T18:23:01Z")

</div>

Hello all, I am loading an external swf to a movie clip inside my main movie. I'd like to add some functionality like in FLVPlayback component. I can easily control the movieclip with stop(); or play(); commands, but I…

---

## [Button Rollover?](https://forum.kirupa.com/t/button-rollover/236041)

<div class="topic-metadata">

**Author:** [@yolkSac](https://forum.kirupa.com/u/yolkSac)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:58pm UTC](https://forum.kirupa.com/t/button-rollover/236041 "2007-08-16T17:58:42Z")

</div>

Can you call a button rollover state from inside a another MC? Thanks!

---

## [XML Gallery help (flash 8)](https://forum.kirupa.com/t/xml-gallery-help-flash-8/236040)

<div class="topic-metadata">

**Author:** [@flashnewbe82](https://forum.kirupa.com/u/flashnewbe82)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:53pm UTC](https://forum.kirupa.com/t/xml-gallery-help-flash-8/236040 "2007-08-16T17:53:54Z")

</div>

Hi all, I am trying to recreate this image rotator file: http://www.jhfunds.com/ I want both the images and the url's to be pulled in from an XML file. I have the images working, but can't seem to get the URL's to.…

---

## [Flash disabled vs Flash not installed](https://forum.kirupa.com/t/flash-disabled-vs-flash-not-installed/236037)

<div class="topic-metadata">

**Author:** [@DDD](https://forum.kirupa.com/u/DDD)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:29pm UTC](https://forum.kirupa.com/t/flash-disabled-vs-flash-not-installed/236037 "2007-08-16T17:29:37Z")

</div>

Ok I ran into a issue where customers are disbaling flash versus not having it installed (the player). What is going on is in IE, they get a broken image but the script detects they have the plugin installed (which the…

---

## [Color replacing](https://forum.kirupa.com/t/color-replacing/236036)

<div class="topic-metadata">

**Author:** [@jabberwokky](https://forum.kirupa.com/u/jabberwokky)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:27pm UTC](https://forum.kirupa.com/t/color-replacing/236036 "2007-08-16T17:27:55Z")

</div>

I am looking for a flash 8 tutorial on how to replace the color (overlay it) of an image. So, have a selection of colors, drag one over to a pre-defined area of an image, and that color is applied to that area of the ima…

---

## [Building a Flash interactive timeline](https://forum.kirupa.com/t/building-a-flash-interactive-timeline/236035)

<div class="topic-metadata">

**Author:** [@denlowe](https://forum.kirupa.com/u/denlowe)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 5:06pm UTC](https://forum.kirupa.com/t/building-a-flash-interactive-timeline/236035 "2007-08-16T17:06:09Z")

</div>

Anyone know of any links, tutorials to build a Flash interactive timeline? Thanks in advance! -Dennis

---

## [PC vs Mac dynamic text position](https://forum.kirupa.com/t/pc-vs-mac-dynamic-text-position/236034)

<div class="topic-metadata">

**Author:** [@nixon](https://forum.kirupa.com/u/nixon)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:52pm UTC](https://forum.kirupa.com/t/pc-vs-mac-dynamic-text-position/236034 "2007-08-16T16:52:52Z")

</div>

Is there anyone out there that has a PC and a Mac that may be able to tell me why there is a positioning difference in my flash movie? The (dynamic) text is supposed to be "base-lined" with the graphic on the right..It i…

---

## [Flash Gallery/Slideshow](https://forum.kirupa.com/t/flash-gallery-slideshow/236033)

<div class="topic-metadata">

**Author:** [@switchBack](https://forum.kirupa.com/u/switchBack)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:47pm UTC](https://forum.kirupa.com/t/flash-gallery-slideshow/236033 "2007-08-16T16:47:02Z")

</div>

Hey everyone. I'm having some problems getting this to work exactly the way I want it to. What I am wanting to do is generate a movieclip with a textField inside. These will each be created in a forLoop so that they wi…

---

## [Custom Scroll Bar Tutorial - Define start position?](https://forum.kirupa.com/t/custom-scroll-bar-tutorial-define-start-position/236032)

<div class="topic-metadata">

**Author:** [@pixel\_chick](https://forum.kirupa.com/u/pixel_chick)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:46pm UTC](https://forum.kirupa.com/t/custom-scroll-bar-tutorial-define-start-position/236032 "2007-08-16T16:46:29Z")

</div>

Hello. I did the Custom Scroll Bar Tutorial on the site, the revised it a bit to make it scroll horizontally so that it controls a mask over a panoramic image. It works beautifully! Then the client decides that instead o…

---

## [New problem with site](https://forum.kirupa.com/t/new-problem-with-site/236024)

<div class="topic-metadata">

**Author:** [@Iammontoya](https://forum.kirupa.com/u/Iammontoya)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:17pm UTC](https://forum.kirupa.com/t/new-problem-with-site/236024 "2007-08-16T16:17:51Z")

</div>

please visit http://www.evolutionscientific.com/ Im getting word that the menus (css) are really screwed up on some browser. In a weird twist, they say its only laptops. Can someone test this for me? If it's wrong, can…

---

## [Custom event for "onReleaseOutside"](https://forum.kirupa.com/t/custom-event-for-onreleaseoutside/236021)

<div class="topic-metadata">

**Author:** [@darkseed](https://forum.kirupa.com/u/darkseed)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:07pm UTC](https://forum.kirupa.com/t/custom-event-for-onreleaseoutside/236021 "2007-08-16T16:07:56Z")

</div>

I've read about how to get an "onReleaseOutside" here: http://www.kirupa.com/forum/showpost.php?p=1948182&postcount=204 Is there a way to extend the MouseEvent class to support this? In this way, the client class would…

---

## [Pathfinding/Seek & Evade AI](https://forum.kirupa.com/t/pathfinding-seek-evade-ai/236020)

<div class="topic-metadata">

**Author:** [@jerez\_z](https://forum.kirupa.com/u/jerez_z)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 3:56pm UTC](https://forum.kirupa.com/t/pathfinding-seek-evade-ai/236020 "2007-08-16T15:56:17Z")

</div>

I am building a basic little tank game and I'm having some trouble deciding on what pathfinding algorithms to do and how to implement them optimally. I have written my self a frame based A\* pathfinder but this takes to…

---

## [getURL to intranet link](https://forum.kirupa.com/t/geturl-to-intranet-link/236018)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 3:01pm UTC](https://forum.kirupa.com/t/geturl-to-intranet-link/236018 "2007-08-16T15:01:05Z")

</div>

We did a Flash presentation for a client and at the end of the presentation we trigger a getURL command that is supposed to take them to their intranet. The client is saying "it isn't working", what that means I'm not …

---

## [Flash 8: Digital Clock Tutorial](https://forum.kirupa.com/t/flash-8-digital-clock-tutorial/236017)

<div class="topic-metadata">

**Author:** [@lewis86](https://forum.kirupa.com/u/lewis86)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 2:57pm UTC](https://forum.kirupa.com/t/flash-8-digital-clock-tutorial/236017 "2007-08-16T14:57:27Z")

</div>

I followed the video that was attached to this and for some reason when i went to test the movie a bunch of errors showed up. I was wondering if anyone would be able to help me out. If I can send the error message and…

---

## [Getting runtime output from a Class](https://forum.kirupa.com/t/getting-runtime-output-from-a-class/236014)

<div class="topic-metadata">

**Author:** [@AndreasCS](https://forum.kirupa.com/u/AndreasCS)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 2:29pm UTC](https://forum.kirupa.com/t/getting-runtime-output-from-a-class/236014 "2007-08-16T14:29:33Z")

</div>

I'm very new to the AS2-\>AS3 transition, just found out sendAndLoad no longer exists in its easy glory. So I found this template; package { import flash.events.\*; import flash.net.\*; import flash.text.\*; …

---

## [Check if external file exists - URLRequest](https://forum.kirupa.com/t/check-if-external-file-exists-urlrequest/236013)

<div class="topic-metadata">

**Author:** [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 2:18pm UTC](https://forum.kirupa.com/t/check-if-external-file-exists-urlrequest/236013 "2007-08-16T14:18:29Z")

</div>

Hello, Is it possible to check if a file exists on the webserver? I need to dynamically load an image, but if it doesn't exist it should load another one and so on. I've tried it with URLRequest but that doesn't do t…

---

## [Please help... Gallery problem](https://forum.kirupa.com/t/please-help-gallery-problem/236012)

<div class="topic-metadata">

**Author:** [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 2:01pm UTC](https://forum.kirupa.com/t/please-help-gallery-problem/236012 "2007-08-16T14:01:19Z")

</div>

I've been cobbling together bits of code from all over these forums in an attempt to create an XML driven gallery with scrollable thumbnails, a slideshow stop/start function, next/previous buttons and a natty little bord…

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

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