# programming

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

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

**Page:** 394

---

## [Flash AS3.0 Help - Website Navigation](https://forum.kirupa.com/t/flash-as3-0-help-website-navigation/315322)

<div class="topic-metadata">

**Author:** [@Epicus](https://forum.kirupa.com/u/Epicus)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 10:04pm UTC](https://forum.kirupa.com/t/flash-as3-0-help-website-navigation/315322 "2010-10-22T22:04:55Z")

</div>

Hi kirupa community, I am a new Flash AS3.0 learner and I need some help visualizing and applying some ideas of AS3.0 for a project I'm working on. I've .zip'd the shell up and uploaded it to mediafire.com. http://…

---

## [Getting Variables to work with AS3](https://forum.kirupa.com/t/getting-variables-to-work-with-as3/315321)

<div class="topic-metadata">

**Author:** [@mobo57](https://forum.kirupa.com/u/mobo57)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 9:48pm UTC](https://forum.kirupa.com/t/getting-variables-to-work-with-as3/315321 "2010-10-22T21:48:57Z")

</div>

Please oh PLEASE!!! You kind souls, help this wretched person. Cannot get my variables to work. My relevant sections of code: AS3: var request:URLRequest = new URLRequest ("http://www.xxxxx.com/pages/XXXX/XXXXindex.…

---

## [Working with functions in external as file](https://forum.kirupa.com/t/working-with-functions-in-external-as-file/315320)

<div class="topic-metadata">

**Author:** [@Toelli](https://forum.kirupa.com/u/Toelli)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 9:17pm UTC](https://forum.kirupa.com/t/working-with-functions-in-external-as-file/315320 "2010-10-22T21:17:53Z")

</div>

Hello ... Im trying to understand alittle more about using external files. In my flash actionscript window i basicly want to access a function that i wish to put in an external .as file ... but i just cant seem to g…

---

## [XML filtering decendant atributes](https://forum.kirupa.com/t/xml-filtering-decendant-atributes/315319)

<div class="topic-metadata">

**Author:** [@munkinugget](https://forum.kirupa.com/u/munkinugget)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 9:15pm UTC](https://forum.kirupa.com/t/xml-filtering-decendant-atributes/315319 "2010-10-22T21:15:47Z")

</div>

This is my first post on this forum, so sorry If Im posting in the wrong spot or asking stupid questions. I've been programing for several years, but I'm kinda new to using XML in flash. I'm making an xml menu system a…

---

## [Access to first frame variables from SWC](https://forum.kirupa.com/t/access-to-first-frame-variables-from-swc/315317)

<div class="topic-metadata">

**Author:** [@havarez](https://forum.kirupa.com/u/havarez)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 8:17pm UTC](https://forum.kirupa.com/t/access-to-first-frame-variables-from-swc/315317 "2010-10-22T20:17:20Z")

</div>

Hello forum! I have maybe a strange question... I use flashIDE(CS5) to create and organize my assets for flash game. Some movieclips need to have specific params. I am typing them at a MC's first frame: \[COLOR="Dim…

---

## [IFF Statement with multiple Conditions](https://forum.kirupa.com/t/iff-statement-with-multiple-conditions/315312)

<div class="topic-metadata">

**Author:** [@Bmoeb](https://forum.kirupa.com/u/Bmoeb)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 6:18pm UTC](https://forum.kirupa.com/t/iff-statement-with-multiple-conditions/315312 "2010-10-22T18:18:35Z")

</div>

//\<%#IFF (Eval("SITEID").ToString() =="35" OR Eval("SITEID").ToString() == "18","\<a href='/"+Eval("SeoName")+"/' \>\<strong\>"+Eval("FRIENDLYNAME")+"\</strong\>\</a\>", "")%\> Ok I will admit I have no Idea what I am doing, …

---

## [PHP/MySQL programming?](https://forum.kirupa.com/t/php-mysql-programming/315311)

<div class="topic-metadata">

**Author:** [@sonjeriff](https://forum.kirupa.com/u/sonjeriff)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 6:03pm UTC](https://forum.kirupa.com/t/php-mysql-programming/315311 "2010-10-22T18:03:08Z")

</div>

hi , ive made a member profile page and i want to grab the member data from the mysql table and display it on the page. i want to grab the data from the row associated with the member logged in. 7zip download

---

## [Help with reference](https://forum.kirupa.com/t/help-with-reference/315310)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 5:55pm UTC](https://forum.kirupa.com/t/help-with-reference/315310 "2010-10-22T17:55:57Z")

</div>

Hi guys, I need a little help. My Main Class: package { // Flash Classes import flash.display.MovieClip; import flash.events.Event; import core.InitStage; public class Main extends MovieClip { pri…

---

## [Getting a reference to a class in a swf](https://forum.kirupa.com/t/getting-a-reference-to-a-class-in-a-swf/315306)

<div class="topic-metadata">

**Author:** [@alenehan](https://forum.kirupa.com/u/alenehan)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 3:52pm UTC](https://forum.kirupa.com/t/getting-a-reference-to-a-class-in-a-swf/315306 "2010-10-22T15:52:13Z")

</div>

Well I've been searching the web and knocking my head against the wall long enough to justify an inquiry. Anybody know an elegant way to get a usable reference to a class in a loaded swf? I find that this approach, f…

---

## [TextInput text color pain](https://forum.kirupa.com/t/textinput-text-color-pain/315305)

<div class="topic-metadata">

**Author:** [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 3:05pm UTC](https://forum.kirupa.com/t/textinput-text-color-pain/315305 "2010-10-22T15:05:12Z")

</div>

Hey guys I'm having trouble setting the color of the text of a TextInput component. I know there is a TextField within it, I'm trying several methods, but none works: ----------- method 1 (textField.textColor) inpu…

---

## [As2 As3 MCs overlapping / simultaneously clickable](https://forum.kirupa.com/t/as2-as3-mcs-overlapping-simultaneously-clickable/315303)

<div class="topic-metadata">

**Author:** [@Infected](https://forum.kirupa.com/u/Infected)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 12:49pm UTC](https://forum.kirupa.com/t/as2-as3-mcs-overlapping-simultaneously-clickable/315303 "2010-10-22T12:49:45Z")

</div>

Hello Kirupa Community. I know my title is rather stupid but i wasn't sure on how to call my problem. Well, let me explain... I got a website that i coded in AS3 - inside the website, i use a video gallery that is do…

---

## [Mouse RollOut detection problem](https://forum.kirupa.com/t/mouse-rollout-detection-problem/315302)

<div class="topic-metadata">

**Author:** [@anon45720911](https://forum.kirupa.com/u/anon45720911)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 11:58am UTC](https://forum.kirupa.com/t/mouse-rollout-detection-problem/315302 "2010-10-22T11:58:00Z")

</div>

Currently I'm working on a flash carousel menu for a certain application. On the icons that move around in the carousel I added an mouse RollOver and RollOut event listener. When the user moves his mouse over the icon,…

---

## [Online Flash Game](https://forum.kirupa.com/t/online-flash-game/315301)

<div class="topic-metadata">

**Author:** [@mark\_bcn](https://forum.kirupa.com/u/mark_bcn)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 11:45am UTC](https://forum.kirupa.com/t/online-flash-game/315301 "2010-10-22T11:45:31Z")

</div>

Hello, I'm Mark and I am quite new in this world. Recently I just made a simple (or not that simple) game with flash cs4 and actionscript3, but obviously is only playable in local. My question is, now if I would l…

---

## [Get data with URLLoader using one function?](https://forum.kirupa.com/t/get-data-with-urlloader-using-one-function/315298)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 10:29am UTC](https://forum.kirupa.com/t/get-data-with-urlloader-using-one-function/315298 "2010-10-22T10:29:11Z")

</div>

Problem: How can I write a function so that it assigns the retrived data to a variable? Setup: data.txt contents: "This is my data." Code: // Simplest way to get String data from a txt/php file: function queryData…

---

## [Set base class (behaviour) in pure AS3?](https://forum.kirupa.com/t/set-base-class-behaviour-in-pure-as3/315289)

<div class="topic-metadata">

**Author:** [@arundracula](https://forum.kirupa.com/u/arundracula)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 4:02am UTC](https://forum.kirupa.com/t/set-base-class-behaviour-in-pure-as3/315289 "2010-10-22T04:02:50Z")

</div>

In flash CS3 we can set a base class. What if I do artworks in Flash 8 and code in Flashdevelop? How do I achieve the base class functionality in this situation?

---

## [PHP variable in SQL](https://forum.kirupa.com/t/php-variable-in-sql/315288)

<div class="topic-metadata">

**Author:** [@kyle787](https://forum.kirupa.com/u/kyle787)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 2:56am UTC](https://forum.kirupa.com/t/php-variable-in-sql/315288 "2010-10-22T02:56:04Z")

</div>

Hi a user posted a similar question to this earlier today but I didn't help. So here is the problem, I have a form on edit.php and it allows users to edit their information that the posted upon registration. Upon subm…

---

## [Question about browser caching in Flash](https://forum.kirupa.com/t/question-about-browser-caching-in-flash/315286)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 12:48am UTC](https://forum.kirupa.com/t/question-about-browser-caching-in-flash/315286 "2010-10-22T00:48:53Z")

</div>

I have a Flash file that is linked to 14 xml files using the E4X method. To keep the network activity to a minimum, I have it set up so that the xml files don't load until the relevant button is clicked (rather than have…

---

## [Only local XML paths work](https://forum.kirupa.com/t/only-local-xml-paths-work/315285)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [October 22, 2010, 12:22am UTC](https://forum.kirupa.com/t/only-local-xml-paths-work/315285 "2010-10-22T00:22:30Z")

</div>

Within my swf, I cannot access my xml files via an absolute path, only local paths work. Any tips?

---

## [Passing a variable into php function mysql query](https://forum.kirupa.com/t/passing-a-variable-into-php-function-mysql-query/315282)

<div class="topic-metadata">

**Author:** [@daveyourself](https://forum.kirupa.com/u/daveyourself)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 9:16pm UTC](https://forum.kirupa.com/t/passing-a-variable-into-php-function-mysql-query/315282 "2010-10-21T21:16:38Z")

</div>

I'm trying to pass a variable from within a swf to a php service to get some crap out of the db. when I do this: function getProjectThumbs() { $sql = 'SELECT \`project\_display\` FROM \`tbl\_images\` WHERE locate( \\'1\\',…

---

## [Dataprovider filering problem](https://forum.kirupa.com/t/dataprovider-filering-problem/315280)

<div class="topic-metadata">

**Author:** [@pillageTHENburn](https://forum.kirupa.com/u/pillageTHENburn)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 8:02pm UTC](https://forum.kirupa.com/t/dataprovider-filering-problem/315280 "2010-10-21T20:02:36Z")

</div>

Hello, I have a datagrid that is populated from an XML. There is then a textbox to search the datagrid being displayed. Here's the code, I did not write this and from what I can tell it was taken directly from adobe: …

---

## [Image effect help](https://forum.kirupa.com/t/image-effect-help/315279)

<div class="topic-metadata">

**Author:** [@Schubert](https://forum.kirupa.com/u/Schubert)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 7:38pm UTC](https://forum.kirupa.com/t/image-effect-help/315279 "2010-10-21T19:38:41Z")

</div>

Hello everyone. I am a very new user of Flash and I want to learn how to create an effect similar to this on: www.kinento.net It needs to be when I roll over the mouse, and since I'm not very familiar with Flash I fig…

---

## [Simple Quiz](https://forum.kirupa.com/t/simple-quiz/315278)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 7:20pm UTC](https://forum.kirupa.com/t/simple-quiz/315278 "2010-10-21T19:20:30Z")

</div>

I'm looking to create a simple quiz which adds up points depending on the answer selected. Can anyone refer me where to read about creating something like this? Best, Chris

---

## [How to sort Array String ascending?](https://forum.kirupa.com/t/how-to-sort-array-string-ascending/315277)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 6:07pm UTC](https://forum.kirupa.com/t/how-to-sort-array-string-ascending/315277 "2010-10-21T18:07:26Z")

</div>

Below is a simple code that I made, var array:Array = \[ "44,5", "44,3", "44,2", "44,1", "44,4", "44,6", "5,99" \]; array.sort(); displayArray(array); function displayArray(array:Array):void { for(var i:int = 0…

---

## [Action Script 3 time](https://forum.kirupa.com/t/action-script-3-time/315276)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 5:57pm UTC](https://forum.kirupa.com/t/action-script-3-time/315276 "2010-10-21T17:57:04Z")

</div>

I want to record the time the mouse is over a button for time under 1.5 s and i want to use this number to be how much a movie clip is moved over. how do i do this????!

---

## [Magnifying Glass effect on Cube material in Papervision?](https://forum.kirupa.com/t/magnifying-glass-effect-on-cube-material-in-papervision/315275)

<div class="topic-metadata">

**Author:** [@pajhonka](https://forum.kirupa.com/u/pajhonka)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 5:24pm UTC](https://forum.kirupa.com/t/magnifying-glass-effect-on-cube-material-in-papervision/315275 "2010-10-21T17:24:31Z")

</div>

Hi, I have a cube with a material on the front face. I'm trying to create a magnifying glass in 2D for the 3D cube. Can anyone offer a suggestion for how to achieve this? I was thinking I might try to find the UV unde…

---

## [Create browser window on top of Flash (SWF) content for kiosk?](https://forum.kirupa.com/t/create-browser-window-on-top-of-flash-swf-content-for-kiosk/315273)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 4:27pm UTC](https://forum.kirupa.com/t/create-browser-window-on-top-of-flash-swf-content-for-kiosk/315273 "2010-10-21T16:27:20Z")

</div>

Here's what I'd like to know: is it possible to run a SWF in a browser (as a kiosk), then have a separate browser window load on top of the SWF so it looks like it's part of the SWF? Here's a crude ASCII drawing: \[FO…

---

## [Adding and event listener to somethings parent](https://forum.kirupa.com/t/adding-and-event-listener-to-somethings-parent/315272)

<div class="topic-metadata">

**Author:** [@vigordesign](https://forum.kirupa.com/u/vigordesign)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 3:34pm UTC](https://forum.kirupa.com/t/adding-and-event-listener-to-somethings-parent/315272 "2010-10-21T15:34:10Z")

</div>

Hi all, I'm trying to add an event listener to something that lives on the parent level of the function that runs. This is what I have in a function - MovieClip(parent).footer.addEventListener(MouseEvent.CLICK, fo…

---

## [Need help with my LevelGrid](https://forum.kirupa.com/t/need-help-with-my-levelgrid/315271)

<div class="topic-metadata">

**Author:** [@joeycrash135](https://forum.kirupa.com/u/joeycrash135)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 3:29pm UTC](https://forum.kirupa.com/t/need-help-with-my-levelgrid/315271 "2010-10-21T15:29:31Z")

</div>

Hi, I'm currently working on a level engine for a game I'm creating. The idea behind it is to chop the entire stage into segments by using a grid. I have used a nested for loop to sort through each segment, and if the co…

---

## [Two swf on top of each other on the same page](https://forum.kirupa.com/t/two-swf-on-top-of-each-other-on-the-same-page/315269)

<div class="topic-metadata">

**Author:** [@Bugsby](https://forum.kirupa.com/u/Bugsby)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 3:02pm UTC](https://forum.kirupa.com/t/two-swf-on-top-of-each-other-on-the-same-page/315269 "2010-10-21T15:02:12Z")

</div>

Hi everybody! I'm having troubles figuring this one out. The thing is I want to use flash to make a scalable background that fills up the entire window, kind of like this page: http://www.filippa-k.com/ And on top of…

---

## [Send multiple attachments from contact form using PHP](https://forum.kirupa.com/t/send-multiple-attachments-from-contact-form-using-php/315268)

<div class="topic-metadata">

**Author:** [@skyni1](https://forum.kirupa.com/u/skyni1)\
**Replies:** 0\
**Last updated:** [October 21, 2010, 1:32pm UTC](https://forum.kirupa.com/t/send-multiple-attachments-from-contact-form-using-php/315268 "2010-10-21T13:32:09Z")

</div>

Hello everyone, and here is the code on the email-thankyou.php form processor: \<?php // Notes: This code produces an email that appears to be from the person completing the form. // some servers will not allow t…

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

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