all groups > flash actionscript > december 2005 > threads for wednesday december 21
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
How to Add Sound correctly
Posted by WizyWyg at 12/21/2005 11:54:33 PM
Im running into a problem where background sound is interfering with some of
the actionscript conctrolled animation I have in my project.
When the Background music plays, its causing a 'stuttering" or "pausing"
effect to my attached MovieClips. Why would this happen?
Also, if I have an... more >>
Re: Setting up a delay script
Posted by Novaburn06 at 12/21/2005 10:18:10 PM
Hi kglad,
Thanks for the reply.
I tried to figure out the setInterval() script but I am really new to
actionscripting and am just not getting it. I was able to find this script and
got it to work great in flash player but it doesn't work in the browser...
pauseDuration = 5*1000;
fra... more >>
Keyboard Shortcuts in a Browser Environment
Posted by trismegistus at 12/21/2005 9:51:26 PM
I'm trying to assign custom keyboard shortcuts to various commands. Naturally,
it works in the run-time environment, but not in the browser environment. Is
there a way to ensure that keyboard shortcuts defined in Flash override those
of the browser?
For example, I'd like to assign CTRL+O... more >>
Funny problem ,after 10hr still no solution
Posted by rnby at 12/21/2005 9:45:31 PM
i get this message
onLoad=%5Btype%20Function%5D
this is the code i use
____________________________________________________
_root.serverloc = "http://shluchimalbum.com/"
logins = new LoadVars();
lgnur4 = _root.serverloc + "check.asp";
logins.load(lgnur4, this);
logins.onLoad... more >>
create and download file
Posted by manicati at 12/21/2005 9:40:07 PM
Hi,
I want to create a music mixer in flash
The user can do the following
- Chooses a background music
- Sets the beats (one type or more) in a timeline
- Listen to the result
- Download the result in mp3 format or upload it to the server
So, my problem is that I don't know how i... more >>
AS 2.0 Classes SIMPLE Tutorial
Posted by john.gooch at 12/21/2005 9:33:28 PM
I'd like to make a custom UI component that lets consists of a colored
rectangle and a dynamic text box. My goal is to have dynamic text background be
transparent, while the rectagle ( in a layer below the text ) provides the
background color. Then dynamic text would be easily changable via th... more >>
How to Stop an ActionScript
Posted by BSquared18 at 12/21/2005 9:23:52 PM
Hi,
I have a Flash movie with two scenes, the first titled "Then" and the second
titled "Now."
On Frame 1 of the "Then" scene is the following script, which generates
snowflakes. I want the snow to quit when a button-release moves the action to
Scene 2. Nothing I've tried has worked. A... more >>
Page turning in flash
Posted by sampurtill at 12/21/2005 9:06:17 PM
Does anyone know of any good tutorials or a way to achieve the "page turning"
effect seen on a lot of websites these days? I have a client that wants it for
a photo gallery, so if any of you know anything about it, I would greatly
appreciate it.
Cheers/Sam
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
movieClip as button
Posted by lumeeguvnor at 12/21/2005 7:54:59 PM
if i use a movieClip as a button eg
myMc.onRollOver = function() {
mc1.gotoAndPlay("rollOver");
}
myMc.onRollOut = fucnction() {
mc1.gotoAndPlay("rollout");
}
"rollover" and "rollout" are frame labels with a 5 frame animation attached to
each (a button animation). if i rollOver or ou... more >>
code monkey challenge
Posted by Dier02 at 12/21/2005 7:49:30 PM
What are the mistakes in this - it is mean to be a wordprocessor but it doesn;t
change the text and it is not multiline and there is a function name missing
around line 23. What needs to be done to fix it?
function setFontMenu(){
var userFonts=TextField.getFontList();
fontMenu.setData... more >>
Re: Moving object
Posted by XCode247 at 12/21/2005 7:37:58 PM
Here is some code to move objects in directions, point A to point B, so to
speak.
This is off the top of my head, so I haven't compiled it or anything, and the
math is also off the top of my head.
You can try it and look anything up as necessary.
var mc1:MovieClip = _root["_mcObject1"];... more >>
button movie
Posted by dirkness at 12/21/2005 6:02:08 PM
Hi
I've created movie based buttons but am problems getting the clicked
(onRelease?) state.
You can see the buttons here: http://www.detkendesign.com/detken2/portfolio.htm
The idea is that the on the rollOver state, a grey circle appears in the
dotted circle. On the rollOut - just th... more >>
POSTing to PHP with Flash...other questions
Posted by Bahaar at 12/21/2005 5:28:15 PM
Howdy all!
I'm just now getting into learning PHP, mySQL, and the POSTing of values from
Flash to a PHP script. I've had problems, but have searched the forums and
finally used this thread to get me along the way.
(http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=2... more >>
multiplayer games in flash
Posted by McDLT at 12/21/2005 4:47:07 PM
Last time I looked into making multiplayer games in flash it seemed very limited in how
fast you could relay data back and forth between users. So most games I found were slow
turn-based games. But the other day someone sent me this link:
http://www.xgenstudios.com/play/stickarena/
Which is ... more >>
PageFlip & ToolTips
Posted by curlew05 at 12/21/2005 3:57:15 PM
I am trying to create something like this:
http://kohls.shoplocal.com/kohls/default.aspx?action=browsepageflash&storeid=239
6489&rapid=214611&prvid=kohls-051218&promotioncode=kohls-051218&fsid=12779653207
2334049
I have a pageflip template, and a tooltip component, but I can't seem to ge... more >>
Math.ceil(Math.random()*3
Posted by jeffpelletier at 12/21/2005 3:39:23 PM
Wondering what the next step to generate 1 or 2 or 3 or 4, or 1 or 2 or 3 or 4
or 5, etc in this sequence:
Math.floor(Math.random()*2+1) is an integer 1 or 2
Math.ceil(Math.random()*3) is an integer 1 or 2 or 3
... more >>
Can flash read it's own URL?
Posted by DV8_Chase at 12/21/2005 2:36:26 PM
happy holidays all!
I need flash to know what website it is hosted on. Is there a getMoviePath
(which there isn't I checked) or something that will return the location of
itself?
can I call something that would return
"http://thiswebsite.com/flash/mypage.htm"
???
seems like you s... more >>
Testing for frame labels
Posted by _bigmac at 12/21/2005 2:19:41 PM
Does anyone know of a good method to test if a frame label exists on a flash
timeline?
I'm setting up a scenario where 'if label existis: go there, else: default to
another frame'. Of course, there does not appear to be any AS functions that
can test this natively. Ideally a method like D... more >>
turning image into B/W
Posted by eRez at 12/21/2005 1:35:27 PM
hi,
is there any way to turn a dynamically loaded image into a black & white
image using BitmapData object, ColorTransform object or any other
object/method/property??
thanks in advance,
eRez
... more >>
getURL Target Problem
Posted by DonLMR at 12/21/2005 1:24:30 PM
Hello,
Whenever I use getURL("www.whatever.com", "_blank") I should, with this
target, get a new IE window. Regardless of the target I specify (_blank,
_parent, etc), the URL opens in the current window instead of a new one. Any
suggestions??
Thanks in advance.
... more >>
Transparency rules
Posted by Albert3 at 12/21/2005 11:05:51 AM
I?ve got two images (dynamically generated by a server), were the second one
is basically the same as the first one but with a few items added en a few
items removed. What I want is to fade from the first image to the second image;
the new items gradually fade in, the removed items fade out, ... more >>
Quick Question
Posted by wiredsc at 12/21/2005 10:46:18 AM
I have made an mp3 player that is pretty much finished, when it starts it
starts playing a random .swf, which is fine, and is done by this script:
this.createEmptyMovieClip("myMC", 10);
myMC.loadMovie("Music/Track"+(random(5)+1)+".swf");
var i = 1;
stop();
the problem with this is th... more >>
Preloading dynamic thumbnails
Posted by Andra Veraart at 12/21/2005 10:34:27 AM
Hi guys,
I'm working on a photography portfolio, and I'd like to preload the flash
movie itself, the XML-file which determines the categories and pictures, AND
the thumbnails for all the the pictures. Now I know 2 out of 3 ain't bad for a
n00b, but still I would like to get the thumbs wor... more >>
What's wrong?(XML class)
Posted by _Flep_ at 12/21/2005 10:20:41 AM
heya , why for cicle gives me 3 undefined?
this is the output:
Here we are
undefined
undefined
undefined
this is the xml file:
<menu>
<item>Here we are</item>
<item>Contact us</item>
<item>Forum</item>
<item>Portfolio</item>
</menu>
This is the AS:
var ... more >>
scripting
Posted by danraj at 12/21/2005 9:36:17 AM
Hi
i m working in an small organisation
We are making some tutorial CDs in flash but i dont know the action script
very well
i just wanted to know that, is there any action script for making cd a single
user or it may not be copied.
Just as when you insert the cd you will be asked for ... more >>
how can i select themColor globally for all my components is application?
Posted by shaggydagy at 12/21/2005 6:40:16 AM
i would like to know the way to setSytle the themeColor of all my componants in
stage (or app) i use lost of them, in example accordion, alert, listbox, grids,
combos. i really have no clue in this one, thanx
... more >>
From XML to Arrays in Flash
Posted by ahMaDness at 12/21/2005 4:48:32 AM
heylo,
basically i at the moment, i have an array of objects which looks
like this
var speech1: Object = new Object();
speech1.charName = "doc4";
speech1.clipName = "01-FemaleDoctor";
var speech2: Object = new Object();
speech2.charName = "doc3";
speech2.clipName = "... more >>
load not working
Posted by HenrieMediaInc at 12/21/2005 1:46:15 AM
Why does this script work in Firefox but not in Internet Explorer?
_root.m=1;
var rStr1:LoadVars = new LoadVars();
rStr1.load("home.php");
rStr1.onLoad = function (success) {
_root.home_c1_title = rStr1.c1_title;
_root.home_c1_body = rStr1.c1_content;
_root.home_c1_url = rStr1.c1_url... more >>
Newbie Question
Posted by flash_rick at 12/21/2005 1:14:10 AM
I have demo flash media server installed, and I have the avi file converted to
flv, what's the steps next to stream the video online. Sorry I am "brand" new
to flash (pretty good at writing the code, javascript etc.). OR is there any
step-by-step tutorial, or sample code around?
Thanks
... more >>
Complex interaction.
Posted by DadrianKaelan at 12/21/2005 1:09:16 AM
I'm creating yet another Flash based web site and this go around I've finally
taken the time to look at some sites the company Big Spaceship has done --
that's when something hit me: I haven't ever gotten a web site in Flash to be
flow all throughout. After moving to ActionScript-based animati... more >>
Fonts not being picked up ouside IDE
Posted by CDXX at 12/21/2005 12:31:46 AM
In dynamic text fields in some of my movies, in Flash8, when running them
outside the IDE I get a nasty serif. Embedding the font causes it to disappear.
I am using Flash 8. The movies all look fine in the IDE, and work fine on PC
until I lauch them directly as SWFs.
... more >>
|