all groups > flash actionscript > march 2007 > threads for friday march 2
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
Font pixels
Posted by OniLink at 3/2/2007 11:45:15 PM
Hi,
I have a dynamic text field that doesn't always contain the same string. Is it possible to get the number of pixels is takes up?
Thanks for any help,
~Oni.... more >>
touch screen swf/xml
Posted by bedrosamo at 3/2/2007 11:42:12 PM
ok i have a swf/xml flash file , its like a menu and buttons and stuff...
so u think this would work on touch screen ? is like just like a mouse click
when u do touch screen? any special events for touch screen?
can we have flash for touch screen?:)
please anyone who have experience with th... more >>
Sound On Page Enter Stutters A Few Times...
Posted by Tanner8 at 3/2/2007 9:28:16 PM
I made a page transition thing with Tween and added sound. I used this script
to make it play the tween when I enter any page..
The problem is that when I enter a page I want the tween to start on frame 70.
It plays the sound but somtimes it sort of sounds like its playing 2 or 3 of
the so... more >>
sound pause and resume
Posted by calhoontuna at 3/2/2007 9:04:00 PM
Built an audio pause/resume button. The idea is that you hit the button once
and it will pause sound. Hit it again and the sound will resume right where
you left off. Problem is that sometimes the button works while at other times
you'll hit it and start up another instance of the same audi... more >>
Flash movie in html page
Posted by PrEnt at 3/2/2007 8:55:03 PM
Ive seen other tutorials but they are not working for me.. Im using flash 8. I
have a index.html page. The flash movie floats over the html and then the user
can close out of the flash movie and proceed onto the rest of the site. If the
user clicks the back button or navigates back to the home... more >>
closing a flash player onlin
Posted by PrEnt at 3/2/2007 8:35:07 PM
Hi I have a flash movie in a div tag that floats over html with a
wmode=transparent... a box comes up at the end and has a "close" button but I
cant figure out the script to close the flash movie.. already tried the
fscommand quit... remember the flash movie isnt in a seperate popup window it ... more >>
how to get length of array with named elements
Posted by SPGAnne at 3/2/2007 8:25:21 PM
I must be doing something really dumb. I have an array with named elements,
but I can't seem to get it's length.
for example
var myArray = new Array()
myArray.item1 = new Array(1,2,3)
myArray.item2 = new Array(x,y,z)
trace (myArray.length) // this yields 0 instead of 2
Thanks in a... more >>
Change button instance color with actionscript?
Posted by Rusty_B at 3/2/2007 6:28:29 PM
Anyone know how to change the color of a button instance with actionscript? If I pass in a default variable I want to change that particular button to a different color.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Button help
Posted by casiew at 3/2/2007 6:07:54 PM
Okay, the only part of action script i really know is the basics. I know
[b]bold[/b], [i]italic[/], [sup]supscript[/sup] and so forth..basically i just
know text scripts, and if something is started i can work and eventually finish
it...but i have recently been in the process of creating a few... more >>
Please help me
Posted by ipuff at 3/2/2007 5:28:09 PM
Hi everyone,
i am loosing my hair over this. here's what im trying to do. i am using the
datefield component. basically when the user chooses a date. it gets posted to
a text field and the user clicks sumbit to email the date. the emailing is
working like a charm.
my problem is that ... more >>
Get in flasg
Posted by MoisesZAragoza at 3/2/2007 5:10:23 PM
I am passing some URL parametters that in want to get into flasg
i am trying the FlashVars but it's not working like it should. so i was
wandering if flash gas a "GET" were it can read the URL
thanks
... more >>
Strange interaction between Components and TextField focus
Posted by boukeas at 3/2/2007 4:45:32 PM
It is very easy to reproduce the problem.
> Create an input TextField dynamically (see attached code). Clicking on the
text allows the user to edit it. Clicking away from the text makes it lose
focus. All is fine.
> Now, just drag a UIScrollBar component to the Library (the same problem... more >>
Need Help with Stopping Sound
Posted by xMrMoox at 3/2/2007 4:33:52 PM
Hello, I need help.
I need to load in an external .swf file into my new movie and stop the
sound/music that is playing from the external swf file. I need the sound/music
to stop immediately on frame one. I don't have the fla to the external swf file
as it is years old. Can someone help me ... more >>
XML php mysql greek charachers
Posted by AlekTan at 3/2/2007 4:16:28 PM
Hi,
I have problem with greek charachers.
Flash call php.
Php take data from mysql and print xml that read flash.
Mysql, xml, php are utf-8 but greek characters can't be displayed.
This work fine if I write greek in php but if php take data from mysql there
is a problem.
I also put em... more >>
Define Swf - Pixels
Posted by bcounts at 3/2/2007 2:24:52 PM
If I define a swf through pixels and no scale how do I than get it to stay
centered both up and down and full screen in the browser window?
I can not seem to get this pixel thing to work for me - I am trying to have
the swf auto resize back to 800x650 no matter what the persons screen
reso... more >>
On rollout for button. Changing all instances on first frame?
Posted by Rusty_B at 3/2/2007 2:23:22 PM
I have a map with about 50 instances of a button. When they rollout of a button
I want to change a picture to a default pic. Is there any other way to do this
other than adding a "on rollout" script to every single instance of all
buttons?
In other words, can I use a script on frame 1 to ... more >>
dataGrid horizontal scrolling
Posted by Marc Lee at 3/2/2007 2:16:37 PM
All,
Does anyone know the trick of getting the horizontal scroll bar to appear?
I've got a grid with dummy data in it now, with 18 columns all set to
various widths; the total of all widths is 850. The grid itself is set to
800 horizontal pixels. Only 15 of the columns can be seen.
I have ... more >>
Drag & Drop clip with inertia
Posted by Ciaran at 3/2/2007 6:14:36 AM
Hi I'm looking for a starting point to create a draggable movie clip
that slides a little when it is dropped. It should be quite simple but
I'm new to this sort of coding and I can't find anything online for
some reason.
Thanks a lot,
Ciar=E1n
... more >>
How does the web user drag the image left or right?
Posted by Steve Zavodny at 3/2/2007 5:16:07 AM
Folks, I'm ignorant in this stuff, yet I think I can work my way thru with
some help. I have a panoramic photo that extends off the stage left and right,
which is ok. I made it a movie clip. I would like to have the user be able to
click and drag this movie clip of an image to see the miss... more >>
Actionscript for designers!!!
Posted by Mojy at 3/2/2007 3:23:26 AM
Hello there,
I am an experienced graphic designer who also has some educations in Web and
Flash design. I know Actionscript a bit but having problems creating the Web
sites that I design. I see so many nice Web sites out there that I get
inspired, however I also get so frustrated since I ... more >>
gotoandPlay
Posted by betrot at 3/2/2007 3:10:31 AM
Hi,
I have a game where a paddle (instance name: paddle) is hitting a ball
(instance name: ball) which drops from the top of the screen. There is a
dynamic text box (variable: score) which adds 5 each time the paddle hits the
ball. This all works.
However, the if statement to send the ... more >>
Button not working!!!
Posted by Sara McLaughlin at 3/2/2007 2:50:50 AM
Hi there-
Ok, as a disclaimer i am teaching myself flash right now although i do have a
good curve in that i am familiar with a lot of other design programs.
I am creating a movie- and i created a continue button that the user will
click to well, continue onto the next part of the movie. ... more >>
parts of an audio player
Posted by kesed millay at 3/2/2007 2:02:46 AM
I'm not very skilled with actionscript yet, so bare with me. And I'm going to
apologize ahead of time for stupid mistakes that I'm bound to make. As the
title suggests I'm working on making an audio player for an all flash site. I
think I have most of the script down for the basic functions of... more >>
Please help with color transform issue!
Posted by reinhat at 3/2/2007 12:00:00 AM
Hi,
How can I change the tint of my movieclip "mc_clip" from #000000 to #990000 in
15 frames by scripting it?...in the same time change the alpha value of the
clip from 85% to 0%.
thank you in advance,
Attila
... more >>
SWF on local disk to load XML from the Internet
Posted by Horea4 at 3/2/2007 12:00:00 AM
This is not for testing purposes.
This is a game that needs to read an RSS XML with news from Yahoo.
So I want this SWF to load the XML data from the site for my clients.
How can I do that?
Please help me on this.
Thanks,
Horea
... more >>
Can you loop an external mp3 using Media Display
Posted by kptgreg2 at 3/2/2007 12:00:00 AM
I am loading external mp3s from URLs and I added the Media Display component to
play them. Is there something in the MediaDisplay that will let you loop
them? Right now they just play once and stop.
Here is how I am playing my mp3s:
controller.autoPlay = false;
controller.setMedia... more >>
setting fullscreen
Posted by castten at 3/2/2007 12:00:00 AM
Hi,
this might not be actionscript specific but how can I make sure my
projector executes maximized and fullscreen? Any ideas?
Thanks in advance... more >>
Sound problems...again, pausing, fast forward rewind
Posted by jude86 at 3/2/2007 12:00:00 AM
Hello,
Wondering if anyone can help me, i am having a few problems with pausing, fast
forward and rewind on a loadSound???!!!!
Here is my code for the pause button but it is not working, the soundPosition
= mySound.position is the error, as it says the variable soundPosition is
undefin... more >>
html code showing in dynamic textfield
Posted by mercl at 3/2/2007 12:00:00 AM
Hi,
i'm using this code to crete a textfield dynamically (works fine)
however i keep showing the html code aswell...
this.createTextField("body", 1 ,0 ,0 ,fw,fh);
this.body.embedFonts = true;
this.body.multiline = true;
this.body.wordWrap = true;
this.body.border = fal... more >>
load sound - make it stop!!!!
Posted by jude86 at 3/2/2007 12:00:00 AM
Hello,
Wondering if anyone can help me, this is driving me crazy.
I have a mp3 sound linked to my flash by load sound, this is the code i have
to load the sound:
trackOne_btn.onRelease = function(){
stopAllSounds();
var mySound:Sound = new Sound();
mySound.onLoad = function(load... more >>
|