# programming

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

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

**Page:** 300

---

## [Finding bounce angle on angled surfaces..?](https://forum.kirupa.com/t/finding-bounce-angle-on-angled-surfaces/320927)

<div class="topic-metadata">

**Author:** [@lizosaurus](https://forum.kirupa.com/u/lizosaurus)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 7:58pm UTC](https://forum.kirupa.com/t/finding-bounce-angle-on-angled-surfaces/320927 "2011-04-05T19:58:29Z")

</div>

Hello, new poster here \[smile\] I am desperate to find a solution to this issue. Basically, I am making a game in which there is a character (charMC). When you hold down your mouse, you can rotate the character. You po…

---

## [Text Changed Problems](https://forum.kirupa.com/t/text-changed-problems/320924)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 6:23pm UTC](https://forum.kirupa.com/t/text-changed-problems/320924 "2011-04-05T18:23:03Z")

</div>

I want to develop code that does the following: (1) evaluate the information the user types into an input text field that is called prCv (2) when there are 2 digits in the text field, I want the cursor to automatically…

---

## [Specific PC, Windows 7 won't run Flash EXE](https://forum.kirupa.com/t/specific-pc-windows-7-wont-run-flash-exe/320923)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 5:52pm UTC](https://forum.kirupa.com/t/specific-pc-windows-7-wont-run-flash-exe/320923 "2011-04-05T17:52:39Z")

</div>

I'm trying to avoid using AIR or running the SWF through the standalone Flash Player, but Windows 7 on a few specific PCs won't run the Flash .EXE projector - any ideas? The projector does load files (jpg/xml) from an as…

---

## [\[AS2\] Help with Slider](https://forum.kirupa.com/t/as2-help-with-slider/320922)

<div class="topic-metadata">

**Author:** [@douanvue](https://forum.kirupa.com/u/douanvue)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 5:14pm UTC](https://forum.kirupa.com/t/as2-help-with-slider/320922 "2011-04-05T17:14:02Z")

</div>

Hi. I'm an AS newbie. I received a flash file of a slider to change out one of the photos. I was able to change the photo but the published file won't show any of images. Here is the link to the file Test.fla . It uses…

---

## [Please check: UI Component Parameters buggy?](https://forum.kirupa.com/t/please-check-ui-component-parameters-buggy/320917)

<div class="topic-metadata">

**Author:** [@0x66FF00](https://forum.kirupa.com/u/0x66FF00)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 3:33pm UTC](https://forum.kirupa.com/t/please-check-ui-component-parameters-buggy/320917 "2011-04-05T15:33:45Z")

</div>

Hi, this is weird: I drag the slider ui component onto the stage and test the movie and I can slide the slider. If I however enter something in the component parameters window (e.g. maximum from 10 to 20) it doesn't …

---

## [Sharepoint XML and AS3](https://forum.kirupa.com/t/sharepoint-xml-and-as3/320916)

<div class="topic-metadata">

**Author:** [@Elvis](https://forum.kirupa.com/u/Elvis)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 3:31pm UTC](https://forum.kirupa.com/t/sharepoint-xml-and-as3/320916 "2011-04-05T15:31:15Z")

</div>

Hello there, I am currently working on a project to pull data from a sharepoint list via XML and then load that data into flash using AS3. I have used someone's code from this forum and it is working great! This is the…

---

## [Conditional contents in a ComboBox](https://forum.kirupa.com/t/conditional-contents-in-a-combobox/320912)

<div class="topic-metadata">

**Author:** [@nowhere\_elysium](https://forum.kirupa.com/u/nowhere_elysium)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 1:55pm UTC](https://forum.kirupa.com/t/conditional-contents-in-a-combobox/320912 "2011-04-05T13:55:24Z")

</div>

Gotta love the alliteration. Hi all, first post and all that, so please be gentle. I'm trying to learn AS3 the hard way (i.e. just barrelling on into it), and I'm a bit stuck on this form that I'm putting together. Asi…

---

## [Question about my Drag and Drop script](https://forum.kirupa.com/t/question-about-my-drag-and-drop-script/320910)

<div class="topic-metadata">

**Author:** [@mikalh78](https://forum.kirupa.com/u/mikalh78)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 1:24pm UTC](https://forum.kirupa.com/t/question-about-my-drag-and-drop-script/320910 "2011-04-05T13:24:30Z")

</div>

I have a drag and drop interactivity and I have this script (below). What I want to add in but not sure how, is that if the user drags the wrong object to the main box it will make that object disappear. As well if the u…

---

## [Dynamic blur performance issues](https://forum.kirupa.com/t/dynamic-blur-performance-issues/320907)

<div class="topic-metadata">

**Author:** [@tatsumaru](https://forum.kirupa.com/u/tatsumaru)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:41pm UTC](https://forum.kirupa.com/t/dynamic-blur-performance-issues/320907 "2011-04-05T12:41:50Z")

</div>

Hi there, I have been attempting to create a dynamic blur effect which can be applied to several MC's on screen at once using varied levels of blur (from 0 - 200 roughly and minimum quality). My code is set up so that …

---

## [SlideShow as3](https://forum.kirupa.com/t/slideshow-as3/320906)

<div class="topic-metadata">

**Author:** [@kbdi](https://forum.kirupa.com/u/kbdi)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:17pm UTC](https://forum.kirupa.com/t/slideshow-as3/320906 "2011-04-05T12:17:57Z")

</div>

Hi. I'm new to AS3, and I have a class file that displays a slideshow and preloads each image in an xml file. the code is below. What I want to know is, is there any way to improve this code? The code works, but I feel l…

---

## [Enter frame, if, for](https://forum.kirupa.com/t/enter-frame-if-for/320904)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 11:31am UTC](https://forum.kirupa.com/t/enter-frame-if-for/320904 "2011-04-05T11:31:38Z")

</div>

Maybe this will help those who don't understand what happens in an enter frame event when an if statement occurs, then a for loop occurs...:poisoneye: There's a bug, though...Can't figure out how to get the for loop co…

---

## [How to load images at runtime on a plane using papervision3d](https://forum.kirupa.com/t/how-to-load-images-at-runtime-on-a-plane-using-papervision3d/320903)

<div class="topic-metadata">

**Author:** [@dhamsaniyajay](https://forum.kirupa.com/u/dhamsaniyajay)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 9:40am UTC](https://forum.kirupa.com/t/how-to-load-images-at-runtime-on-a-plane-using-papervision3d/320903 "2011-04-05T09:40:09Z")

</div>

hello, my query is that at run time i want to embed different images on to a plane using papervision3d.........pls help me out with appropriate solution ??????

---

## [Need urgent help in importing SWF file](https://forum.kirupa.com/t/need-urgent-help-in-importing-swf-file/320902)

<div class="topic-metadata">

**Author:** [@khin](https://forum.kirupa.com/u/khin)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 9:32am UTC](https://forum.kirupa.com/t/need-urgent-help-in-importing-swf-file/320902 "2011-04-05T09:32:30Z")

</div>

Hi everyone, I need a little favour from u all. I imported the external SWF to my main file. Everything was working fine. But the thing is, once I delete the original external SWF, my main file will not work anymore. …

---

## [Tutorial: Tracking JS Events using Google Analytics!](https://forum.kirupa.com/t/tutorial-tracking-js-events-using-google-analytics/320897)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 7:32am UTC](https://forum.kirupa.com/t/tutorial-tracking-js-events-using-google-analytics/320897 "2011-04-05T07:32:11Z")

</div>

Hi everyone, This is the place to discuss anything and everything regarding the Tracking JS Events using Google Analytics tutorial \[smile\] Cheers, Kirupa :hugegrin:

---

## [Do We Have Destructor in Java?](https://forum.kirupa.com/t/do-we-have-destructor-in-java/320894)

<div class="topic-metadata">

**Author:** [@superseoservice](https://forum.kirupa.com/u/superseoservice)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 4:47am UTC](https://forum.kirupa.com/t/do-we-have-destructor-in-java/320894 "2011-04-05T04:47:08Z")

</div>

Now that we have garbage collector?

---

## [Anyone Here Learning Objective C++](https://forum.kirupa.com/t/anyone-here-learning-objective-c/320893)

<div class="topic-metadata">

**Author:** [@superseoservice](https://forum.kirupa.com/u/superseoservice)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 4:46am UTC](https://forum.kirupa.com/t/anyone-here-learning-objective-c/320893 "2011-04-05T04:46:02Z")

</div>

Is it a shelfed project by Mac?

---

## [In C++ What Other Smart Pointers](https://forum.kirupa.com/t/in-c-what-other-smart-pointers/320892)

<div class="topic-metadata">

**Author:** [@superseoservice](https://forum.kirupa.com/u/superseoservice)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 4:44am UTC](https://forum.kirupa.com/t/in-c-what-other-smart-pointers/320892 "2011-04-05T04:44:58Z")

</div>

Beside the unique\_ptr That is provided by standard library

---

## [\[AS2\] Making an escape game. Help with an if statement...and equiping an item](https://forum.kirupa.com/t/as2-making-an-escape-game-help-with-an-if-statement-and-equiping-an-item/320891)

<div class="topic-metadata">

**Author:** [@shiftwig113](https://forum.kirupa.com/u/shiftwig113)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 2:52am UTC](https://forum.kirupa.com/t/as2-making-an-escape-game-help-with-an-if-statement-and-equiping-an-item/320891 "2011-04-05T02:52:42Z")

</div>

Well i need help with two things! i need help with an if statement that satisfies the following \_root.bead.\_visible=1 \_root.App.\_visible=1 \_root.Grapes.\_visible=1 //code specifying that the 3 clickable objects have …

---

## [Random scrolling content in Flash](https://forum.kirupa.com/t/random-scrolling-content-in-flash/320889)

<div class="topic-metadata">

**Author:** [@duder78](https://forum.kirupa.com/u/duder78)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 1:08am UTC](https://forum.kirupa.com/t/random-scrolling-content-in-flash/320889 "2011-04-05T01:08:56Z")

</div>

I'm working on a banner advertisement but I've hit a bit of a snag. First, here's what I'm trying to do. 1 - Eight MovieClips are added to the timeline. They are based on a MovieClip in the library which contains 1…

---

## [Class code layout](https://forum.kirupa.com/t/class-code-layout/320888)

<div class="topic-metadata">

**Author:** [@sk138](https://forum.kirupa.com/u/sk138)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:09am UTC](https://forum.kirupa.com/t/class-code-layout/320888 "2011-04-05T00:09:54Z")

</div>

I have been learning a lot in AS3 with creating classes. I was wondering if there are any standards for class organization. Currently, I put my imported packages first, followed by the class definition. Next, I do an…

---

## [AnimatedImg class](https://forum.kirupa.com/t/animatedimg-class/320887)

<div class="topic-metadata">

**Author:** [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 9:11pm UTC](https://forum.kirupa.com/t/animatedimg-class/320887 "2011-04-04T21:11:55Z")

</div>

so a little while back i had the desire to animate .png files rather than .gif, simple enough in javascript, then i decided to take it one step further and add some methods and even events to make my animated image a kin…

---

## [AS3 custom CSS tag BUG?](https://forum.kirupa.com/t/as3-custom-css-tag-bug/320886)

<div class="topic-metadata">

**Author:** [@FlashUserNull](https://forum.kirupa.com/u/FlashUserNull)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:33pm UTC](https://forum.kirupa.com/t/as3-custom-css-tag-bug/320886 "2011-04-04T20:33:20Z")

</div>

I'm running into a problem whenever i apply a custom CSS tag to my html text in a TextField. At the end of the custom tagged text it automatically adds a carriage return and starts a new line even though there is plenty…

---

## [Snapping on predefined grid](https://forum.kirupa.com/t/snapping-on-predefined-grid/320884)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:21pm UTC](https://forum.kirupa.com/t/snapping-on-predefined-grid/320884 "2011-04-04T20:21:35Z")

</div>

I've got a movie clip that's basically a grid with small little boxes that total 84 rows, and 20 columns... I'm trying to get the user to be able to snap to the y position of one of the small little boxes. You click …

---

## [Building a computer](https://forum.kirupa.com/t/building-a-computer/320882)

<div class="topic-metadata">

**Author:** [@hithertonothing](https://forum.kirupa.com/u/hithertonothing)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:02pm UTC](https://forum.kirupa.com/t/building-a-computer/320882 "2011-04-04T20:02:59Z")

</div>

Hi, Maybe not a typical AS3 post but I'm wondering what type of hardware I'd need to create full 3D environments in flash, with pre-rendered 1280 - 1024 png images loading in real time. There would be probably four ove…

---

## [styleSheet on TextField not working](https://forum.kirupa.com/t/stylesheet-on-textfield-not-working/320881)

<div class="topic-metadata">

**Author:** [@daa7k](https://forum.kirupa.com/u/daa7k)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 7:32pm UTC](https://forum.kirupa.com/t/stylesheet-on-textfield-not-working/320881 "2011-04-04T19:32:14Z")

</div>

I can't find out how to apply a stylesheet to a text field. It just does not work. This is the css: p { font-size: 24; font-family: Verdana, Geneva, sans-serif; font-style: italic; color: #006666; }…

---

## [Problem with mouse events being blocked](https://forum.kirupa.com/t/problem-with-mouse-events-being-blocked/320879)

<div class="topic-metadata">

**Author:** [@sk138](https://forum.kirupa.com/u/sk138)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:51pm UTC](https://forum.kirupa.com/t/problem-with-mouse-events-being-blocked/320879 "2011-04-04T16:51:51Z")

</div>

I am working on a tower defense game and I have it setup so when you click on a tower button to build it, a image of the tower (movieclip) follows the mouse cursor around. I also have it setup so that any empty tiles you…

---

## [Understanding arrays and for-loops together](https://forum.kirupa.com/t/understanding-arrays-and-for-loops-together/320877)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:43pm UTC](https://forum.kirupa.com/t/understanding-arrays-and-for-loops-together/320877 "2011-04-04T16:43:52Z")

</div>

Hi, Can some help me understand how arrays and for loops work together? In the following code 100 rain drops are created with the first for loop and then moved with a second for loop the part that I don’t know understa…

---

## [Flash banner with video footage](https://forum.kirupa.com/t/flash-banner-with-video-footage/320876)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:20pm UTC](https://forum.kirupa.com/t/flash-banner-with-video-footage/320876 "2011-04-04T16:20:53Z")

</div>

Hi All, I have seen more and more Flash banners includes real video footage. How do I go about including video in banners and still keep the filesize low? Great if anyone could give me a direction and best practice. …

---

## [Controlling timeline of an instance](https://forum.kirupa.com/t/controlling-timeline-of-an-instance/320875)

<div class="topic-metadata">

**Author:** [@denisrobot](https://forum.kirupa.com/u/denisrobot)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 3:26pm UTC](https://forum.kirupa.com/t/controlling-timeline-of-an-instance/320875 "2011-04-04T15:26:05Z")

</div>

Hello! I have a MovieClip that's called 'enemy1'. It is using a class called 'Enemy'. Is it possible to control my enemy1 MovieClip's timeline from the Enemy class? For example I want to run an if check and see if cu…

---

## [textFlow to textField](https://forum.kirupa.com/t/textflow-to-textfield/320870)

<div class="topic-metadata">

**Author:** [@acto](https://forum.kirupa.com/u/acto)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 1:21pm UTC](https://forum.kirupa.com/t/textflow-to-textfield/320870 "2011-04-04T13:21:52Z")

</div>

Hi, I need to use TLF textFlow to change the format of my text, I have links, italics, bold, paragraphs, etc. Is there a way to PUT the textFlow inside a textField so I can scroll the text inside the textField? All h…

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

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