# programming

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

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

**Page:** 1546

---

## [SWFobject and embeded swfs](https://forum.kirupa.com/t/swfobject-and-embeded-swfs/238724)

<div class="topic-metadata">

**Author:** [@JulyChurches](https://forum.kirupa.com/u/JulyChurches)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 9:24am UTC](https://forum.kirupa.com/t/swfobject-and-embeded-swfs/238724 "2007-09-14T09:24:20Z")

</div>

Hi guys, I've been using the SWFobject for some time now. works perfect with standard flash. the problem is when i try to embed a swf inside a swf OR use an FLV with the skins. basically it doesn't load the skins/emb…

---

## [Problem with .htaccess 404 redirect](https://forum.kirupa.com/t/problem-with-htaccess-404-redirect/238723)

<div class="topic-metadata">

**Author:** [@bjitt](https://forum.kirupa.com/u/bjitt)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 9:04am UTC](https://forum.kirupa.com/t/problem-with-htaccess-404-redirect/238723 "2007-09-14T09:04:38Z")

</div>

Hi, I'm using the following code to do a 404 redirect.. ErrorDocument 404 index.php BUT when I go to execute a nonexistent file, the browser simply outputs "index.php" --- that's it. If I change the code to redir…

---

## [Random movment of an object?](https://forum.kirupa.com/t/random-movment-of-an-object/238721)

<div class="topic-metadata">

**Author:** [@TheDarkSide](https://forum.kirupa.com/u/TheDarkSide)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 8:16am UTC](https://forum.kirupa.com/t/random-movment-of-an-object/238721 "2007-09-14T08:16:15Z")

</div>

how do I go about implementing this? \*\*\[SIZE=2\]\[COLOR=#7f0055\]\*\*\[SIZE=2\]\[COLOR=#7f0055\]\*\*\[SIZE=2\]\[COLOR=#7f0055\]import \[/COLOR\]\[/SIZE\]\*\*\[SIZE=2\]\[COLOR=#000000\]com.ibm.invaders.\*;\[/COLOR\]\[/SIZE\] \[LEFT\]\*\*\[SIZE=2\]\[COLOR…

---

## [Actionscript analysing (external image placement/name?)](https://forum.kirupa.com/t/actionscript-analysing-external-image-placement-name/238719)

<div class="topic-metadata">

**Author:** [@Lill](https://forum.kirupa.com/u/Lill)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 8:11am UTC](https://forum.kirupa.com/t/actionscript-analysing-external-image-placement-name/238719 "2007-09-14T08:11:26Z")

</div>

Hi \[smiley\] i just found an interesting script, supposibly i heared it is used for image showing . useing thumbnails but the main mc is showing an enlarged verson of the thumb you click on . I wondered if any one of y…

---

## [Flash CS 3 Auto format problem](https://forum.kirupa.com/t/flash-cs-3-auto-format-problem/238715)

<div class="topic-metadata">

**Author:** [@chup](https://forum.kirupa.com/u/chup)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 7:30am UTC](https://forum.kirupa.com/t/flash-cs-3-auto-format-problem/238715 "2007-09-14T07:30:54Z")

</div>

Hi Guys, i have this following coding that flash CS3 seem to give me some problem on it autoformatting if (diffR\>180) { diffR -= 360; } else if (diffR\<-180) { diffR += 360; } The coding is on timeline, on FLASH…

---

## [Resize Sprite](https://forum.kirupa.com/t/resize-sprite/238712)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 5:17am UTC](https://forum.kirupa.com/t/resize-sprite/238712 "2007-09-14T05:17:09Z")

</div>

Hi guys, I have a class that extends Sprite, in the constructor I do this: surface=new BitmapData(100,100,true,0x00000000); bitmap=new Bitmap(surface); addChild(bitmap); ...so now I can use surface.copyPixels() for…

---

## [Help with News Ticker](https://forum.kirupa.com/t/help-with-news-ticker/238709)

<div class="topic-metadata">

**Author:** [@Mangesh](https://forum.kirupa.com/u/Mangesh)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 4:09am UTC](https://forum.kirupa.com/t/help-with-news-ticker/238709 "2007-09-14T04:09:51Z")

</div>

Hello friends, my english is weak. I need help related to kirupa's News Ticker Tutorial. I want the text to be fade in like it's fade out. Currently the text does not come with fade in effect. You can see the news…

---

## [How to make Flash use CSS?](https://forum.kirupa.com/t/how-to-make-flash-use-css/238707)

<div class="topic-metadata">

**Author:** [@kyrreny](https://forum.kirupa.com/u/kyrreny)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 2:46am UTC](https://forum.kirupa.com/t/how-to-make-flash-use-css/238707 "2007-09-14T02:46:58Z")

</div>

Hello! I’m trying to get Flash to use CSS to display HTML texts. The body text should be Kroeger 05\_56 (normal) and the link text should be Kroeger 05\_66 (bold). It’s at the bottom of: http://naoshige.probsd.net/work/p…

---

## [Loop & Slide Menu with centered result. Please help](https://forum.kirupa.com/t/loop-slide-menu-with-centered-result-please-help/238706)

<div class="topic-metadata">

**Author:** [@crop](https://forum.kirupa.com/u/crop)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 2:07am UTC](https://forum.kirupa.com/t/loop-slide-menu-with-centered-result-please-help/238706 "2007-09-14T02:07:49Z")

</div>

I'm trying to make a slide menu that, when the buttons are released (mc's in this case), the menu centers the chosen movie/image, smoothly, and allows further actions (like scale or loadMovie...). I found several solut…

---

## [Access object programmatically in c#](https://forum.kirupa.com/t/access-object-programmatically-in-c/238705)

<div class="topic-metadata">

**Author:** [@flashinapan](https://forum.kirupa.com/u/flashinapan)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 2:07am UTC](https://forum.kirupa.com/t/access-object-programmatically-in-c/238705 "2007-09-14T02:07:42Z")

</div>

Let's say I've got two objects that are named Thing1 and Thing2. I would like to, in C# code, be able to loop through these objects and apply the same logic to each. Obviously, the loop logic would have to construct the …

---

## [computeSpectrum](https://forum.kirupa.com/t/computespectrum/238703)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 1:57am UTC](https://forum.kirupa.com/t/computespectrum/238703 "2007-09-14T01:57:51Z")

</div>

Hey guys- This is the first AS3 I've touched since it came out. I am messing around with the computeSpectrum and now im kind of stuck.. I have it working, but I want to add more to it. For example...I want it to be a g…

---

## [Multi-level Arrays (help please)](https://forum.kirupa.com/t/multi-level-arrays-help-please/238702)

<div class="topic-metadata">

**Author:** [@BetaWar](https://forum.kirupa.com/u/BetaWar)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 1:11am UTC](https://forum.kirupa.com/t/multi-level-arrays-help-please/238702 "2007-09-14T01:11:46Z")

</div>

Okay, so I am in the process o fmaking an image gallery, and now that I have gotten so far (okay to the point where this part of the application matters due to placement and loading time issues) I am unabel to get it to …

---

## [Read image dimensions in Flash?](https://forum.kirupa.com/t/read-image-dimensions-in-flash/238700)

<div class="topic-metadata">

**Author:** [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Replies:** 0\
**Last updated:** [September 14, 2007, 12:04am UTC](https://forum.kirupa.com/t/read-image-dimensions-in-flash/238700 "2007-09-14T00:04:07Z")

</div>

Anyone know if there is a way to read the the dimensions of an image file and display in a text field? One step further... does anyone know if there is a way to load image dimensions from an image copied to the clipboard…

---

## [Copy portion of frame contents and paste](https://forum.kirupa.com/t/copy-portion-of-frame-contents-and-paste/238699)

<div class="topic-metadata">

**Author:** [@flashinapan](https://forum.kirupa.com/u/flashinapan)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 11:46pm UTC](https://forum.kirupa.com/t/copy-portion-of-frame-contents-and-paste/238699 "2007-09-13T23:46:43Z")

</div>

Is there a way to copy a portion of the contents of a frame so that it can be pasted elsewhere on that frame? I'm looking to do something like one can do with Microsoft Paint that comes with windows: You highlight a rect…

---

## [Layering / Masking problem](https://forum.kirupa.com/t/layering-masking-problem/238697)

<div class="topic-metadata">

**Author:** [@Marc\_J](https://forum.kirupa.com/u/Marc_J)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 11:33pm UTC](https://forum.kirupa.com/t/layering-masking-problem/238697 "2007-09-13T23:33:03Z")

</div>

Hi, hoping someone can help me here as it's probably very simple but I can't figure this out \[frowning\] I'm trying to layer the attached so that the text is at the front, with the bubbles behind. Trouble is (maybe bec…

---

## [Stopping FLV Playback component buffering](https://forum.kirupa.com/t/stopping-flv-playback-component-buffering/238696)

<div class="topic-metadata">

**Author:** [@kg1984](https://forum.kirupa.com/u/kg1984)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 11:27pm UTC](https://forum.kirupa.com/t/stopping-flv-playback-component-buffering/238696 "2007-09-13T23:27:51Z")

</div>

I have a site with several pages, each of which has a video. The videos are 1 - 2 mb in size. Is it possible to stop the FLV playback component automatically buffering all the videos? I would prefer it if users had to cl…

---

## [URLRequest/URLLoader Cache Problem](https://forum.kirupa.com/t/urlrequest-urlloader-cache-problem/238695)

<div class="topic-metadata">

**Author:** [@Guro](https://forum.kirupa.com/u/Guro)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 11:11pm UTC](https://forum.kirupa.com/t/urlrequest-urlloader-cache-problem/238695 "2007-09-13T23:11:25Z")

</div>

I use URLLoader and URLRequest to load XML file, but it caches always \[frowning\] var loader:URLLoader; loader = new URLLoader(); loader.addEventListener(Event.COMPLETE, xmlLoaded); var request:URLRequest = new URLRe…

---

## [onKeyPress little problem (javascript)](https://forum.kirupa.com/t/onkeypress-little-problem-javascript/238692)

<div class="topic-metadata">

**Author:** [@danielKirupin](https://forum.kirupa.com/u/danielKirupin)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 10:25pm UTC](https://forum.kirupa.com/t/onkeypress-little-problem-javascript/238692 "2007-09-13T22:25:36Z")

</div>

I have this code which works Perfect. When a user presses the "P" key in the keyboard it triggers a message saying that you just pressed the P key: function doKey($key) { if ($key == 112) { alert("You pressed k…

---

## [How does this form work? (email/newsletter)](https://forum.kirupa.com/t/how-does-this-form-work-email-newsletter/238691)

<div class="topic-metadata">

**Author:** [@DrToaster](https://forum.kirupa.com/u/DrToaster)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 10:09pm UTC](https://forum.kirupa.com/t/how-does-this-form-work-email-newsletter/238691 "2007-09-13T22:09:38Z")

</div>

(I'm not sure if this is the correct forum to be posting this but...) Hey I was wondering if any of you could explain to me how this form works. I tried looking through the code but I don't understand it; does it add…

---

## [Programmer's Day](https://forum.kirupa.com/t/programmers-day/238689)

<div class="topic-metadata">

**Author:** [@Andir](https://forum.kirupa.com/u/Andir)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 10:01pm UTC](https://forum.kirupa.com/t/programmers-day/238689 "2007-09-13T22:01:05Z")

</div>

I know it might be a little late for some of you, but... var year:Number = new Date().getFullYear(); var programmersDay:Date = new Date(year, 0, 256); var today:Date = new Date(); if (programmersDay.getDate() == toda…

---

## [Function Recursion](https://forum.kirupa.com/t/function-recursion/238685)

<div class="topic-metadata">

**Author:** [@CriTiCeRz](https://forum.kirupa.com/u/CriTiCeRz)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 9:24pm UTC](https://forum.kirupa.com/t/function-recursion/238685 "2007-09-13T21:24:48Z")

</div>

Hey guys for some strange reason I have this function and it's not redoing itself. \[frowning\] function getItem() { $get = mysql\_query("SELECT \* FROM musicpoll"); $numberOfSongs = mysql\_num\_rows($get); …

---

## [Displaying a different font on \<a\> tags](https://forum.kirupa.com/t/displaying-a-different-font-on-a-tags/238684)

<div class="topic-metadata">

**Author:** [@kyrreny](https://forum.kirupa.com/u/kyrreny)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 9:20pm UTC](https://forum.kirupa.com/t/displaying-a-different-font-on-a-tags/238684 "2007-09-13T21:20:54Z")

</div>

Banned.

---

## [Redirecting help](https://forum.kirupa.com/t/redirecting-help/238681)

<div class="topic-metadata">

**Author:** [@Robot\_Monkey](https://forum.kirupa.com/u/Robot_Monkey)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 8:57pm UTC](https://forum.kirupa.com/t/redirecting-help/238681 "2007-09-13T20:57:59Z")

</div>

I have this page called explore.php/index.php?random=explore, and there's this thing where you start a session lasting 24 hours saying that you have only that amount of time to go to these pages (index.php?random=place&c…

---

## [Smooth mouse / scolling movement](https://forum.kirupa.com/t/smooth-mouse-scolling-movement/238679)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 8:34pm UTC](https://forum.kirupa.com/t/smooth-mouse-scolling-movement/238679 "2007-09-13T20:34:41Z")

</div>

Hi there, I am creating a dragging scrollbar movie of a timeline (the history kind, not the flash kind). I am using the actionscript to control the movement of the clip. The following code is placed on the dragging mov…

---

## [setMask in loop](https://forum.kirupa.com/t/setmask-in-loop/238678)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 8:34pm UTC](https://forum.kirupa.com/t/setmask-in-loop/238678 "2007-09-13T20:34:27Z")

</div>

When I use letter1.setMask(msk1); letter2.setMask(msk2); letter3.setMask(msk3); then MC "letter1" is neatly masked by MC "msk1", "letter2" by "msk2" etc... but how to do it in an action loop?? for (n=1; n\<=\_paren…

---

## [Formatting dynamic textfield with CSS - problem](https://forum.kirupa.com/t/formatting-dynamic-textfield-with-css-problem/238673)

<div class="topic-metadata">

**Author:** [@TylerNZ](https://forum.kirupa.com/u/TylerNZ)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 8:13pm UTC](https://forum.kirupa.com/t/formatting-dynamic-textfield-with-css-problem/238673 "2007-09-13T20:13:53Z")

</div>

Ok, so I have a dynamic textfield and I have css applied to it, it works fine. HOWEVER, when I add some styles (some margin) it's ignoring them! agh. \[AS\]var newStyle:TextField.StyleSheet = new TextField.StyleSheet(); n…

---

## [How does this flip work?](https://forum.kirupa.com/t/how-does-this-flip-work/238670)

<div class="topic-metadata">

**Author:** [@split67](https://forum.kirupa.com/u/split67)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 7:44pm UTC](https://forum.kirupa.com/t/how-does-this-flip-work/238670 "2007-09-13T19:44:51Z")

</div>

Anyone know how this vertical flip works and how i could create it? Thanks!!! http://organic.com/

---

## [Custom If/Else Form](https://forum.kirupa.com/t/custom-if-else-form/238669)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 7:41pm UTC](https://forum.kirupa.com/t/custom-if-else-form/238669 "2007-09-13T19:41:16Z")

</div>

I need a custom php form. It must send info to an email address as usual - however, if the user does not fill in a particular field such as the telephone number, it goes to a page that says, "are you sure you don't wa…

---

## [No more image sequence imports in CS3?](https://forum.kirupa.com/t/no-more-image-sequence-imports-in-cs3/238667)

<div class="topic-metadata">

**Author:** [@contrast](https://forum.kirupa.com/u/contrast)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 7:37pm UTC](https://forum.kirupa.com/t/no-more-image-sequence-imports-in-cs3/238667 "2007-09-13T19:37:06Z")

</div>

I have always been able to import sequences of images into flash. I would choose import to library, select the first image, click open, then it would ask if I want to import the images as a sequence. I try the same thi…

---

## [Tree component in AS3.0 using XML](https://forum.kirupa.com/t/tree-component-in-as3-0-using-xml/238666)

<div class="topic-metadata">

**Author:** [@mdevalla](https://forum.kirupa.com/u/mdevalla)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 7:22pm UTC](https://forum.kirupa.com/t/tree-component-in-as3-0-using-xml/238666 "2007-09-13T19:22:12Z")

</div>

Hello, I have to start building an Tree component in AS 3.0 for the Basic logic of it..Please do post me few links which you have gone through so that i would complete it..Thanks in Advance

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

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