# programming

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

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

**Page:** 1958

---

## [Loading a swf in a swf...?!?!](https://forum.kirupa.com/t/loading-a-swf-in-a-swf/208015)

<div class="topic-metadata">

**Author:** [@astinger](https://forum.kirupa.com/u/astinger)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 12:36am UTC](https://forum.kirupa.com/t/loading-a-swf-in-a-swf/208015 "2006-11-24T00:36:02Z")

</div>

hey, iv run into a problem... im creaing my portfolio, and i would like to open a swf though my main swf so the viewer can view a piece of my work... i have no idea what the code is... i read about "loadMovie" commands…

---

## [loadMovie and embedFonts not co-operating](https://forum.kirupa.com/t/loadmovie-and-embedfonts-not-co-operating/208012)

<div class="topic-metadata">

**Author:** [@Rubix1](https://forum.kirupa.com/u/Rubix1)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 11:11pm UTC](https://forum.kirupa.com/t/loadmovie-and-embedfonts-not-co-operating/208012 "2006-11-23T23:11:49Z")

</div>

So I'm attempting to embed a font in a dynamic text field and have run into a little issue with it. Basically at the moment, I've got this sort of thing going on: a Font Symbol with linkage ID "sydnie" (that's the nam…

---

## [nextFrame](https://forum.kirupa.com/t/nextframe/208010)

<div class="topic-metadata">

**Author:** [@podaskos](https://forum.kirupa.com/u/podaskos)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 10:35pm UTC](https://forum.kirupa.com/t/nextframe/208010 "2006-11-23T22:35:46Z")

</div>

I an newby in actionscript (and in thw forum) and i am creating a simple quiz. I want to go the next frame if the player press a button 3 times. I use the code: on (release) { \_root.total = \_root.total + 1; if (\_root.t…

---

## [Wildcard help - mySQL](https://forum.kirupa.com/t/wildcard-help-mysql/208007)

<div class="topic-metadata">

**Author:** [@tokyoboy](https://forum.kirupa.com/u/tokyoboy)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 9:24pm UTC](https://forum.kirupa.com/t/wildcard-help-mysql/208007 "2006-11-23T21:24:04Z")

</div>

Dear friends, Forgive me that my very first post is a question, but I really need to figure this out. I am trying to create a search form to search for pieces of music in an SQL database. The form is working but I'd li…

---

## [Editing and security with .htaccess](https://forum.kirupa.com/t/editing-and-security-with-htaccess/208006)

<div class="topic-metadata">

**Author:** [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 8:01pm UTC](https://forum.kirupa.com/t/editing-and-security-with-htaccess/208006 "2006-11-23T20:01:53Z")

</div>

Hi I'm currently updating a site with a similiar approach the guestbook tutorial on this sides uses to add entries, which is writing to a .xml file through flash with a little help from a .php script. Now, I don't wa…

---

## [How to make sure a movie clip will be visible over all other mc](https://forum.kirupa.com/t/how-to-make-sure-a-movie-clip-will-be-visible-over-all-other-mc/208001)

<div class="topic-metadata">

**Author:** [@MMorency](https://forum.kirupa.com/u/MMorency)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 7:19pm UTC](https://forum.kirupa.com/t/how-to-make-sure-a-movie-clip-will-be-visible-over-all-other-mc/208001 "2006-11-23T19:19:46Z")

</div>

\[COLOR=black\]Thank you for the \[/COLOR\]\[COLOR=red\]Complex\[/COLOR\]\[FONT=Arial\] \[FONT=Verdana\] \[COLOR=#003366\] \[COLOR=black\]\[COLOR=red\]Button RollOver/RollOut Effects\[/COLOR\]. I was able to create the Flash file mentio…

---

## [HTML/CSS: Preferences dialog form layout](https://forum.kirupa.com/t/html-css-preferences-dialog-form-layout/207996)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 6:43pm UTC](https://forum.kirupa.com/t/html-css-preferences-dialog-form-layout/207996 "2006-11-23T18:43:18Z")

</div>

What would be the "correct" way to layout a preferences dialog in HTML/CSS? Currently, I'm using tables, but I imagine that's not the best way to do it (you know, tables for tabular data only etc.). See the attached pic…

---

## [\[PEAR\] Reference question](https://forum.kirupa.com/t/pear-reference-question/207994)

<div class="topic-metadata">

**Author:** [@ZephyrWest](https://forum.kirupa.com/u/ZephyrWest)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 6:35pm UTC](https://forum.kirupa.com/t/pear-reference-question/207994 "2006-11-23T18:35:11Z")

</div>

I was reading through the PEAR docs and noticed that they assign by reference a lot. For example: $res =& $db-\>query('DELETE \* FROM table1'); Why do they do that? It seems to work fine without the "&" operator.

---

## [Publishing an .exe (combining files)](https://forum.kirupa.com/t/publishing-an-exe-combining-files/207990)

<div class="topic-metadata">

**Author:** [@perfecthill](https://forum.kirupa.com/u/perfecthill)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 4:25pm UTC](https://forum.kirupa.com/t/publishing-an-exe-combining-files/207990 "2006-11-23T16:25:37Z")

</div>

Hi! Great forum, and an awsome site in general! I would like to publsih a flash movie as an .exe, this movie uses a .txt document and some external .swfs (possibly even a database file, maybe even some XML). I wonder…

---

## [Photo Gallery with dropdown for multiple galleries](https://forum.kirupa.com/t/photo-gallery-with-dropdown-for-multiple-galleries/207985)

<div class="topic-metadata">

**Author:** [@gargamuza](https://forum.kirupa.com/u/gargamuza)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 3:16pm UTC](https://forum.kirupa.com/t/photo-gallery-with-dropdown-for-multiple-galleries/207985 "2006-11-23T15:16:08Z")

</div>

Hello everybody, I was working yesterday with the galleries from Scotty - http://www.kirupa.com/forum/showthread.php?t=87388 - trying to add a dropdown menu for the different galleries, instead of the buttons (I'm talkin…

---

## [XML-Driven Drop-Down Menu - Fade in items?](https://forum.kirupa.com/t/xml-driven-drop-down-menu-fade-in-items/207983)

<div class="topic-metadata">

**Author:** [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 11:58am UTC](https://forum.kirupa.com/t/xml-driven-drop-down-menu-fade-in-items/207983 "2006-11-23T11:58:02Z")

</div>

Hi Guys, Ive used the wonderful \[COLOR=black\]XML-Driven Drop-Down Menu\[/COLOR\]\[COLOR=black\] tutorial to create a menu system, but I want to take the animation a step further by having each submenu item 'fade' in one afte…

---

## [Contact form not working - of course](https://forum.kirupa.com/t/contact-form-not-working-of-course/207981)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 11:33am UTC](https://forum.kirupa.com/t/contact-form-not-working-of-course/207981 "2006-11-23T11:33:34Z")

</div>

My contact form isnt working like everyone elses, I know my site supports php so thats not a problem. Im sure it has something to do with my code, but I dont know what, you tell me:) I have a "name", "email", and "mess…

---

## [Get SSL Certificates for your Site](https://forum.kirupa.com/t/get-ssl-certificates-for-your-site/207980)

<div class="topic-metadata">

**Author:** [@trents4life](https://forum.kirupa.com/u/trents4life)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 11:15am UTC](https://forum.kirupa.com/t/get-ssl-certificates-for-your-site/207980 "2006-11-23T11:15:05Z")

</div>

Hello friends, Every serious internet user is aware of risks involved in online transactions such as phishing etc. Make your customers believe that your site is secured by getting SSL Certificate for your site. SSL cert…

---

## [Drawing in ScrollPane](https://forum.kirupa.com/t/drawing-in-scrollpane/207975)

<div class="topic-metadata">

**Author:** [@fshuja](https://forum.kirupa.com/u/fshuja)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 9:42am UTC](https://forum.kirupa.com/t/drawing-in-scrollpane/207975 "2006-11-23T09:42:17Z")

</div>

hi, i am using a ScrollPane component. inside the component i am loading an image. now i want to draw line on that image in the scrollPane, so that if the image is scrolled down/up the drawn lines also moved. how can i d…

---

## [Help with XML gallery tutorial](https://forum.kirupa.com/t/help-with-xml-gallery-tutorial/207973)

<div class="topic-metadata">

**Author:** [@Kasei](https://forum.kirupa.com/u/Kasei)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 9:32am UTC](https://forum.kirupa.com/t/help-with-xml-gallery-tutorial/207973 "2006-11-23T09:32:38Z")

</div>

On the tutorial \[COLOR=#003366\]Photo Gallery\[/COLOR\]\[FONT=Verdana\]\[COLOR=#003366\] Using XML and Flash on this page http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm I can´t get the flash files at the bott…

---

## [DataGrid Cell Color is not transparent](https://forum.kirupa.com/t/datagrid-cell-color-is-not-transparent/207972)

<div class="topic-metadata">

**Author:** [@mirzahat](https://forum.kirupa.com/u/mirzahat)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 8:59am UTC](https://forum.kirupa.com/t/datagrid-cell-color-is-not-transparent/207972 "2006-11-23T08:59:46Z")

</div>

Hello, I have a DataGrid that looks like this (http://www.kancelarijahatipovic.com/images/dataGridProb.jpg). Howevery, when I try to change the color of it via CSS Styles, I change the color, like a nice blue to match th…

---

## [Flash/Div Problems in Firefox](https://forum.kirupa.com/t/flash-div-problems-in-firefox/207968)

<div class="topic-metadata">

**Author:** [@ThisIsMyUserID](https://forum.kirupa.com/u/ThisIsMyUserID)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 7:28am UTC](https://forum.kirupa.com/t/flash-div-problems-in-firefox/207968 "2006-11-23T07:28:40Z")

</div>

Okay, so I have a flash file of snowflakes falling that is absolutely positioned over the my page. This works perfectly fine in internet explorer but horribly in firefox. I can't even see the snowflakes, but I know the d…

---

## [XML / Flash photo gallery help](https://forum.kirupa.com/t/xml-flash-photo-gallery-help/207964)

<div class="topic-metadata">

**Author:** [@akisok2](https://forum.kirupa.com/u/akisok2)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 4:56am UTC](https://forum.kirupa.com/t/xml-flash-photo-gallery-help/207964 "2006-11-23T04:56:18Z")

</div>

Thanks for the excellent tutorial on building an XML-based Flash photo gallery. It was very helpful. I have one question: is it possible to create one Flash file that loads different XML files via the url? That is, I…

---

## [Pop-Up Window Questions](https://forum.kirupa.com/t/pop-up-window-questions/207958)

<div class="topic-metadata">

**Author:** [@ajaxx715](https://forum.kirupa.com/u/ajaxx715)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 3:35am UTC](https://forum.kirupa.com/t/pop-up-window-questions/207958 "2006-11-23T03:35:31Z")

</div>

So I've been browsing online for how to open a pop-up window from an SWF, and found this one to be pretty useful: http://www.kirupa.com/developer/flash5/newwindow.htm However, there's a few things that differ with my…

---

## [About interval](https://forum.kirupa.com/t/about-interval/207957)

<div class="topic-metadata">

**Author:** [@cnboy0212](https://forum.kirupa.com/u/cnboy0212)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 3:28am UTC](https://forum.kirupa.com/t/about-interval/207957 "2006-11-23T03:28:37Z")

</div>

i created a button and a dynamic text box with variable "a" and here are my codes for the bottom: on(realese){ a = 5; setInterval(countdown,1000); function countdown(){ if(a \> 0){ a--; …

---

## [Adding Thumbnails Tutorial Question](https://forum.kirupa.com/t/adding-thumbnails-tutorial-question/207955)

<div class="topic-metadata">

**Author:** [@atodd66](https://forum.kirupa.com/u/atodd66)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 3:05am UTC](https://forum.kirupa.com/t/adding-thumbnails-tutorial-question/207955 "2006-11-23T03:05:05Z")

</div>

I am using the Adding Thumbnails Tutorial in a website and was wondering how to make the thumbnails vertical instead of horizintal. The link is: http://www.kirupa.com/developer/mx2004/thumbnails.htm Thanks for any help…

---

## [How does the watch function pass on arguments?](https://forum.kirupa.com/t/how-does-the-watch-function-pass-on-arguments/207953)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 2:59am UTC](https://forum.kirupa.com/t/how-does-the-watch-function-pass-on-arguments/207953 "2006-11-23T02:59:28Z")

</div>

Regarding the 'detecting direction of mouse' tutorial, heres a small cut part: checkX = function (dx, oldVal, newVal) { if (oldVal \< newVal) { dir = "right"; } else { dir = "left"; } return newVal; }; this.wat…

---

## [Help! AI interaction problem!](https://forum.kirupa.com/t/help-ai-interaction-problem/207949)

<div class="topic-metadata">

**Author:** [@Darth\_Arias](https://forum.kirupa.com/u/Darth_Arias)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 2:32am UTC](https://forum.kirupa.com/t/help-ai-interaction-problem/207949 "2006-11-23T02:32:28Z")

</div>

I am currently making a simple game to be a base for further projects. Here is a demo: DEMO If you notice, when moving, if you touch an enemy, you can hear a scream (meaning the character registers a hit test and sho…

---

## [Candle flame effect](https://forum.kirupa.com/t/candle-flame-effect/207945)

<div class="topic-metadata">

**Author:** [@treasureplane](https://forum.kirupa.com/u/treasureplane)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 12:51am UTC](https://forum.kirupa.com/t/candle-flame-effect/207945 "2006-11-23T00:51:55Z")

</div>

Hi all, first time posting. I'm working on an e-card at the moment that features a bunch of cupcakes with lit candles in them. I'd like to have the candles lit like this one: http://www.peterjoel.com/flash8previews/c…

---

## [Adding a zoom script to this?](https://forum.kirupa.com/t/adding-a-zoom-script-to-this/207944)

<div class="topic-metadata">

**Author:** [@threeninethree](https://forum.kirupa.com/u/threeninethree)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 12:45am UTC](https://forum.kirupa.com/t/adding-a-zoom-script-to-this/207944 "2006-11-23T00:45:53Z")

</div>

Everyone has probably seen this source, I think its from Actionscript.org. I was trying to add a feature on release that when the container reaches the X,Y specified for each button, that it would then have a few seconds…

---

## [Displaying XML in Flash?](https://forum.kirupa.com/t/displaying-xml-in-flash/207941)

<div class="topic-metadata">

**Author:** [@Atarian](https://forum.kirupa.com/u/Atarian)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 12:12am UTC](https://forum.kirupa.com/t/displaying-xml-in-flash/207941 "2006-11-23T00:12:22Z")

</div>

I have some statistical data that is in xml form, and I tried to use this tutorial to display it in my flash file, but my xml structure is different and I am having trouble modifying the actionscript to work with my info…

---

## [AS Slideshow](https://forum.kirupa.com/t/as-slideshow/207940)

<div class="topic-metadata">

**Author:** [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 12:06am UTC](https://forum.kirupa.com/t/as-slideshow/207940 "2006-11-23T00:06:19Z")

</div>

Hey, I found this online. It seems pretty cool. I was wondering if anyone knows how I could have it jump to a frame label upon running through all of the external images once.

---

## [Whats the correct syntax?](https://forum.kirupa.com/t/whats-the-correct-syntax/207937)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 10:48pm UTC](https://forum.kirupa.com/t/whats-the-correct-syntax/207937 "2006-11-22T22:48:36Z")

</div>

I have a function that I want to use for all my menus: function button(menuvar){ trace(menuvar); \_root.menuvar.gotoAndPlay("open"); } So if I call the function from a rollover I can send the menu name as a…

---

## [AS3: Is it good to learn AS3 for Flash 9 through Flex 2?](https://forum.kirupa.com/t/as3-is-it-good-to-learn-as3-for-flash-9-through-flex-2/207936)

<div class="topic-metadata">

**Author:** [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 10:37pm UTC](https://forum.kirupa.com/t/as3-is-it-good-to-learn-as3-for-flash-9-through-flex-2/207936 "2006-11-22T22:37:59Z")

</div>

Hey Sen, Would be of amjor benifit to learn the AS3 structure by way of Flex for the next verison of Flash? What I mean is, will Flash 9's AS be AS3 such as it is in Flex... and if so, would it be wise for me to famil…

---

## [startDrag outside of boundries problem (with source code)](https://forum.kirupa.com/t/startdrag-outside-of-boundries-problem-with-source-code/207929)

<div class="topic-metadata">

**Author:** [@skyp](https://forum.kirupa.com/u/skyp)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 9:25pm UTC](https://forum.kirupa.com/t/startdrag-outside-of-boundries-problem-with-source-code/207929 "2006-11-22T21:25:23Z")

</div>

trying to made a jigsaw puzzle, and using dynamic function to cut picture to pieces, but the pieces are not drag properly, except top-left coner one. any one can help please. ps:any good idea and suggestions on how t…

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

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