# programming

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

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

**Page:** 945

---

## [Super fast 264 video playback bug](https://forum.kirupa.com/t/super-fast-264-video-playback-bug/280183)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 7:56pm UTC](https://forum.kirupa.com/t/super-fast-264-video-playback-bug/280183 "2009-01-23T19:56:29Z")

</div>

Seems I am being bitten by this bug, http://vimeo.com/forums/topic:8751 Where short, h264 videos with no audio play at around 4x their normal speed when they first load. Once they have played, they are fine. Seems …

---

## [TweenMax not looping](https://forum.kirupa.com/t/tweenmax-not-looping/280181)

<div class="topic-metadata">

**Author:** [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 7:35pm UTC](https://forum.kirupa.com/t/tweenmax-not-looping/280181 "2009-01-23T19:35:30Z")

</div>

I have (what should be) a really simple little piece of code inside a moviclip, trying to get it to fade in and out in a loop. Here's the code (within the movieclip): import gs.TweenMax; this.\_alpha = 100; alphaDown =…

---

## [What's With The Class Code?](https://forum.kirupa.com/t/whats-with-the-class-code/280179)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 7:15pm UTC](https://forum.kirupa.com/t/whats-with-the-class-code/280179 "2009-01-23T19:15:05Z")

</div>

I'm using a custom Class and I put it trace(myMC.x);. Sometimes it works just fine, but at other times it says that its a call to a possibly undefined property. Why is this happening and how can I fix it? Thanks in a…

---

## [Drag and Drop Re-order Movie Clips](https://forum.kirupa.com/t/drag-and-drop-re-order-movie-clips/280175)

<div class="topic-metadata">

**Author:** [@zantetsuken](https://forum.kirupa.com/u/zantetsuken)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 6:48pm UTC](https://forum.kirupa.com/t/drag-and-drop-re-order-movie-clips/280175 "2009-01-23T18:48:28Z")

</div>

Has anyone seen or done anything like this before? I want to create a Drag and Drop where there are a given number of movie clips and if I drag one of those movie clips vertically above or below another movie clip it w…

---

## [How to hit an object with mouse?](https://forum.kirupa.com/t/how-to-hit-an-object-with-mouse/280173)

<div class="topic-metadata">

**Author:** [@digitalmaniak](https://forum.kirupa.com/u/digitalmaniak)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 6:21pm UTC](https://forum.kirupa.com/t/how-to-hit-an-object-with-mouse/280173 "2009-01-23T18:21:45Z")

</div>

Hey, I have created a pendulum and in order to move it you must drag the object. example: http://inthel00p.com/pendulum.swf I would like to be able to move the ball by just bumping into it with the mouse. How could t…

---

## [Anyone wanna make an ident for web tv?](https://forum.kirupa.com/t/anyone-wanna-make-an-ident-for-web-tv/280169)

<div class="topic-metadata">

**Author:** [@greyarea](https://forum.kirupa.com/u/greyarea)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 5:31pm UTC](https://forum.kirupa.com/t/anyone-wanna-make-an-ident-for-web-tv/280169 "2009-01-23T17:31:22Z")

</div>

hello - just wandered if anyone wanted to practice their skills by making a silly/weird 5 second ident for a web tv channel? this is the story, i've designed a channel and prepared a playlist on justin.tv (24 hour scif…

---

## [How to stop MovieClip.prototype.play](https://forum.kirupa.com/t/how-to-stop-movieclip-prototype-play/280168)

<div class="topic-metadata">

**Author:** [@MattiasA](https://forum.kirupa.com/u/MattiasA)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 5:17pm UTC](https://forum.kirupa.com/t/how-to-stop-movieclip-prototype-play/280168 "2009-01-23T17:17:32Z")

</div>

0

---

## [Wierd spacing at the bottom of images](https://forum.kirupa.com/t/wierd-spacing-at-the-bottom-of-images/280164)

<div class="topic-metadata">

**Author:** [@redelite](https://forum.kirupa.com/u/redelite)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 4:24pm UTC](https://forum.kirupa.com/t/wierd-spacing-at-the-bottom-of-images/280164 "2009-01-23T16:24:11Z")

</div>

Hey guys. I just recently completed my portfolio/services layout and I have an awkward problem that only seems to be happening in Firefox. If you look under the "Recent Work" section you will see 3 images. Wrapped aro…

---

## [Dynamic Text field inside Button](https://forum.kirupa.com/t/dynamic-text-field-inside-button/280162)

<div class="topic-metadata">

**Author:** [@stooee](https://forum.kirupa.com/u/stooee)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 4:16pm UTC](https://forum.kirupa.com/t/dynamic-text-field-inside-button/280162 "2009-01-23T16:16:24Z")

</div>

Hey guys, I could have sworn I did this before but now I can't seem to get it to work. I am loading some text from an xml file and I can get it to display within a dynamic text field. I need to create just a simple l…

---

## [\[CS3\]\[AS2\] FLVPlayback skin scrubber issue](https://forum.kirupa.com/t/cs3-as2-flvplayback-skin-scrubber-issue/280160)

<div class="topic-metadata">

**Author:** [@ixt000](https://forum.kirupa.com/u/ixt000)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 3:56pm UTC](https://forum.kirupa.com/t/cs3-as2-flvplayback-skin-scrubber-issue/280160 "2009-01-23T15:56:30Z")

</div>

Hi, I have a custom skin for a flvplayback ( which is only a color change from the standard metal gray ). My problem is while a movie is streaming, if i move the scrubber beyond the streamed section the video completel…

---

## [\[AS3\] How to apply autoSize TextFieldAutoSize on text located on Stage?](https://forum.kirupa.com/t/as3-how-to-apply-autosize-textfieldautosize-on-text-located-on-stage/280159)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 3:39pm UTC](https://forum.kirupa.com/t/as3-how-to-apply-autosize-textfieldautosize-on-text-located-on-stage/280159 "2009-01-23T15:39:28Z")

</div>

I have a movieclip, with a dynamic text inside. This movieclip is already on stage. I have found several solutions to this TextFieldAutoResize, however, most of them requires to create a new text before implementing T…

---

## [Remainder of a division in Perl](https://forum.kirupa.com/t/remainder-of-a-division-in-perl/280158)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 3:29pm UTC](https://forum.kirupa.com/t/remainder-of-a-division-in-perl/280158 "2009-01-23T15:29:51Z")

</div>

Hello, If I'm carrying out a division, say with $a=57 and $b=5, if I carry out a division $a/$b, I would like the remainder in another variable, say $c - how do I do that? Thanks.

---

## [Swfaddress +xml](https://forum.kirupa.com/t/swfaddress-xml/280157)

<div class="topic-metadata">

**Author:** [@Dojjjan](https://forum.kirupa.com/u/Dojjjan)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 3:24pm UTC](https://forum.kirupa.com/t/swfaddress-xml/280157 "2009-01-23T15:24:27Z")

</div>

Im using swfaddress for the moment but im using it on the timeline which is not as dynamic as i would like it to be. do anyone know of a good tutorial for how to combine xml and swfaddress? i would like swfadress to get …

---

## [AS2 problem with goto previous frame](https://forum.kirupa.com/t/as2-problem-with-goto-previous-frame/280156)

<div class="topic-metadata">

**Author:** [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 2:59pm UTC](https://forum.kirupa.com/t/as2-problem-with-goto-previous-frame/280156 "2009-01-23T14:59:24Z")

</div>

Hello, I'm using a simple piece of code on a button... on(press){ \_level0.prevFrame(); } ... to go to previous frame but for some reason it causes the main movie clip to flicker. Is this a known problem or am I doing…

---

## [I need to animate a Sprite on a path with AS3](https://forum.kirupa.com/t/i-need-to-animate-a-sprite-on-a-path-with-as3/280155)

<div class="topic-metadata">

**Author:** [@bobcahill](https://forum.kirupa.com/u/bobcahill)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 2:20pm UTC](https://forum.kirupa.com/t/i-need-to-animate-a-sprite-on-a-path-with-as3/280155 "2009-01-23T14:20:40Z")

</div>

I need to animate a Sprite on a path with AS3. I know how to do this with a timeline tween, but I need to be able to keep the animation dynamic. Any thoughts?

---

## [Browser resizing my swf](https://forum.kirupa.com/t/browser-resizing-my-swf/280153)

<div class="topic-metadata">

**Author:** [@codeycody](https://forum.kirupa.com/u/codeycody)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 1:40pm UTC](https://forum.kirupa.com/t/browser-resizing-my-swf/280153 "2009-01-23T13:40:42Z")

</div>

Hi, I have a stage of 600x400 and in the publish settings I chose this same width and height (with pixels dimension, and scale: No Scale). And when I load the swf in a browser: http://mydomain.com/flash.swf It re…

---

## [Best resources for a new Flash/Flex game developer?](https://forum.kirupa.com/t/best-resources-for-a-new-flash-flex-game-developer/280152)

<div class="topic-metadata">

**Author:** [@sofakng](https://forum.kirupa.com/u/sofakng)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 1:40pm UTC](https://forum.kirupa.com/t/best-resources-for-a-new-flash-flex-game-developer/280152 "2009-01-23T13:40:30Z")

</div>

I'm currently a VB.NET/C# software developer and I'm looking to try my hand at making some games using Flash or Flex. It seems like Flex is the better option for programmers so I'll most likely go down that road... (usi…

---

## [% math](https://forum.kirupa.com/t/math/280151)

<div class="topic-metadata">

**Author:** [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 1:06pm UTC](https://forum.kirupa.com/t/math/280151 "2009-01-23T13:06:50Z")

</div>

Ok... I have a game where in an ideal situation the players needs to press 12 times in the correct sequence to win. However they are more likely to click incorrectly. How can I do a percentage to indicate how well …

---

## [Working with E4X operators](https://forum.kirupa.com/t/working-with-e4x-operators/280149)

<div class="topic-metadata">

**Author:** [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 11:54am UTC](https://forum.kirupa.com/t/working-with-e4x-operators/280149 "2009-01-23T11:54:09Z")

</div>

I'm trying to pick out the full "player" profile (xml..profilename) information about the player when the name matches eventPlayer - but all I am getting is "True" or "False" - What am I doing wrong? XML Structure: \<…

---

## [Check for Matching DataGrid Content](https://forum.kirupa.com/t/check-for-matching-datagrid-content/280147)

<div class="topic-metadata">

**Author:** [@e\_owen](https://forum.kirupa.com/u/e_owen)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 10:47am UTC](https://forum.kirupa.com/t/check-for-matching-datagrid-content/280147 "2009-01-23T10:47:17Z")

</div>

Morning, I am building an app which is basically a timesheet. Once the user has chosen client, project and time spent they 'submit', and the three fields are added to a datagrid component. At the moment each time they su…

---

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

<div class="topic-metadata">

**Author:** [@Centifolia](https://forum.kirupa.com/u/Centifolia)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 10:38am UTC](https://forum.kirupa.com/t/help-with-portfolio/280146 "2009-01-23T10:38:35Z")

</div>

Hi -- I'm pretty new to Flash and could use some help. I want to make a portfolio. On the picture below you can see what the page should sort of look like. The navigation is supposed to be in the left corner and stays th…

---

## [MainTimeLine Preloader(DocClass)](https://forum.kirupa.com/t/maintimeline-preloader-docclass/280144)

<div class="topic-metadata">

**Author:** [@snowman007](https://forum.kirupa.com/u/snowman007)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 10:28am UTC](https://forum.kirupa.com/t/maintimeline-preloader-docclass/280144 "2009-01-23T10:28:57Z")

</div>

Hi Kirupian i have fla instead of textbox and buttons. and fla have documentclass.Main class use button and text of first frame. how can i create preloader this project :cantlook: -- i try; use preloader scene -\>not su…

---

## [Tiny Printer Friendly CSS Bug](https://forum.kirupa.com/t/tiny-printer-friendly-css-bug/280143)

<div class="topic-metadata">

**Author:** [@thedaveyb](https://forum.kirupa.com/u/thedaveyb)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 10:21am UTC](https://forum.kirupa.com/t/tiny-printer-friendly-css-bug/280143 "2009-01-23T10:21:29Z")

</div>

Hi Kirupians - I have a puzzler thats cropped up. I dont claim to be an expert on printer friendly css and i think this is my 3rd attempt ever - seems to have gone ok aside from one little bug which is all my headings (h…

---

## [jQuery UI - Slider](https://forum.kirupa.com/t/jquery-ui-slider/280142)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 10:00am UTC](https://forum.kirupa.com/t/jquery-ui-slider/280142 "2009-01-23T10:00:18Z")

</div>

Hi! Having some problem with the slider in jQuery. For example I set the startValue to 4000000 but the ui.value, the slider value, returns 3974522 instead. Why? Here´s what I do... $("#slider\_bar1").slider({ handl…

---

## [AS2 Help with a timed pause or delay within code](https://forum.kirupa.com/t/as2-help-with-a-timed-pause-or-delay-within-code/280140)

<div class="topic-metadata">

**Author:** [@tris3d](https://forum.kirupa.com/u/tris3d)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:48am UTC](https://forum.kirupa.com/t/as2-help-with-a-timed-pause-or-delay-within-code/280140 "2009-01-23T09:48:28Z")

</div>

I was wondering if anyone could help. I'm using this piece of code from a panning source file uploaded to this site while back. I've tried to change the code so that after you press the button the movie will slide to a c…

---

## [Heat Map / Blob physics](https://forum.kirupa.com/t/heat-map-blob-physics/280138)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:34am UTC](https://forum.kirupa.com/t/heat-map-blob-physics/280138 "2009-01-23T09:34:16Z")

</div>

Im trying to make a heat map, which moves dynamically and in realtime depending on data. I want to create a heat map / blob type feel, I've been looking at blob examples and they all seem to be randomly generated and or …

---

## [Losing instances in the timeline](https://forum.kirupa.com/t/losing-instances-in-the-timeline/280137)

<div class="topic-metadata">

**Author:** [@peterco](https://forum.kirupa.com/u/peterco)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 9:25am UTC](https://forum.kirupa.com/t/losing-instances-in-the-timeline/280137 "2009-01-23T09:25:18Z")

</div>

I am working in Flash cs3 and coding in Actionscript 3. If I put a instans of a button or a text field on a keyframe in the timeline and give this instans an instansname, if I then leave this keyframe and move to a part …

---

## [Adding Classes in AS3](https://forum.kirupa.com/t/adding-classes-in-as3/280132)

<div class="topic-metadata">

**Author:** [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 4:29am UTC](https://forum.kirupa.com/t/adding-classes-in-as3/280132 "2009-01-23T04:29:54Z")

</div>

Hello, I have read this tutorial and utilized it in my code, but the only problem is that I simply do not know how to add the classes that I am supposed to download. http://www.webdesign.org/web/flash-&-swish/flash-tutor…

---

## [Cool feature at puma.com](https://forum.kirupa.com/t/cool-feature-at-puma-com/280127)

<div class="topic-metadata">

**Author:** [@student07](https://forum.kirupa.com/u/student07)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 2:25am UTC](https://forum.kirupa.com/t/cool-feature-at-puma-com/280127 "2009-01-23T02:25:26Z")

</div>

Rollover the bottom right corner on the site http://www.puma.com/ This is really cool. I've been trying to find some info on this for some time. Does anyone know how this works?

---

## [\[as2\] Random Direction AI within area\_mc](https://forum.kirupa.com/t/as2-random-direction-ai-within-area-mc/280123)

<div class="topic-metadata">

**Author:** [@Olaf\_Forkbeard](https://forum.kirupa.com/u/Olaf_Forkbeard)\
**Replies:** 0\
**Last updated:** [January 23, 2009, 12:31am UTC](https://forum.kirupa.com/t/as2-random-direction-ai-within-area-mc/280123 "2009-01-23T00:31:03Z")

</div>

I am trying to build an AI that only moves when the movement is off of the drawn part of another Movie Clip. Lets call the AI's body "gob\_mc" (goblin) and the walls for where it cannot walk "gobWall\_mc". At the moment I'…

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

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