# programming

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

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

**Page:** 933

---

## [Object Follows the Cursor, But Snaps to Grid](https://forum.kirupa.com/t/object-follows-the-cursor-but-snaps-to-grid/281006)

<div class="topic-metadata">

**Author:** [@NotSatoshi](https://forum.kirupa.com/u/NotSatoshi)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:45pm UTC](https://forum.kirupa.com/t/object-follows-the-cursor-but-snaps-to-grid/281006 "2009-02-03T20:45:21Z")

</div>

I'm trying to make a game that looks low-resolution, and thus I'm upscaling everything by 2x. However, the game is to have a custom cursor, and it ruins the illusion if the cursor follows your mouse every pixel. I want t…

---

## [Help with using variables from parent movie please help](https://forum.kirupa.com/t/help-with-using-variables-from-parent-movie-please-help/281005)

<div class="topic-metadata">

**Author:** [@markhayden](https://forum.kirupa.com/u/markhayden)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:44pm UTC](https://forum.kirupa.com/t/help-with-using-variables-from-parent-movie-please-help/281005 "2009-02-03T20:44:57Z")

</div>

Ok I am very new to AS3 and about ready to throw my computer out the window \[smile\] haha What I am trying to do used to be very simple. I have a variable set in move A. Movie A embeds another move (Movie B) into a movie…

---

## [Pass mouseevent from loaded MC to Parent](https://forum.kirupa.com/t/pass-mouseevent-from-loaded-mc-to-parent/281003)

<div class="topic-metadata">

**Author:** [@mattdennis3](https://forum.kirupa.com/u/mattdennis3)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:21pm UTC](https://forum.kirupa.com/t/pass-mouseevent-from-loaded-mc-to-parent/281003 "2009-02-03T20:21:53Z")

</div>

I am trying to learn AS3 and have been working through a tutorial. It is basically a photo gallery, that when you click a thumbnail it loads a large image. I have now decided to try and adapt it and learn more AS3 at the…

---

## [Custom slider](https://forum.kirupa.com/t/custom-slider/281002)

<div class="topic-metadata">

**Author:** [@Joserinu](https://forum.kirupa.com/u/Joserinu)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:20pm UTC](https://forum.kirupa.com/t/custom-slider/281002 "2009-02-03T20:20:42Z")

</div>

I can't seem to figure out how to make the slider's value to move the mask off the image. Heres the code below, (its in 3 different classes) First class is the document class. Second class is class for the slider and las…

---

## [Update textbox xml](https://forum.kirupa.com/t/update-textbox-xml/280999)

<div class="topic-metadata">

**Author:** [@grebs](https://forum.kirupa.com/u/grebs)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 8:05pm UTC](https://forum.kirupa.com/t/update-textbox-xml/280999 "2009-02-03T20:05:12Z")

</div>

i have an MP3 player with a playlist using an external xml file. This all works fine but i also have dynamic textboxes showing what song title and artist is playing. These update fine when the user clicks back and forwar…

---

## [When profile is updated you have to refresh](https://forum.kirupa.com/t/when-profile-is-updated-you-have-to-refresh/280998)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:53pm UTC](https://forum.kirupa.com/t/when-profile-is-updated-you-have-to-refresh/280998 "2009-02-03T19:53:40Z")

</div>

This is a question similar to one I asked a couple days ago and already received a good answer: http://www.kirupa.com/forum/showthread.php?t=318911 The CMS I'm working on lets you create your profile with your locatio…

---

## [Sprite sheets + Character movement?](https://forum.kirupa.com/t/sprite-sheets-character-movement/280997)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:48pm UTC](https://forum.kirupa.com/t/sprite-sheets-character-movement/280997 "2009-02-03T19:48:44Z")

</div>

I have sprite sheets that define character movement. I'm kind of new to AS3. But I have experience in other coding/programming languages, so I should get this rather fast. I need a tutorial on how to use the sprite sheet…

---

## [MC Targeting](https://forum.kirupa.com/t/mc-targeting/280996)

<div class="topic-metadata">

**Author:** [@Aur](https://forum.kirupa.com/u/Aur)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:47pm UTC](https://forum.kirupa.com/t/mc-targeting/280996 "2009-02-03T19:47:38Z")

</div>

Ok, so I want to make an rpg style game. The fighting system would need targeting, thus why i'm here. Basically I want it to work like this: If i click on the enemy, a target arrow or circle pops up around him, but if i…

---

## [XML undefined error](https://forum.kirupa.com/t/xml-undefined-error/280995)

<div class="topic-metadata">

**Author:** [@slunt32](https://forum.kirupa.com/u/slunt32)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:44pm UTC](https://forum.kirupa.com/t/xml-undefined-error/280995 "2009-02-03T19:44:56Z")

</div>

Hi, im currently getting an error with from the output box sayin Error opening URL: C:/Documents and Setting/blah/blah/blah/\*\*undefined\*\* this is the xml code \<?xml version="1.0" encoding="utf-8" standalone="yes"?\>…

---

## ["Credit system" ecommerce](https://forum.kirupa.com/t/credit-system-ecommerce/280993)

<div class="topic-metadata">

**Author:** [@digitalmatt](https://forum.kirupa.com/u/digitalmatt)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:37pm UTC](https://forum.kirupa.com/t/credit-system-ecommerce/280993 "2009-02-03T19:37:01Z")

</div>

Hola, I have a client that wants to sell streaming videos online. Client's initial vision was for it to be a pay-per-view. I recommended against this. Instead I recommended a membership / credits system where you can c…

---

## [Comments on articles: table per article or ONE comments table for all articles](https://forum.kirupa.com/t/comments-on-articles-table-per-article-or-one-comments-table-for-all-articles/280992)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:27pm UTC](https://forum.kirupa.com/t/comments-on-articles-table-per-article-or-one-comments-table-for-all-articles/280992 "2009-02-03T19:27:37Z")

</div>

I'm creating a Website where people can submit articles about a specific subjects. Hopefully people will submit tons of articles. They will have the option to comment on the articles. What approach would you use? 1) …

---

## [Customized swf output a downloadable swf](https://forum.kirupa.com/t/customized-swf-output-a-downloadable-swf/280991)

<div class="topic-metadata">

**Author:** [@vids](https://forum.kirupa.com/u/vids)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:22pm UTC](https://forum.kirupa.com/t/customized-swf-output-a-downloadable-swf/280991 "2009-02-03T19:22:38Z")

</div>

First off I'm sure I might have to make the regrettable leap to AS3 with this question (ive been putting off learning it) but... In general how simple / tough is it to get a swf file to generate/output a downloadble sw…

---

## [Flash and CMS](https://forum.kirupa.com/t/flash-and-cms/280990)

<div class="topic-metadata">

**Author:** [@vids](https://forum.kirupa.com/u/vids)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:18pm UTC](https://forum.kirupa.com/t/flash-and-cms/280990 "2009-02-03T19:18:01Z")

</div>

Its been a while since I researched this and all I found was a flashloaded component... Is anyone interfacing between existing Content Management Systems and flash? If so what are the best practices / methods used in d…

---

## [Template Monster Contact Form Problem (Action Script 1)](https://forum.kirupa.com/t/template-monster-contact-form-problem-action-script-1/280989)

<div class="topic-metadata">

**Author:** [@ericmurphy08](https://forum.kirupa.com/u/ericmurphy08)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 7:12pm UTC](https://forum.kirupa.com/t/template-monster-contact-form-problem-action-script-1/280989 "2009-02-03T19:12:56Z")

</div>

\[COLOR=#000000\]Hey guys....... Does anyone here know how to make a template monster flash contact form work?? \[/COLOR\] \[COLOR=#000000\]its made with action script 1\[/COLOR\] \[COLOR=#000000\]\[/COLOR\] \[COLOR=#000000\]The site…

---

## [Panels won't dock!](https://forum.kirupa.com/t/panels-wont-dock/280987)

<div class="topic-metadata">

**Author:** [@dexa\_007](https://forum.kirupa.com/u/dexa_007)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 6:59pm UTC](https://forum.kirupa.com/t/panels-wont-dock/280987 "2009-02-03T18:59:07Z")

</div>

Somehow, my properties and actions panels became "undocked". They now refuse to snap back into their original positions. What to do??? :doh:

---

## [Array Vs Object Speed](https://forum.kirupa.com/t/array-vs-object-speed/280984)

<div class="topic-metadata">

**Author:** [@drexton](https://forum.kirupa.com/u/drexton)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 6:19pm UTC](https://forum.kirupa.com/t/array-vs-object-speed/280984 "2009-02-03T18:19:22Z")

</div>

Howdy folks I have a little utility takes lists of letters, combines them in every possible permutations, and lists out all the combinations that are words. For example, I would feed it in "cde,abc,tbrn" and it would l…

---

## [Building Using All External .AS Files](https://forum.kirupa.com/t/building-using-all-external-as-files/280983)

<div class="topic-metadata">

**Author:** [@xanderdavis](https://forum.kirupa.com/u/xanderdavis)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 6:11pm UTC](https://forum.kirupa.com/t/building-using-all-external-as-files/280983 "2009-02-03T18:11:16Z")

</div>

To create a Flash game in AS3.0, I'm interested in not including ANY ActionScript in the actual compiler FLA. All my external .as files are located within the Engine sub-directory from the compiler FLA. All packages ar…

---

## [HELP: Bad Video from export to quicktime](https://forum.kirupa.com/t/help-bad-video-from-export-to-quicktime/280980)

<div class="topic-metadata">

**Author:** [@takach](https://forum.kirupa.com/u/takach)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 5:47pm UTC](https://forum.kirupa.com/t/help-bad-video-from-export-to-quicktime/280980 "2009-02-03T17:47:03Z")

</div>

whenever i try to export this file to quicktime I get this weird pixelated after image effect(attached screenshot) and instead of smooth video. I've tried exporting it every way with different codecs and resolutions, not…

---

## [Cue points dont always fire](https://forum.kirupa.com/t/cue-points-dont-always-fire/280977)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 5:13pm UTC](https://forum.kirupa.com/t/cue-points-dont-always-fire/280977 "2009-02-03T17:13:40Z")

</div>

I have a 2 hour long FLV and for some reason when the playheadTime reaches a cue point it doesn't fire the event. Sometimes it does. It seems to hit it more often than it misses. What could cause this?

---

## [Nifty idea: help?](https://forum.kirupa.com/t/nifty-idea-help/280973)

<div class="topic-metadata">

**Author:** [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 4:58pm UTC](https://forum.kirupa.com/t/nifty-idea-help/280973 "2009-02-03T16:58:33Z")

</div>

Hey guys, I'm about to redesign my band's myspace profile and I thought it'd be a cool idea to do the top part in flash.. The idea would be, each band member had a url to goto, with an input box where they could type t…

---

## [Rocket Physics](https://forum.kirupa.com/t/rocket-physics/280972)

<div class="topic-metadata">

**Author:** [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 4:29pm UTC](https://forum.kirupa.com/t/rocket-physics/280972 "2009-02-03T16:29:41Z")

</div>

Hey, guys me and a friend are working on a artillery game. No epic, awsomeness, just a simple game for practice. We are currently up to the bullet/rocket firing part, and we are experiencing a problem. See, usually bulle…

---

## [Flash PHP Form, Radio Buttons, ARG! Need help!](https://forum.kirupa.com/t/flash-php-form-radio-buttons-arg-need-help/280968)

<div class="topic-metadata">

**Author:** [@ShareeNeff](https://forum.kirupa.com/u/ShareeNeff)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 3:51pm UTC](https://forum.kirupa.com/t/flash-php-form-radio-buttons-arg-need-help/280968 "2009-02-03T15:51:33Z")

</div>

Hi there- I've been searching the tutorials on creating Flash PHP Email Forms including radio buttons, and so far I have found some great links but no one has been able to troubleshoot for me. So maybe you can help. I …

---

## [Actionscript 2.0 - flip horizontal when mouse direction changes](https://forum.kirupa.com/t/actionscript-2-0-flip-horizontal-when-mouse-direction-changes/280967)

<div class="topic-metadata">

**Author:** [@fiona\_young](https://forum.kirupa.com/u/fiona_young)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 3:50pm UTC](https://forum.kirupa.com/t/actionscript-2-0-flip-horizontal-when-mouse-direction-changes/280967 "2009-02-03T15:50:24Z")

</div>

I have tried the following code to make a movie clip (car\_mc) follow the mouse and to flip horizontally when the mouse changes direction. Some of it works well but the flip is unstable. I have also tried using -1 for bot…

---

## [as3 blocks out my css files?](https://forum.kirupa.com/t/as3-blocks-out-my-css-files/280965)

<div class="topic-metadata">

**Author:** [@JonnyJ](https://forum.kirupa.com/u/JonnyJ)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 2:55pm UTC](https://forum.kirupa.com/t/as3-blocks-out-my-css-files/280965 "2009-02-03T14:55:56Z")

</div>

Hey everyone, this is my first attempt at using action script 3...and I'm just about ready to go back to as2 after all of this. After pulling my hair out trying to figure out how to make the new "getURL" tags worked, I…

---

## [Custom easing - AS2](https://forum.kirupa.com/t/custom-easing-as2/280963)

<div class="topic-metadata">

**Author:** [@mxvans](https://forum.kirupa.com/u/mxvans)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 2:47pm UTC](https://forum.kirupa.com/t/custom-easing-as2/280963 "2009-02-03T14:47:43Z")

</div>

Hi - I need to set a mouse-controlled scrolling animation to ease when it starts and when it stops in AS2. Here's my current onEnterFrame script. Might be a little crude, but it succeeds in starting and stopping the a…

---

## [UILoader parameters](https://forum.kirupa.com/t/uiloader-parameters/280960)

<div class="topic-metadata">

**Author:** [@mrwelcam](https://forum.kirupa.com/u/mrwelcam)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 2:27pm UTC](https://forum.kirupa.com/t/uiloader-parameters/280960 "2009-02-03T14:27:02Z")

</div>

Hi, anybody know of a way to pass flashvars parameters to a UILoaders swf. i.e \<object align="middle" height="660" width="638"\> \<param name="movie" value="camplayer.swf"\> \<param name="flashVars" value="s=ZT0xJmk9NDY…

---

## [XML Flash gallery with resizing border](https://forum.kirupa.com/t/xml-flash-gallery-with-resizing-border/280958)

<div class="topic-metadata">

**Author:** [@bradders\_123](https://forum.kirupa.com/u/bradders_123)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 1:57pm UTC](https://forum.kirupa.com/t/xml-flash-gallery-with-resizing-border/280958 "2009-02-03T13:57:36Z")

</div>

Hi, I'm new to this so sorry if this is an obvious question. I'm have set up a photo gallery using the 'Kirupa Xml and flash gallery tutorial' and I wanted to use this but implement the border resizing function feature…

---

## [SWF to PDF (vector) in real time](https://forum.kirupa.com/t/swf-to-pdf-vector-in-real-time/280957)

<div class="topic-metadata">

**Author:** [@raufaamir](https://forum.kirupa.com/u/raufaamir)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 1:10pm UTC](https://forum.kirupa.com/t/swf-to-pdf-vector-in-real-time/280957 "2009-02-03T13:10:55Z")

</div>

I have an flash application which is simple text editor. I want to save the output of that application as pdf in vector format. Is it possible? Please help me if there is any solution out there. Thanks

---

## [Complex Game Structure?](https://forum.kirupa.com/t/complex-game-structure/280956)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 12:28pm UTC](https://forum.kirupa.com/t/complex-game-structure/280956 "2009-02-03T12:28:33Z")

</div>

Hi all, I have quite a complex game in development at the moment and i am struggling with the architecture. I might have a few questions, and id appreciate if you could give me advice. Some of them might seem basic …

---

## [Preloader with Transitions Between External SWFs](https://forum.kirupa.com/t/preloader-with-transitions-between-external-swfs/280954)

<div class="topic-metadata">

**Author:** [@startrooper85](https://forum.kirupa.com/u/startrooper85)\
**Replies:** 0\
**Last updated:** [February 3, 2009, 12:07pm UTC](https://forum.kirupa.com/t/preloader-with-transitions-between-external-swfs/280954 "2009-02-03T12:07:31Z")

</div>

Hi, i tried to add a preloader as explained in the end of this tutorial but just can't to make it work, can you pls help me? \[smile\]

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

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