# programming

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

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

**Page:** 1018

---

## ["if" Statement Question](https://forum.kirupa.com/t/if-statement-question/275266)

<div class="topic-metadata">

**Author:** [@skelebunny](https://forum.kirupa.com/u/skelebunny)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 10:53pm UTC](https://forum.kirupa.com/t/if-statement-question/275266 "2008-11-11T22:53:31Z")

</div>

I've created a particle effect that moves random particles starting inside the stage that eventually move off of the stage. I'm trying to put a removeEventListener in an "if" to take the particles off the stage when the …

---

## [The adventures of Bob 2!](https://forum.kirupa.com/t/the-adventures-of-bob-2/275260)

<div class="topic-metadata">

**Author:** [@Bradley1000](https://forum.kirupa.com/u/Bradley1000)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 9:09pm UTC](https://forum.kirupa.com/t/the-adventures-of-bob-2/275260 "2008-11-11T21:09:05Z")

</div>

Well, as you can see, I'm new here, but I don't want you to think I'm just trying to get publicity for my game. I make platformers, And this has been one of my best! Well here it is!: http://www.kongregate.com/games/Brad…

---

## [Flash Site Advice](https://forum.kirupa.com/t/flash-site-advice/275258)

<div class="topic-metadata">

**Author:** [@dawood77](https://forum.kirupa.com/u/dawood77)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 8:11pm UTC](https://forum.kirupa.com/t/flash-site-advice/275258 "2008-11-11T20:11:43Z")

</div>

Flash Site Advice Greetings, I use flash for alot of web banners etc. I can understand actions script enough to use it but not to write it. However I want to learn it and I figured the best way to do is to actually do …

---

## [Make the spacebar display a different character](https://forum.kirupa.com/t/make-the-spacebar-display-a-different-character/275256)

<div class="topic-metadata">

**Author:** [@madZander](https://forum.kirupa.com/u/madZander)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 7:32pm UTC](https://forum.kirupa.com/t/make-the-spacebar-display-a-different-character/275256 "2008-11-11T19:32:40Z")

</div>

Hi everyone, I am making a simple word processing widget, like this one: http://www.edenpr.k12.mn.us/prview/media\_tech/pv\_writer/pv\_writer.html for my kindergarten classroom. The problem is that the embedded font doe…

---

## [Screen Tearing](https://forum.kirupa.com/t/screen-tearing/275255)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 7:15pm UTC](https://forum.kirupa.com/t/screen-tearing/275255 "2008-11-11T19:15:08Z")

</div>

Is there a way to enable vSync to prevent screen tearing ? If not, can I at least minimize it somehow, maybe there are some guidelines ? Thanks.

---

## [Help with horizontal sliding](https://forum.kirupa.com/t/help-with-horizontal-sliding/275249)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 6:28pm UTC](https://forum.kirupa.com/t/help-with-horizontal-sliding/275249 "2008-11-11T18:28:13Z")

</div>

I am working with a downloaded component that moves separate panels horizontally with an ease. there are 4 panels and they are controlled by 4 buttons to make them move. The code for the panels is: onClipEvent (load) { …

---

## [ExternalInterface with AC\_FL\_RunContent](https://forum.kirupa.com/t/externalinterface-with-ac-fl-runcontent/275247)

<div class="topic-metadata">

**Author:** [@SpawnOfJon](https://forum.kirupa.com/u/SpawnOfJon)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 6:23pm UTC](https://forum.kirupa.com/t/externalinterface-with-ac-fl-runcontent/275247 "2008-11-11T18:23:24Z")

</div>

Doesn anyone know how to get ExternalInterface to work when you are using something like AC\_FL\_RunContent?

---

## [Flex rollOut event not doing all the specified actions](https://forum.kirupa.com/t/flex-rollout-event-not-doing-all-the-specified-actions/275246)

<div class="topic-metadata">

**Author:** [@rf1](https://forum.kirupa.com/u/rf1)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 6:20pm UTC](https://forum.kirupa.com/t/flex-rollout-event-not-doing-all-the-specified-actions/275246 "2008-11-11T18:20:23Z")

</div>

Hi, I'm trying to make an image such that its default alpha is always 0.5. When the user rolls over this image, I have an mx:Fade effect to turn the alpha to 1.0, and when the user rolls out, there's another effect to fa…

---

## [Disabling right click](https://forum.kirupa.com/t/disabling-right-click/275243)

<div class="topic-metadata">

**Author:** [@taco\_slayer06](https://forum.kirupa.com/u/taco_slayer06)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 5:25pm UTC](https://forum.kirupa.com/t/disabling-right-click/275243 "2008-11-11T17:25:39Z")

</div>

Yeah, seeing how no one responded to my last question, here goes another ONE! How do u disable the right click on the mouse? Because i have no idea where even to start with the code.

---

## [HTTP Request In IIS7](https://forum.kirupa.com/t/http-request-in-iis7/275239)

<div class="topic-metadata">

**Author:** [@Frenchi](https://forum.kirupa.com/u/Frenchi)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 4:49pm UTC](https://forum.kirupa.com/t/http-request-in-iis7/275239 "2008-11-11T16:49:54Z")

</div>

Good Morning, I'm writing a Crestron module to fetch information from my web server. The Crestron processor is at x.x.x.3 and my webserver is at x.x.x.109 on the same subnet. From the processor I'm sending the serial s…

---

## [Small issue with buttons controlling movie clips](https://forum.kirupa.com/t/small-issue-with-buttons-controlling-movie-clips/275238)

<div class="topic-metadata">

**Author:** [@Dominick](https://forum.kirupa.com/u/Dominick)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 4:36pm UTC](https://forum.kirupa.com/t/small-issue-with-buttons-controlling-movie-clips/275238 "2008-11-11T16:36:58Z")

</div>

I am trying to create a couple buttons that when clicked will start the movie attached to them, but I am having some trouble. If I had two buttons each playing a different movie when clicked how could set it up so that i…

---

## [IE content goes below the scrollbar](https://forum.kirupa.com/t/ie-content-goes-below-the-scrollbar/275237)

<div class="topic-metadata">

**Author:** [@Sirisian](https://forum.kirupa.com/u/Sirisian)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 4:28pm UTC](https://forum.kirupa.com/t/ie-content-goes-below-the-scrollbar/275237 "2008-11-11T16:28:09Z")

</div>

I made a quick demo of what I mean here In FF the content is squished so that the scrollbar can be in the div. In IE the content in this example is under the div. Any idea how to fix this? \<!DOCTYPE html PUBLIC "-/…

---

## [Mootools IE6: Object does not support this property or method](https://forum.kirupa.com/t/mootools-ie6-object-does-not-support-this-property-or-method/275236)

<div class="topic-metadata">

**Author:** [@digitalmatt](https://forum.kirupa.com/u/digitalmatt)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 4:27pm UTC](https://forum.kirupa.com/t/mootools-ie6-object-does-not-support-this-property-or-method/275236 "2008-11-11T16:27:21Z")

</div>

Hey folks. Well I've been tearing my hair out for a week over this. And I feel like the solution is probably a simple one that I just don't have experience with. I'm using the Mootools framework to parse through some XML…

---

## [Please help me, newbie to Flash - horizontal scroll bar](https://forum.kirupa.com/t/please-help-me-newbie-to-flash-horizontal-scroll-bar/275228)

<div class="topic-metadata">

**Author:** [@bake](https://forum.kirupa.com/u/bake)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 1:40pm UTC](https://forum.kirupa.com/t/please-help-me-newbie-to-flash-horizontal-scroll-bar/275228 "2008-11-11T13:40:47Z")

</div>

Hi all, I wondered if any of you would be kind enough to help me. I am creating a horizontal scrollbar for my website. The bar is to scroll through a selection of images. I initially created the vertical bar through Ki…

---

## [...selectedItem.children() returns an error. why?](https://forum.kirupa.com/t/selecteditem-children-returns-an-error-why/275227)

<div class="topic-metadata">

**Author:** [@sylvec](https://forum.kirupa.com/u/sylvec)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 1:22pm UTC](https://forum.kirupa.com/t/selecteditem-children-returns-an-error-why/275227 "2008-11-11T13:22:50Z")

</div>

hi, I have a Tree komponent which structure is created from an xml file. I want to display/save in XMLList all children nodes and their attributes whenever parent node is selected. I'm trying to use selectedItem with c…

---

## [Total time and elapsed time in SWF](https://forum.kirupa.com/t/total-time-and-elapsed-time-in-swf/275224)

<div class="topic-metadata">

**Author:** [@flajeet](https://forum.kirupa.com/u/flajeet)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 1:04pm UTC](https://forum.kirupa.com/t/total-time-and-elapsed-time-in-swf/275224 "2008-11-11T13:04:56Z")

</div>

\[FONT=Calibri\] Dear Friends \[/FONT\] \[FONT=Calibri\] I just want to show Total time and elapsed time of a SWF in runtime. \[/FONT\] \[FONT=Calibri\] If it it possible , than plz give me Action script or sample file …

---

## [Help PLease](https://forum.kirupa.com/t/help-please/275223)

<div class="topic-metadata">

**Author:** [@cullen90](https://forum.kirupa.com/u/cullen90)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 1:01pm UTC](https://forum.kirupa.com/t/help-please/275223 "2008-11-11T13:01:46Z")

</div>

Hi People, My First post \[smile\] http://www.kirupa.com/developer/mx2004/transitions2.htm This Tutorial is great and its what I need. WHen I preview the files on my computer, The transitions work and all the files l…

---

## [Horizontal scroll Bar](https://forum.kirupa.com/t/horizontal-scroll-bar/275221)

<div class="topic-metadata">

**Author:** [@like2flash](https://forum.kirupa.com/u/like2flash)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 12:07pm UTC](https://forum.kirupa.com/t/horizontal-scroll-bar/275221 "2008-11-11T12:07:54Z")

</div>

Hi All New to the forum and new to flash!, I have been copying the scroll bar tutorial and am noew trying to modify it to use with images horizontally, i have the scroll face moving left and right however it goes to fa…

---

## [Browser Crashing](https://forum.kirupa.com/t/browser-crashing/275220)

<div class="topic-metadata">

**Author:** [@Shamaila](https://forum.kirupa.com/u/Shamaila)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 12:03pm UTC](https://forum.kirupa.com/t/browser-crashing/275220 "2008-11-11T12:03:16Z")

</div>

Hi, I have a flash application which is embedded on a web page. The browser crashes after some time, we have checked for memory leaks though it has reduced the frequency of browser crashing but not completely solved th…

---

## [Accordian Problem](https://forum.kirupa.com/t/accordian-problem/275218)

<div class="topic-metadata">

**Author:** [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 11:31am UTC](https://forum.kirupa.com/t/accordian-problem/275218 "2008-11-11T11:31:42Z")

</div>

Hi, I am undertaken a personal project in which I would like to use the accordion component. The problem is that I would like to fully customise it and am finding it difficult to follow the few tutorials I have found…

---

## [Watermarks in Textinput](https://forum.kirupa.com/t/watermarks-in-textinput/275217)

<div class="topic-metadata">

**Author:** [@Shamaila](https://forum.kirupa.com/u/Shamaila)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 11:30am UTC](https://forum.kirupa.com/t/watermarks-in-textinput/275217 "2008-11-11T11:30:15Z")

</div>

Hi, Is there any way to display watermarks in Flash? Currently i am using string with text color changed to gray and listener attached to that textfield, the text is loaded through an xml. Can someone suggest a bette…

---

## [AutoComplete in ComboBoxes (sort Of)](https://forum.kirupa.com/t/autocomplete-in-comboboxes-sort-of/275215)

<div class="topic-metadata">

**Author:** [@mulletchuck](https://forum.kirupa.com/u/mulletchuck)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 10:50am UTC](https://forum.kirupa.com/t/autocomplete-in-comboboxes-sort-of/275215 "2008-11-11T10:50:35Z")

</div>

ok, with 2 combo Boxes on the stage (called funs\_cb, a\_cb). Assign the document class the name of AutoComplete. package { import flash.events.MouseEvent; import fl.events.ComponentEvent; import flash.…

---

## [Made changes without refresh page in flash if XML updated](https://forum.kirupa.com/t/made-changes-without-refresh-page-in-flash-if-xml-updated/275214)

<div class="topic-metadata">

**Author:** [@ashwini6](https://forum.kirupa.com/u/ashwini6)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 10:42am UTC](https://forum.kirupa.com/t/made-changes-without-refresh-page-in-flash-if-xml-updated/275214 "2008-11-11T10:42:03Z")

</div>

I am playing 4 video in video component at a time using XML. And if XML is updated then without refreshing page I want updated result. I am using Flash 8 and Actionscript 2.0 XML file code is: \<?xml version="1.0"?\> \<ro…

---

## [\[flash 8 as2 javascript\] linking the two together](https://forum.kirupa.com/t/flash-8-as2-javascript-linking-the-two-together/275213)

<div class="topic-metadata">

**Author:** [@robbrucker](https://forum.kirupa.com/u/robbrucker)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 10:40am UTC](https://forum.kirupa.com/t/flash-8-as2-javascript-linking-the-two-together/275213 "2008-11-11T10:40:43Z")

</div>

Hello, I have a quick question, is there anyway I can have a flash button, and that button when clicked makes a popup box? Or, passes a variable to an onclick event

---

## [Play same video in two files](https://forum.kirupa.com/t/play-same-video-in-two-files/275212)

<div class="topic-metadata">

**Author:** [@ashwini6](https://forum.kirupa.com/u/ashwini6)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 10:18am UTC](https://forum.kirupa.com/t/play-same-video-in-two-files/275212 "2008-11-11T10:18:14Z")

</div>

Hi, I want to play same video at same time in two different file like camera live streaming. If I refresh second file then also video play from the point where video in first file no from starting. I am using Flash 8 an…

---

## [Flash PHP XML and MySQL](https://forum.kirupa.com/t/flash-php-xml-and-mysql/275211)

<div class="topic-metadata">

**Author:** [@sufs2000](https://forum.kirupa.com/u/sufs2000)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 9:28am UTC](https://forum.kirupa.com/t/flash-php-xml-and-mysql/275211 "2008-11-11T09:28:41Z")

</div>

\[FONT=Times New Roman\] Hi I need a little advice, I am trying to create a food recipe visualisation tool that will basically store recipes in XML and have some kind of advanced schema whereby Flash will pick up on cert…

---

## [\[htaccess\] Simple relative redirect](https://forum.kirupa.com/t/htaccess-simple-relative-redirect/275210)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 9:17am UTC](https://forum.kirupa.com/t/htaccess-simple-relative-redirect/275210 "2008-11-11T09:17:06Z")

</div>

I've installed Relay (the AJAX file/directory manager) on my local server on my laptop - and I just want to direct all of my folders inside my DocumentRoot (which is Users \> me \> Sites) to DocumentRoot/relay. So, typin…

---

## [Text in textinput not being resized](https://forum.kirupa.com/t/text-in-textinput-not-being-resized/275208)

<div class="topic-metadata">

**Author:** [@Shamaila](https://forum.kirupa.com/u/Shamaila)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 9:08am UTC](https://forum.kirupa.com/t/text-in-textinput-not-being-resized/275208 "2008-11-11T09:08:40Z")

</div>

Hi, I have a flash client where in there are some text input on a movie, now my movie and text input are resized. There is some default text in my textinput now when i go from the smallest size to biggest size (zoom in…

---

## [Sending mail in html format](https://forum.kirupa.com/t/sending-mail-in-html-format/275205)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 7:43am UTC](https://forum.kirupa.com/t/sending-mail-in-html-format/275205 "2008-11-11T07:43:21Z")

</div>

Hi all, I have a typical php contact form that works perfectly sending text based email to the receiver. I wish to, however, step it up and instead of sending the raw text i want to send them as a html mail so i can in…

---

## [Dealing with Cone of Fire](https://forum.kirupa.com/t/dealing-with-cone-of-fire/275202)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [November 11, 2008, 5:20am UTC](https://forum.kirupa.com/t/dealing-with-cone-of-fire/275202 "2008-11-11T05:20:28Z")

</div>

I couldnt find any help on here so I decided to just figure it out myself and share the results. Demo .fla attatched (It's saved from CS4 but I think it runs fine in CS3 as well)

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

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