# programming

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

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

**Page:** 246

---

## [Rotate a sine wave to an arbitrary angle?](https://forum.kirupa.com/t/rotate-a-sine-wave-to-an-arbitrary-angle/324161)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 2:41pm UTC](https://forum.kirupa.com/t/rotate-a-sine-wave-to-an-arbitrary-angle/324161 "2011-08-05T14:41:43Z")

</div>

That might not be what I really mean, but I'm not sure how else to describe it! I want to be able to take a general sine wave y=Math.sin(x) and rotate it around some other angle, so instead of going strictly left-to-ri…

---

## [Need help implementing a \[CACHEBUSTER\] macro](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 1:46pm UTC](https://forum.kirupa.com/t/need-help-implementing-a-cachebuster-macro/324160 "2011-08-05T13:46:44Z")

</div>

I have been asked to incorporate a 1x1 tracking pixel. Because this is two different 3rd party APIs, I have to implement the 1x1 tracking pixel, inside my Flash files. The SWFs 3rd party API has a method for using 1x1 …

---

## [Flash freezes when trying to: Test movie, test scene, publish, and preview. What give](https://forum.kirupa.com/t/flash-freezes-when-trying-to-test-movie-test-scene-publish-and-preview-what-give/324159)

<div class="topic-metadata">

