# programming

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

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

**Page:** 1991

---

## [Flash Overlapping](https://forum.kirupa.com/t/flash-overlapping/205511)

<div class="topic-metadata">

**Author:** [@aanova](https://forum.kirupa.com/u/aanova)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 1:29pm UTC](https://forum.kirupa.com/t/flash-overlapping/205511 "2006-10-30T13:29:05Z")

</div>

Basically i have a flash project... it is a hybrid site where the menu is flash.. basically also i have a flash animation that expands when you click it.. the problem now is that i have two flash movie.. and the flash th…

---

## [Help with xml buttons](https://forum.kirupa.com/t/help-with-xml-buttons/205509)

<div class="topic-metadata">

**Author:** [@renis](https://forum.kirupa.com/u/renis)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 12:54pm UTC](https://forum.kirupa.com/t/help-with-xml-buttons/205509 "2006-10-30T12:54:29Z")

</div>

Hi all. Sorry if this question has been asked before - I couldn't find it in a search. I am using Scotty's multiple gallery example, but would like to add "previous" and "next" buttons to it. I have looked at the other g…

---

## [What to write if I want an empty XMLnode?](https://forum.kirupa.com/t/what-to-write-if-i-want-an-empty-xmlnode/205507)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 12:36pm UTC](https://forum.kirupa.com/t/what-to-write-if-i-want-an-empty-xmlnode/205507 "2006-10-30T12:36:24Z")

</div>

I have this XML and want to sometimes display the info and sometomes not. Is there anyway to write in the XML doc that displays nothing? \<?xml version="1.0" encoding="iso-8859-1" ?\> \<subnumber\> \<subinfo\> \<path\>mai…

---

## [Noob question about getting a PHP link in flash](https://forum.kirupa.com/t/noob-question-about-getting-a-php-link-in-flash/205503)

<div class="topic-metadata">

**Author:** [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 10:56am UTC](https://forum.kirupa.com/t/noob-question-about-getting-a-php-link-in-flash/205503 "2006-10-30T10:56:09Z")

</div>

Hi ppl, I'm a complete NOOB when it comes to PHP so thats why I have this question: I am working on a website that loads different PHP using links like: index.php?section=home I want a flash movie in that index.p…

---

## [Opening picture centered on host mc (XML gallery)](https://forum.kirupa.com/t/opening-picture-centered-on-host-mc-xml-gallery/205502)

<div class="topic-metadata">

**Author:** [@InsaneText](https://forum.kirupa.com/u/InsaneText)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 10:52am UTC](https://forum.kirupa.com/t/opening-picture-centered-on-host-mc-xml-gallery/205502 "2006-10-30T10:52:56Z")

</div>

Hi, I'm currently working with the XML gallery at http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery2.htm With the code provided below, what do I need to change to make the images load and be centered ove…

---

## [Hi! is there any rights to use KIRUPA's flash tutorial in our site](https://forum.kirupa.com/t/hi-is-there-any-rights-to-use-kirupas-flash-tutorial-in-our-site/205501)

<div class="topic-metadata">

**Author:** [@tsat](https://forum.kirupa.com/u/tsat)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 10:37am UTC](https://forum.kirupa.com/t/hi-is-there-any-rights-to-use-kirupas-flash-tutorial-in-our-site/205501 "2006-10-30T10:37:12Z")

</div>

I am going to do a photo gallery in flash and xml using the example in KIRUPA's tutorial. To use the Flash gallery code do i need to get any right from u... Pls. any one reply me. I don't know to whom i want to ask... …

---

## [\[PHP\] Trim Function Alternative](https://forum.kirupa.com/t/php-trim-function-alternative/205500)

<div class="topic-metadata">

**Author:** [@thesleuth](https://forum.kirupa.com/u/thesleuth)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 10:32am UTC](https://forum.kirupa.com/t/php-trim-function-alternative/205500 "2006-10-30T10:32:40Z")

</div>

Hi, I'm storing a message in a database. I want to prevent the database from saving spaces or lines that are created by users when they hit enter. I've tried the trim function but it does not work. Any suggestion would b…

---

## [startDrag only \_x](https://forum.kirupa.com/t/startdrag-only--x/205495)

<div class="topic-metadata">

**Author:** [@the\_artdirector](https://forum.kirupa.com/u/the_artdirector)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 9:00am UTC](https://forum.kirupa.com/t/startdrag-only--x/205495 "2006-10-30T09:00:52Z")

</div>

Hello Guys! \[smile\] knob.onPress = function() { startDrag(this) } How can I make the knob drags only \_x, I need the \_y stays as it is! thanks!

---

## [getDate effecting a MC](https://forum.kirupa.com/t/getdate-effecting-a-mc/205493)

<div class="topic-metadata">

**Author:** [@LiquidFlames](https://forum.kirupa.com/u/LiquidFlames)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 8:59am UTC](https://forum.kirupa.com/t/getdate-effecting-a-mc/205493 "2006-10-30T08:59:26Z")

</div>

this is driving me batty.. iv messed with it for about 6 hours now and i duno what im overlooking.. im desperatly trying to find a way to get a movieclip to respond to the current time and date... lets say for exampl…

---

## [Object Collision Help. :)](https://forum.kirupa.com/t/object-collision-help/205487)

<div class="topic-metadata">

**Author:** [@tony729](https://forum.kirupa.com/u/tony729)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 6:25am UTC](https://forum.kirupa.com/t/object-collision-help/205487 "2006-10-30T06:25:48Z")

</div>

Hi, I'm pretty new to flash and I was wondering how I can have two draggable objects that doesn't overlap so both objects go around each other while dragging. Something like the link below but i want the one object to st…

---

## [Saving Gradient Colors in the Color Mixer/Swatches?](https://forum.kirupa.com/t/saving-gradient-colors-in-the-color-mixer-swatches/205486)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 6:14am UTC](https://forum.kirupa.com/t/saving-gradient-colors-in-the-color-mixer-swatches/205486 "2006-10-30T06:14:52Z")

</div>

hey guys, i basically would love to save some of the gradients im making to reuse them over and over, even if it's simply in the current project im working on? is there a way to do that?

---

## [Need help creating time based movie control](https://forum.kirupa.com/t/need-help-creating-time-based-movie-control/205485)

<div class="topic-metadata">

**Author:** [@Atris](https://forum.kirupa.com/u/Atris)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 6:04am UTC](https://forum.kirupa.com/t/need-help-creating-time-based-movie-control/205485 "2006-10-30T06:04:11Z")

</div>

Hello all. I'm trying to create "Time based movie control" (in the first frame of my movie) via the code below. I'm trying to advance the playhead to frame 2 once 5000 milliseconds have gone by. I'm able to trace get…

---

## [scale9Grid and masking problem](https://forum.kirupa.com/t/scale9grid-and-masking-problem/205484)

<div class="topic-metadata">

**Author:** [@apexroom](https://forum.kirupa.com/u/apexroom)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 5:37am UTC](https://forum.kirupa.com/t/scale9grid-and-masking-problem/205484 "2006-10-30T05:37:54Z")

</div>

first of all .. thank you very much for your interest the following actionscript 2.0 code for simple reveal effect applied on a movieclip .. movie has curved corners and loaded image .. I'm tring to scale the border an…

---

## [Importing SWF into FLA's](https://forum.kirupa.com/t/importing-swf-into-flas/205482)

<div class="topic-metadata">

**Author:** [@rollwithit80](https://forum.kirupa.com/u/rollwithit80)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 5:14am UTC](https://forum.kirupa.com/t/importing-swf-into-flas/205482 "2006-10-30T05:14:17Z")

</div>

I just lost my .fla flie due to a network problem and I have only got the .swf left. I was hopeing to retreive some of the objects but it will only let me import the first frame since there is a stop(); action at the fir…

---

## [Game Problem with shooting](https://forum.kirupa.com/t/game-problem-with-shooting/205474)

<div class="topic-metadata">

**Author:** [@Darth\_Arias](https://forum.kirupa.com/u/Darth_Arias)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 2:43am UTC](https://forum.kirupa.com/t/game-problem-with-shooting/205474 "2006-10-30T02:43:05Z")

</div>

I have a working platform game where you can shoot. The shooting works fine, but after you have shot, the idle animation for my character does not work, and if he stops running, he stands still but continues to do the ru…

---

## [How to hyperlink text within a Movie clip?](https://forum.kirupa.com/t/how-to-hyperlink-text-within-a-movie-clip/205472)

<div class="topic-metadata">

**Author:** [@bash](https://forum.kirupa.com/u/bash)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 2:03am UTC](https://forum.kirupa.com/t/how-to-hyperlink-text-within-a-movie-clip/205472 "2006-10-30T02:03:02Z")

</div>

I have a Movieclip which contains text. How can i make parts of the text into a link to an external page? Hope someone can help me? Thanks.

---

## [Putting a video player in the XML photo gallery](https://forum.kirupa.com/t/putting-a-video-player-in-the-xml-photo-gallery/205471)

<div class="topic-metadata">

**Author:** [@InsaneText](https://forum.kirupa.com/u/InsaneText)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 1:59am UTC](https://forum.kirupa.com/t/putting-a-video-player-in-the-xml-photo-gallery/205471 "2006-10-30T01:59:14Z")

</div>

I'm using the XML Photo Gallery (http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm) and instead of an image I wish to include a video in one of the 'slides'. I'm not sure how exactly to go about it becaus…

---

## [Quick Question: Can Flash Directly Use Sockets?](https://forum.kirupa.com/t/quick-question-can-flash-directly-use-sockets/205470)

<div class="topic-metadata">

**Author:** [@Sirisian](https://forum.kirupa.com/u/Sirisian)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 1:22am UTC](https://forum.kirupa.com/t/quick-question-can-flash-directly-use-sockets/205470 "2006-10-30T01:22:21Z")

</div>

As the title says, I would like to know if Flash 8 or any version of flash can access sockets. For instance like winsock does. Using an IP and a port to send packets? I've seen it can connect to databases, but I haven't …

---

## [Possitioning of cells](https://forum.kirupa.com/t/possitioning-of-cells/205468)

<div class="topic-metadata">

**Author:** [@nvzak](https://forum.kirupa.com/u/nvzak)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 1:11am UTC](https://forum.kirupa.com/t/possitioning-of-cells/205468 "2006-10-30T01:11:36Z")

</div>

OK, here: http://www.cyhitemedia.com/test i am messing with a template from dreamweaver and am having trouble converting from absolute to static. I am unable to center the menu with out using % ex: div size=80% spacing=1…

---

## [Problem with Variables and Hex colors](https://forum.kirupa.com/t/problem-with-variables-and-hex-colors/205467)

<div class="topic-metadata">

**Author:** [@irok](https://forum.kirupa.com/u/irok)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 12:54am UTC](https://forum.kirupa.com/t/problem-with-variables-and-hex-colors/205467 "2006-10-30T00:54:18Z")

</div>

Hello, I'm loading a color from a XML file. eg \*\*0x0AAFD \*\*and storing it on a variable. eg \*\*var storecolor = myxml.childNodes\[0\].attributes.color; storecolor returns the value \*\*0x0AAFD. If I do, box.colorTo(0x0…

---

## [100% works on resize but not on initial load?](https://forum.kirupa.com/t/100-works-on-resize-but-not-on-initial-load/205464)

<div class="topic-metadata">

**Author:** [@igby](https://forum.kirupa.com/u/igby)\
**Replies:** 0\
**Last updated:** [October 30, 2006, 12:22am UTC](https://forum.kirupa.com/t/100-works-on-resize-but-not-on-initial-load/205464 "2006-10-30T00:22:59Z")

</div>

Hey everyone. This issue has been beat to death, and normally I've got it down, but I'm having a problem with a new site I'm working on. I've got two elements that stay one on the left and one on the right at all time…

---

## [Thumnails on XML Picture Viewer problem](https://forum.kirupa.com/t/thumnails-on-xml-picture-viewer-problem/205461)

<div class="topic-metadata">

**Author:** [@c2k6](https://forum.kirupa.com/u/c2k6)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:52pm UTC](https://forum.kirupa.com/t/thumnails-on-xml-picture-viewer-problem/205461 "2006-10-29T22:52:54Z")

</div>

Hi im having problems i have the xml photo gallery on my site but the hit\_left and hit\_right are in the right places but when i runj my movie you can hover towards hit\_right at the far end of the pictures it will scroll …

---

## [mod\_rewrite - using RewriteCond](https://forum.kirupa.com/t/mod-rewrite-using-rewritecond/205460)

<div class="topic-metadata">

**Author:** [@DaDeViL](https://forum.kirupa.com/u/DaDeViL)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:51pm UTC](https://forum.kirupa.com/t/mod-rewrite-using-rewritecond/205460 "2006-10-29T22:51:47Z")

</div>

Hey guys, im having a problem with the following code RewriteEngine on RewriteCond %{REQUEST\_FILENAME} !-d RewriteCond %{REQUEST\_FILENAME} !-f RewriteRule ^(.\*)\\.html$ index.php?page=$1 \[L\] RewriteCond %{REQUEST\_FIL…

---

## [IP Adress in flash](https://forum.kirupa.com/t/ip-adress-in-flash/205458)

<div class="topic-metadata">

**Author:** [@c2k6](https://forum.kirupa.com/u/c2k6)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:37pm UTC](https://forum.kirupa.com/t/ip-adress-in-flash/205458 "2006-10-29T22:37:48Z")

</div>

is it possible to display the IP address of the person currently viewing your site in flash? I.e. having a text box on the site telling the user there ip address? or having that as well as recording ip adress? or h…

---

## [\_is IT possible?!](https://forum.kirupa.com/t/-is-it-possible/205457)

<div class="topic-metadata">

**Author:** [@snaxs](https://forum.kirupa.com/u/snaxs)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:36pm UTC](https://forum.kirupa.com/t/-is-it-possible/205457 "2006-10-29T22:36:18Z")

</div>

Hello, im working on a project for school, and im going to make a small presentation on flash so my questions are: Is it possible to run a movie (swf) and while running insert a usb and the swf to detect it ? if so..…

---

## [Movie in one frame](https://forum.kirupa.com/t/movie-in-one-frame/205456)

<div class="topic-metadata">

**Author:** [@smallflower](https://forum.kirupa.com/u/smallflower)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:32pm UTC](https://forum.kirupa.com/t/movie-in-one-frame/205456 "2006-10-29T22:32:16Z")

</div>

I know there is some way to have a movie, in Flash, only take up one frame in the timeline. I forget how though. Does anyone else know? I am using Flash 8. ~Laura

---

## [How to do this "continuous image scrolling" effect?](https://forum.kirupa.com/t/how-to-do-this-continuous-image-scrolling-effect/205455)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:25pm UTC](https://forum.kirupa.com/t/how-to-do-this-continuous-image-scrolling-effect/205455 "2006-10-29T22:25:43Z")

</div>

I promise I knew how to do this, never thought Id find myself asking how :(. http://seven.eu/ngo/flash/main.php Check out the 2nd preloader that comes in with the diagonal patterns, how does that pattern seamlessly t…

---

## [Basic Moonlander Game tutorial?](https://forum.kirupa.com/t/basic-moonlander-game-tutorial/205454)

<div class="topic-metadata">

**Author:** [@Kragoth](https://forum.kirupa.com/u/Kragoth)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 10:24pm UTC](https://forum.kirupa.com/t/basic-moonlander-game-tutorial/205454 "2006-10-29T22:24:35Z")

</div>

Hello, i'm new to these forums as you can tell. I'm asking if anyone know's where i can find a good, basic moonlander type game tutorial. (Oh, sorry if this is the wrong area to post this, i'm not exactly sure :\\ ) T…

---

## [Multiplayer games - Where do I put the game logic?](https://forum.kirupa.com/t/multiplayer-games-where-do-i-put-the-game-logic/205452)

<div class="topic-metadata">

**Author:** [@haagel](https://forum.kirupa.com/u/haagel)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 9:28pm UTC](https://forum.kirupa.com/t/multiplayer-games-where-do-i-put-the-game-logic/205452 "2006-10-29T21:28:22Z")

</div>

I'm a rookie at game development, and I have a question about multiplayer games. Let's say I'm doing the classic "Pong-game". The game is played over the internet from two different clients. Both clients have event-han…

---

## [Save Data](https://forum.kirupa.com/t/save-data/205450)

<div class="topic-metadata">

**Author:** [@shevi](https://forum.kirupa.com/u/shevi)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 9:23pm UTC](https://forum.kirupa.com/t/save-data/205450 "2006-10-29T21:23:48Z")

</div>

Hello everyone I am using flash profession 8 and i'm trying to make a user comment collector. I have 2 input text boxes called nameVar and messageVar I have a dynamic text box called display And a button that has this …

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

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