all groups > flash actionscript > may 2006 > threads for wednesday may 17
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
Pass filename as a variable to a swf file
Posted by MYSCREENNAMEISUNAVAILABLE at 5/17/2006 11:45:45 PM
I want to pass a variable which will represent a filename to a swf file from a
hypertext link in an HTML document.
When the user clicks on the link which has ?variablename=filename_to_use
appended to a "normal" link to a page,
this variablename will be passed to the swf file.
I've a... more >>
button gotoandplays wrong frame
Posted by Quantum Data at 5/17/2006 10:07:11 PM
Alright, so I'm new to the world of Flash but up until now I've been able to
work everything out. I'm stuck.
So I created a small side menu of 3 buttons. Each one is set to gotoandplay a
named from (water, air, and main). When I publish it on my computer in every
format it works. As soon a... more >>
loadmovie problem
Posted by Kevin0612 at 5/17/2006 8:51:59 PM
I have a flash web site and I'm trying to load a flash publicity in this flash
web site.
I'm using
pub.loadmovie(path);
where pub is the occurance where I want to position it.
My problem is that at the end of this animation I need to load another one at
the exact same position wic... more >>
4 forums - 5 days - No answer...
Posted by MikeMedia2 at 5/17/2006 8:51:48 PM
I have searched and asked everywhere! Is this really that hard?!?
And believe me, I continue to try every variation that I can think of.
I simply want to identify one radio button in the radio group.
Something like:
var riteAnswer = radioButton Instance "c" of radioGroup "1"
... more >>
questiob about TextArea
Posted by Dave at 5/17/2006 8:30:55 PM
Hello,
Please how can I change the background in a TextArea
Thank you for your help
Alain
... more >>
Rediculously dumb Actionscript question
Posted by guttyguppygmail at 5/17/2006 8:23:17 PM
If I have a movieclip that tweens on the timeline, with a stop action on frame
1, and I put that movie clip on the root timeline, what actionscript should I
write on the root timeline to tell the movieclip to play? I run into this
roadblock almost every time I use flash, and forget how I solve... more >>
Rotate movie clip with a button mouse over?
Posted by shawnA2 at 5/17/2006 7:46:33 PM
If anyone has any ideas about how to code this, it'd be greatly appreciated.
I have a one frame swf with a few buttons and two movie clips of a wheel. The
wheel needs to spin when you mouse over the buttons and stop when not hovering.
I tried setting the property rotation of the clip on ro... more >>
Finding the consistant slope
Posted by gregmax17 at 5/17/2006 7:22:42 PM
I am trying to have a ball move from one side of the stage to the exact x and
y points on the other side of the stage. For example, let's say the ball's x
=25 and y=80, and the point I want it to move it to is at point x=350 and
y=100. So if I want this ball to travel at a consistant speed (d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Trouble creating text fields
Posted by joemacd at 5/17/2006 6:15:27 PM
Flash 8 Pro
Here's a good one:
The only way I can create a text field is to:
- Create one using Action Script, or
- Copy an existing one on the stage and paste it as a new one.
If I try to create a new one on the stage, it doesn't seem to be enabled.
For clarity, I didn't hav... more >>
.swf reading XML file in .NET environment
Posted by angelina28 at 5/17/2006 6:07:48 PM
I have flash file that loads a XML file. The XML load works fine in a regular
internet browser. I have a .Net environment (.aspx) that loads this flash file
which is also reading the XML. This is where the XML data is not showing.
What is it about .NET that prevents this data from loading?... more >>
Problem sorting an multidimensional array
Posted by SteveStall at 5/17/2006 5:59:43 PM
Problem sorting an array.
Flash 7, As2
I have this array with 3 elements. For each element I have 3 fields [name;
win; loose]
I would like to sort the array by field win.
But when win is equal for more then one element what I would like to do is
maintain the win order and add the loose... more >>
Accessibility question
Posted by abeall at 5/17/2006 5:53:08 PM
Can values set via the Accessibility panel be accessed via AS? The _accProps
property is by default 'undefined' for every object/movieclip, even if you have
specified values(ex. name/description) for a MovieClip via the Accessibility
panel.
Also, I'm unable to get the OSX screen reader to... more >>
Using Tween Class with multiple MovieClips Problem
Posted by DupontDC_SPG at 5/17/2006 5:46:41 PM
Hello!
Using the code below, and the MediaPlayback component, I am using named
CuePoints that are labelled with the name of the MovieClip that I would like to
have fade in and move up from 20 pixels below the mc's origin.
All of this works just fine, but after the mp3 file completes, a... more >>
alpha preloader
Posted by wannabeaflashguy at 5/17/2006 4:15:02 PM
hey all.
new to the preloader game. what i want is the alpha scale of a graphic to
increase (fade in) as the page loads. what i have currently is a simple
preloader from the flash mx 2004 bible book. the actionscript looks like this.
anyway, any help would be appreciated
//lbytes stores... more >>
Flash Actionscript to Open a FILE not URL
Posted by imjustabeginner at 5/17/2006 4:05:29 PM
Hello everyone,
I was wondering what the actionscript is to open a file in a new window?
getURL opens a URL I want to open a file, not a URL, I cannot get it to work
no matter what I do. Someone please help me. Anything at all would be greatly
appreciated.
Thanks
Doug
... more >>
shading a triangle (3-vertex gradient)
Posted by heilong at 5/17/2006 2:16:01 PM
I'll ask it quite simple:
There is a triangle movie clip with vertices A (0, 0); B (256, 0); C (0, 256)
Each vertex has some color (e.g., A - red, B - green, C - blue).
I need to shade the entire area of this triangle by interpolating between
these 3 colors.
Something like a gradient, but ... more >>
Can't see text
Posted by Jim Esteban at 5/17/2006 2:06:55 PM
Attached code is part of a function for creating a navigation menu using
createEmptyMovieClip and createTextfield. I just can't seem to find the right
combination to make the text visible on the screen.
function BuildButtons()
{
var spacing:Number=30;
var Iy:Number=0;
var my_fmt:... more >>
Load PNG and set the hitzone not in the transparent part
Posted by Nixy at 5/17/2006 2:03:42 PM
When we create button or movieClip with press event (like button), we have to
set the hitzone. By default all the image represent this zone. When can set a
mask and the zone is just the part. The problem is that I load PNH that is a
picture of someone. All around is completely transparent. I d... more >>
XML photo gallery
Posted by aniebel at 5/17/2006 1:06:13 PM
Hi, I've downloaded this XML/PHP photo gallery and I cannot get it to work and
the company I bought it from seems to be slow on the draw when it comes to
support.
The problem is (I think) that the XML is not loading. As you can see I've set
the dynamic text box to show the XML but nothing ... more >>
Export created web based flash image
Posted by Wally Kolcz at 5/17/2006 12:10:02 PM
This may be an odd question, but if anyone can offer any ideas on how / if
this is possible, I would appreciate it.
I am attempting to create a image editor / markup tool using flash as the
interface. It will import a dynamic base raster image and allow the user to
draw and text over it.
... more >>
Looping through all child movies of a movieclip
Posted by Amy G at 5/17/2006 10:01:27 AM
I am loading some movieclips that have a variable number of sub-movieclips
contained within. Each of these sub-movieclips has an object associated
with it that gives some points of distortion. My question is this...
I could have as few as 1 sub-movieclip or as many as 10+. Once the main
... more >>
Problems getting DataSet and DataGrid to work correctly
Posted by ractoc NO[at]SPAM gmail.com at 5/17/2006 8:55:52 AM
Hello,
I'm trying to get a datagrid with two cells containing text and one
cell containing a list of buttons (which buttons are to be shown
varies).
I got to a point where I am able to get the correct buttons to show up,
but only on selecting / deselecting the rows. What I would like to see... more >>
Use of OO in Flash
Posted by NAJH at 5/17/2006 7:52:58 AM
Hi there,
I'm quite new to using flash and actionscript and I'm trying to
approach things from an object oriented point of view. I've been
reading, (amongst other things), Colin Moock's excellent "Essential
ActionScript 2.0" which really goes into OO. I'm puzzled about a few
things though, and ... more >>
.flv in a slide show
Posted by Paedia at 5/17/2006 4:42:16 AM
I am using NetStream to view a video in a slide show. I'm using an
action-script-controlled video player from the Library. The video is on a
nested slide. It works OK, but while the slide show loads, the audio portion of
the video plays while the Presentation slide is playing. How can I stop t... more >>
Movie clip wont work
Posted by Amcasperforu at 5/17/2006 12:44:49 AM
Hi guys,
Please help. My problem is that I have a movie clip inside a movie clip and a
movie clip.
The first movie clip which I call it as <i>emptyMc</i>, this is the
placeholder where I will load the second movie clip.
The second movie clip as I call it as <i>reqtMc</i>, this movie c... more >>
loadMovieNum() - background color
Posted by aa at 5/17/2006 12:00:00 AM
Flash-8 Help says about loadMovieNum():
"you can load SWF files into a level that already has a SWF file loaded into
it. If you do, the new SWF file will replace the existing SWF file. If you
load a SWF file into level 0, every level in Flash Player is unloaded, and
level 0 is replaced with the... more >>
World times and daylight saving
Posted by ben stiller at 5/17/2006 12:00:00 AM
I know there's been a bit of talk about this but I haven?t found anything
specific for my particular problem. I have designed a website that displays 3
different world times (like a newsroom wall displays the times of certain
cities). It was easy enough to get the UTC offset to set these times... more >>
multiple swf files
Posted by veiky at 5/17/2006 12:00:00 AM
I have 2 .swf files.
There is a button on first swf file. On click of this button i want to open second swf file and unload the first one.
How can i do this?
... more >>
sendAndLoad problem
Posted by timdiacon at 5/17/2006 12:00:00 AM
I am using send and load to send a bunch of varibales to a php script on the
server which in turn uses the data to generate a PDF which is then zipped up
and the name of the zip file is sent back to flash.
The process works perfectly when the PDF generated only has a few pages
however once... more >>
close a window
Posted by Astara2 at 5/17/2006 12:00:00 AM
Hello
Hello
Though I already checked some old forum answers here but didn't help.
<b>on (release) { getURL("javascript:window.close()");</b> is the code I have
to assigned to the close button but it doesn't work neither gives an error
alert. I want to close the window from within the fl... more >>
Flash player 7 for netscape
Posted by SteveStall at 5/17/2006 12:00:00 AM
I there,
Does anyone no were can I find flash player 7 for netscape.
I need to make some tests.
Thanks
... more >>
gotoAndplay
Posted by Abyu at 5/17/2006 12:00:00 AM
hi
can anybody help me
please say if the gotoAndplay function can be added in onclipEvent of a movie
clip
for eg. like this
onClipEvent (enterFrame){
if (life == 0){ //life is number from _root.life
gotoAndPlay(2);
}
}
... more >>
Resizing an instance using AS
Posted by AESS1981 at 5/17/2006 12:00:00 AM
I want to resize the height of a rectangle to a random size between 0 and 200 pixels every half a second.
Is this possible - does anyone have any advice or tutorials on wher to start...?
Thanks... more >>
Basic Plm
Posted by smardking at 5/17/2006 12:00:00 AM
Hi friends,
I am new user of macromedia flash MX.I dont know anything about
it.So can any one help me for creat the simple action script which is using two
buttons.When we click one button it will moves to next scene and clicking
another wants to tell some message. I want full de... more >>
|