**Author:** [@Brandon\_Lucas](https://forum.kirupa.com/u/Brandon_Lucas)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 1:00pm UTC](https://forum.kirupa.com/t/flash-freezes-when-trying-to-test-movie-test-scene-publish-and-preview-what-give/324159 "2011-08-05T13:00:36Z")

</div>

I tried everything but can't figure this out. Can someone take a look at the fla please? http://www.megaupload.com/?d=UNJBU2BV

---

## [Spanish Encoding- Any spanish speakers that can help with encoding?](https://forum.kirupa.com/t/spanish-encoding-any-spanish-speakers-that-can-help-with-encoding/324158)

<div class="topic-metadata">

**Author:** [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 9:31am UTC](https://forum.kirupa.com/t/spanish-encoding-any-spanish-speakers-that-can-help-with-encoding/324158 "2011-08-05T09:31:36Z")

</div>

Hello Forum! I’m having issues with encoding- parts of my website looks fine- but sometimes errors appear. My website HIHUAY เว็บหวยออนไลน์ จ่ายเงินจริง ไม่มีเลขอั้น เว็บหวยอันดับ 1 Notice the: \[LEFT\]\[COLOR=#000000\]…

---

## [I need a clarification and a possibly, if there's a solution](https://forum.kirupa.com/t/i-need-a-clarification-and-a-possibly-if-theres-a-solution/324157)

<div class="topic-metadata">

**Author:** [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:29am UTC](https://forum.kirupa.com/t/i-need-a-clarification-and-a-possibly-if-theres-a-solution/324157 "2011-08-05T06:29:29Z")

</div>

Hi guys I have a question, something to do with the AS3 class. So staight to the point, everytime i create a looping statement that adds a movieclip object(with a class property) on an AS3 class i created, an 'Error: S…

---

## [Variable monitoring from outside class](https://forum.kirupa.com/t/variable-monitoring-from-outside-class/324156)

<div class="topic-metadata">

**Author:** [@Icarium](https://forum.kirupa.com/u/Icarium)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 6:29am UTC](https://forum.kirupa.com/t/variable-monitoring-from-outside-class/324156 "2011-08-05T06:29:18Z")

</div>

Hello, I am attempting to make a simple class that I use to debug some of my code at runtime. I use a function in my debug class to pass a variable from another class that I want to monitor in realtime. For simplicity sa…

---

## [date\_format help](https://forum.kirupa.com/t/date-format-help/324154)

<div class="topic-metadata">

**Author:** [@LordNecro](https://forum.kirupa.com/u/LordNecro)\
**Replies:** 0\
**Last updated:** [August 5, 2011, 4:57am UTC](https://forum.kirupa.com/t/date-format-help/324154 "2011-08-05T04:57:07Z")

</div>

Hey guys, so I follow a tutorial here: http://www.kirupa.com/web/sqlrecords\_php2.htm and was wondering how I would go about changing the date to DD/MM/YYYY? Here's a snippet to show you what I have at the moment. $…

---

## [Help on loading variables from one swf to another swf via php](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:47pm UTC](https://forum.kirupa.com/t/help-on-loading-variables-from-one-swf-to-another-swf-via-php/324149 "2011-08-04T17:47:12Z")

</div>

Guys This question might be a common one ..I too have googled for it a lot but cudnt find the solution for my problem. I have a swf file that loads variable into a php file by : my\_lv.send("file.php","\_blank","POST…

---

## [Help me on this code](https://forum.kirupa.com/t/help-me-on-this-code/324147)

<div class="topic-metadata">

**Author:** [@LukeElChul](https://forum.kirupa.com/u/LukeElChul)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:06pm UTC](https://forum.kirupa.com/t/help-me-on-this-code/324147 "2011-08-04T17:06:28Z")

</div>

ive got two units (unit and unit1) could u help me with this code so i can move the units seperatly to different places in the scene. For example: move unit1 to top left while unit stays still then move unit to top rig…

---

## [Photo Gallery Flash - HELP](https://forum.kirupa.com/t/photo-gallery-flash-help/324146)

<div class="topic-metadata">

**Author:** [@nekogrl33](https://forum.kirupa.com/u/nekogrl33)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 5:00pm UTC](https://forum.kirupa.com/t/photo-gallery-flash-help/324146 "2011-08-04T17:00:00Z")

</div>

I love your guys tutorial. http://www.kirupa.com/developer/mx/photogallery.htm But I wanted to make mine cycle through each image every 2 or 3 seconds, can anyone help??? :fab:

---

## [AutoFormat bug reporting](https://forum.kirupa.com/t/autoformat-bug-reporting/324145)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 4:04pm UTC](https://forum.kirupa.com/t/autoformat-bug-reporting/324145 "2011-08-04T16:04:31Z")

</div>

Is there a defined way to report bugs with the autoformat system to adobe (or do they even care may be a better question)? Also, is there a list anywhere of known bugs in CS5? In the last 24 hours I have come across se…

---

## [PHP MySQL Select Dropdown - Help Needed](https://forum.kirupa.com/t/php-mysql-select-dropdown-help-needed/324144)

<div class="topic-metadata">

**Author:** [@phpmysql5](https://forum.kirupa.com/u/phpmysql5)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 3:50pm UTC](https://forum.kirupa.com/t/php-mysql-select-dropdown-help-needed/324144 "2011-08-04T15:50:51Z")

</div>

Hi everyone, to the php/mysql experts, I'm looking to create a dropdown menu where it is called from a database. I'm making a pizza selection site. the customer gets a second pizza free when the first one is chosen. I…

---

## [ASP.NET Tutorial](https://forum.kirupa.com/t/asp-net-tutorial/324142)

<div class="topic-metadata">

**Author:** [@QualityServices](https://forum.kirupa.com/u/QualityServices)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 12:15pm UTC](https://forum.kirupa.com/t/asp-net-tutorial/324142 "2011-08-04T12:15:42Z")

</div>

Can anyone give a link of quality tutorial site on ASP.NET ???????? :rocker:

---

## [Image width determined by screen width?](https://forum.kirupa.com/t/image-width-determined-by-screen-width/324141)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 11:47am UTC](https://forum.kirupa.com/t/image-width-determined-by-screen-width/324141 "2011-08-04T11:47:31Z")

</div>

Hello, I am trying to use a jpeg image as a banner or stripe at the top of an html page. I do not want this stripe to be so wide that a user can scroll over, I want it to be just as wide as the viewable area of the scr…

---

## [Asset Performance Management](https://forum.kirupa.com/t/asset-performance-management/324139)

<div class="topic-metadata">

**Author:** [@denielnill](https://forum.kirupa.com/u/denielnill)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 8:53am UTC](https://forum.kirupa.com/t/asset-performance-management/324139 "2011-08-04T08:53:26Z")

</div>

Reliability analysis provides complete picture about \[asset performance management and optimization. \[URL="http://www.assetanalytix.com/"\]Maximo reporting is the analytical tool that triggers the data driven decisions su…

---

## [A\* — How to not test diagonal nodes?](https://forum.kirupa.com/t/a-how-to-not-test-diagonal-nodes/324138)

<div class="topic-metadata">

**Author:** [@m\_elemental](https://forum.kirupa.com/u/m_elemental)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 8:50am UTC](https://forum.kirupa.com/t/a-how-to-not-test-diagonal-nodes/324138 "2011-08-04T08:50:12Z")

</div>

Does anyone know how to prevent diagonal nodes from being tested when using A\* pathfinding? My character poses are only four way and it seems a waste of processing power to even bother checking the diagonals. Thanks \[…

---

## [AS3 copyPixels for MovieClip?](https://forum.kirupa.com/t/as3-copypixels-for-movieclip/324136)

<div class="topic-metadata">

**Author:** [@SplashKhat](https://forum.kirupa.com/u/SplashKhat)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 7:20am UTC](https://forum.kirupa.com/t/as3-copypixels-for-movieclip/324136 "2011-08-04T07:20:55Z")

</div>

I'm not much of a scripter. I get by editing scripts similar to my needs. I learned a few things about blitting and I'm trying to get a rectangle area of a MovieClip to blit to a location on the stage. But I run into …

---

## [AIR iOS app crashes](https://forum.kirupa.com/t/air-ios-app-crashes/324135)

<div class="topic-metadata">

**Author:** [@zebdaag](https://forum.kirupa.com/u/zebdaag)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 6:56am UTC](https://forum.kirupa.com/t/air-ios-app-crashes/324135 "2011-08-04T06:56:16Z")

</div>

Hi everybody, I've been working on an iPad app in Flash and all went well but at the end I discovered a problem. I'm making a childrens book with a page on each frame. And a can move between the pages. On the pages thi…

---

## [Multiplying instances?](https://forum.kirupa.com/t/multiplying-instances/324133)

<div class="topic-metadata">

**Author:** [@randa2723](https://forum.kirupa.com/u/randa2723)\
**Replies:** 0\
**Last updated:** [August 4, 2011, 12:01am UTC](https://forum.kirupa.com/t/multiplying-instances/324133 "2011-08-04T00:01:41Z")

</div>

Hi, guys! I'm a level 0 student of AS3. How does one multiply the bouncing balls in the following code which I saw in one of the threads in the forum? Let's just say I want to see 10 bouncing balls. How should I g…

---

## [iPad/iPhone layout](https://forum.kirupa.com/t/ipad-iphone-layout/324131)

<div class="topic-metadata">

**Author:** [@AnnieCanoe](https://forum.kirupa.com/u/AnnieCanoe)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 8:54pm UTC](https://forum.kirupa.com/t/ipad-iphone-layout/324131 "2011-08-03T20:54:26Z")

</div>

Hi! I'm adapting my existing Flash app to iPhone/iPad. In the iPhone OS Settings, you can choose "Landscape" or "Portrait", but no matter what I choose it's always showing as 'Portrait' layout in the debug viewer. …

---

## [Use bitmap as a colour With Code?](https://forum.kirupa.com/t/use-bitmap-as-a-colour-with-code/324129)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 8:48pm UTC](https://forum.kirupa.com/t/use-bitmap-as-a-colour-with-code/324129 "2011-08-03T20:48:04Z")

</div>

Hey there. Been awhile for a flash as2 question, but came upon a new one today. I am creating a little drawing app for an online contest using lineStyle and moveTo with a selected colour controlled by the hex values eg 0…

---

## [5.5 font weirdness](https://forum.kirupa.com/t/5-5-font-weirdness/324128)

<div class="topic-metadata">

**Author:** [@activa](https://forum.kirupa.com/u/activa)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 6:26pm UTC](https://forum.kirupa.com/t/5-5-font-weirdness/324128 "2011-08-03T18:26:14Z")

</div>

I started using 5.5 today, from CS3. I have a routine that loads a font from an SWF. It was working great in CS3. In CS5.5 the font loads but doesn't appear. If I remove the ".embedFonts = true" statement from the TextFi…

---

## [Pull numbers out of a string](https://forum.kirupa.com/t/pull-numbers-out-of-a-string/324127)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 5:25pm UTC](https://forum.kirupa.com/t/pull-numbers-out-of-a-string/324127 "2011-08-03T17:25:07Z")

</div>

I need to pull numbers out of a string. I can easily iterate over all the characters, but the problem I am having is that often the numbers are zeroes. Is there a way to convert a string to an integer other than casting …

---

## [Call to main timeline, after external video or audio is done playing?](https://forum.kirupa.com/t/call-to-main-timeline-after-external-video-or-audio-is-done-playing/324126)

<div class="topic-metadata">

**Author:** [@lazerbrains](https://forum.kirupa.com/u/lazerbrains)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 4:46pm UTC](https://forum.kirupa.com/t/call-to-main-timeline-after-external-video-or-audio-is-done-playing/324126 "2011-08-03T16:46:54Z")

</div>

I am curious if there is a way to call back to the main timeline using AS3 after a video clip or audio clip that is being loaded externally, is done playing? For instance: you get to a page with a video on it, but whe…

---

## [Dynamically Removing Filters](https://forum.kirupa.com/t/dynamically-removing-filters/324125)

<div class="topic-metadata">

**Author:** [@Rinkusu](https://forum.kirupa.com/u/Rinkusu)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 4:37pm UTC](https://forum.kirupa.com/t/dynamically-removing-filters/324125 "2011-08-03T16:37:28Z")

</div>

Basically, the effect I'm going for is, you click on a button that calls an mc to the stage and blurs everything below it. Within that mc is a button that when clicked, should remove both the mc and the blur filter. Th…

---

## [Help regarding Hover Caption Tutorial on Kirupa](https://forum.kirupa.com/t/help-regarding-hover-caption-tutorial-on-kirupa/324124)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 2:39pm UTC](https://forum.kirupa.com/t/help-regarding-hover-caption-tutorial-on-kirupa/324124 "2011-08-03T14:39:16Z")

</div>

Dear all . My query is in respect to the tutorial posted on kirupa : \[URL="http://www.kirupa.com/developer/mx2004/hover\_captions.htm"\]http://www.kirupa.com/developer/mx2004/hover\_captions.htm Now : 1) If I want to add…

---

## [An actual size FLV of my MPEG... possible?](https://forum.kirupa.com/t/an-actual-size-flv-of-my-mpeg-possible/324123)

<div class="topic-metadata">

**Author:** [@nkaps7](https://forum.kirupa.com/u/nkaps7)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 1:47pm UTC](https://forum.kirupa.com/t/an-actual-size-flv-of-my-mpeg-possible/324123 "2011-08-03T13:47:55Z")

</div>

I have converted my MPEG video recorded from my camcorder to FLV to use on "Flash CS4" using "Adobe Media Converter". But the FLV playback on the "Flash player 10" is alot smaller than the playback of the MPEG video on "…

---

## [How to convert video to AVI](https://forum.kirupa.com/t/how-to-convert-video-to-avi/324120)

<div class="topic-metadata">

**Author:** [@jackerwang](https://forum.kirupa.com/u/jackerwang)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 11:26am UTC](https://forum.kirupa.com/t/how-to-convert-video-to-avi/324120 "2011-08-03T11:26:31Z")

</div>

Now many people are complained that they can not see the move on their video readers in the right formats. Here I will recommend you the most convenient and useful video converter. Tipard Video Converter, the most profe…

---

## [Different Security sandboxType when debugging](https://forum.kirupa.com/t/different-security-sandboxtype-when-debugging/324118)

<div class="topic-metadata">

**Author:** [@mono\_eric3](https://forum.kirupa.com/u/mono_eric3)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 10:05am UTC](https://forum.kirupa.com/t/different-security-sandboxtype-when-debugging/324118 "2011-08-03T10:05:00Z")

</div>

Hey everyone, I'm finishing up a game with the Flash IDE (CS5) and I've hit an issue with Security.sandboxType. When testing the movie locally the sandboxType is localTrusted. When debugging locally the sandboxType…

---

## [Hiding elements behind other elements?](https://forum.kirupa.com/t/hiding-elements-behind-other-elements/324117)

<div class="topic-metadata">

**Author:** [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Replies:** 0\
**Last updated:** [August 3, 2011, 7:24am UTC](https://forum.kirupa.com/t/hiding-elements-behind-other-elements/324117 "2011-08-03T07:24:34Z")

</div>

Hello Kirupa Forum Guys! My site: \[URL="http://www.hola-china.net/wordpress/"\]http://www.hola-china.net/wordpress/ I wonder if this is a z-index issue? Notice on the top right, there is a menu called, Country info: O…

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

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