all groups > flash actionscript > december 2004 > threads for friday december 10
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
Add Button to open URL
Posted by mark.bzdziuch at 12/10/2004 11:09:24 PM
ok....well i am making a flash video and when i try and add a button to open a
webpage it doesnt work, nothing opens and it stays on the last frame right now
i have this in as the actionscript
does anyone know how to fix this?
getURL("http://lifeafterdeath.gamedaemons.net/html/");
... more >>
Compiler error issue
Posted by Inkog3 at 12/10/2004 11:07:40 PM
I am getting a compiler error (see below (MX 2004)) after removing a parameter
from a function. After removing a parameter from the function I no longer
needed, the compiler complains that I still need the parameter. If I rename the
function it works normally. Obviously I have a workaround by... more >>
help with play/stop buttons connecting to imported QuickTime movie
Posted by aidemoreto at 12/10/2004 11:06:53 PM
Hey you all,
I wonder if somebody can help me with directions how to control the buttons on
a control strip to the imported QuickTime movie. I would like the user to be
able to stop/pause and start the movie.
Thanks much in advance!
... more >>
Volume Control Knob on Semi-Circular Bounds
Posted by echoboi at 12/10/2004 10:58:15 PM
I'm attempting to create a volume control knob for a radio player in Flash MX
(not 2004). I need the user to be able to drag the knob on the circular volume
control in a semi-circular path, starting, for example, at volume 0 being at
the very left, volume 25 at the top left, volume 50 being ... more >>
appendChild
Posted by I.L.B. at 12/10/2004 10:32:07 PM
Hi ;
I noticed, when manipulating an XML file with AS, that the same code to
retrieve a node value, let's say...
xml.childNodes[i].childNodes[j].firstChild.nodeValue;
does not work with an identical node that was added afterwards with
..appendChild() method.
I just clone one existing n... more >>
create a button that exits a swf within flashplayer
Posted by carolynwilsonga at 12/10/2004 10:09:16 PM
I need to create a button that when released will exit the swf that is playing in flashplayer.... more >>
preloader can't find it's target
Posted by Iriel at 12/10/2004 9:45:18 PM
I've got a project that I'm using a preloader script on in one scene and here's
the code: loadedbytes=getBytesLoaded(); totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1000);
totalkbytes=Math.ceil(totalbytes/1000); if (loadedbytes == totalbytes) {
nextScene (); } frame = int... more >>
Problems with FUNCTION startDrag
Posted by René-Clément Toussaint at 12/10/2004 9:43:22 PM
Dear users:
I am having problems with the new FLASH MX 2004 function to be able to
drag-and-drop Movie Clips without using invisible buttons. If I use an
invisible button and do it the classic way, everything works out just fine.
But, if I use the following script:
_root.line1.onPress=fun... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why can't I display SharedObject data in text field on movie clip
Posted by AGKnight at 12/10/2004 9:32:18 PM
I have several input text fields on my main timeline that I have coded to save
to a SharedObject after clicking on the preview btn: preview_btn.onRelease =
function() { //create the local Shared Object myLocal_so =
sharedobject.getLocal('flashcookie'); //set the variable 'name' equal to the... more >>
Unload a loader component's swf using a button
Posted by NC Pit Bull at 12/10/2004 9:27:58 PM
I am using the mx.controls Loader component. The autoload is set to false.
Then I use a button to load the content.
on (release) {
loader.load();
}
I have another button I would like to use to unload the movie. I have
struggled with this for a while and simply cannot seem to get i... more >>
Define a Button Event Inside an AS 2 Class
Posted by Anna Wilson at 12/10/2004 9:26:47 PM
Hi,
I want to pass a button instance to an AS 2 class, and then define an event
function for that button inside the class.
I can do this inside the class's constructor method by creating an anonymous
function:
class TestIt
{
private var myButton:Button;
public function TestIt... more >>
How to use With statement with objects???
Posted by Alexander B. Bokovikov at 12/10/2004 9:05:28 PM
Hi, all,
Why this isn't working?
for (var i = 0; i < maxballs; i++) {
with(ball[i]) {
tempx = x + xmov;
tempy = y + ymov;
}
}
though this does:
for (var i = 0; i < maxballs; i++) {
ball[i].tempx = ball[i].x + ball[i].xmov;
ball[i].tempy = ball[i].y + ball[i].ymov;
}
Ca... more >>
buttons in html page talking to flash
Posted by oxbownick at 12/10/2004 8:34:23 PM
I have a button in my page. I would like for it to tell a movieclip inside my
flash to play. Is this possible, would i use javascript or something? I'de
prefer not to have this button in flash. thanks.
... more >>
multiple buttons not functioning
Posted by Robert C at 12/10/2004 8:32:51 PM
I have created a button that has a dynamically generated slideshow in its
upstate. 4 instances of this button are on a layer named 'buttons'. I'm not
understanding why only one button will function at a time. They all have
different instance names. File can be seen
http://www.simply-c.com/... more >>
Loading MP3s Without Playing Them
Posted by backpages at 12/10/2004 8:25:18 PM
I know how to load MP3 files into my movie using loadSound. And I know I can
set them to either stream or load completely before playing. But is it possible
to have them load and NOT play? I have 10 or 12 MP3 files that I would like to
go ahead and load while another part of my movie is playin... more >>
drop down menus with drop down menus
Posted by dzxmzx at 12/10/2004 7:47:49 PM
This is my first time using this forum, hopefully, someone will be able to help
me. I have been using Flash for about 4 years. I have been able to figure out
almost everything I have needed to do. But, I have recently gotten involved in
a web site design which the client is requesting master n... more >>
Help w/ getting scroll buttons to control text
Posted by Doug8867 at 12/10/2004 7:46:43 PM
Here's what I want: An externally loaded text file ('newstxt') loaded into a mc
('intro_cpr_home_mc') on the maintime line that is able to be scrolled by an up
and a down arrow placed in the same movie clip. Here's what I've got: On my
main movie, off of the screen, I've got a 'scroll contro... more >>
Newbie wmv-swf question
Posted by Winston2 at 12/10/2004 7:20:56 PM
I have been developing eLearning applications in Flash for a little while and
they work well. Basically, the user clicks a tutorial button which opens a
window that plays the swf tutorial. So far so good. But lately we have been
experimenting with video and now I have wmv files that I?d like ... more >>
Simple Drag and Drop
Posted by penciline at 12/10/2004 7:15:35 PM
Dear Users: I have the following script attached to an empty Movie Clip which
acts as a container to attach a Movie Clip from the Library at runtime:
onClipEvent(enterFrame){ for (i = 1; i<5; i++){
_root.attachMovie('attach_mc','attach'+i,i); _root['attach'+i]._x = i*20;
_root['atta... more >>
Strange button wierdness
Posted by Tim Kline at 12/10/2004 6:50:49 PM
I'm working on an interactive map system for my company. Here's a link to what
i'm up to now: http://www.gate1travel.com/italy-travel/map-rome.htm
Basically what happens is..... i have the list down the side, click on a name
and it shows you where it is on the map. that's all great. I also h... more >>
tracking links
Posted by goodcookn at 12/10/2004 6:46:38 PM
Does anyone know how track a link when its click on?
I really have now idea where to begin. Many thanks!... more >>
get URL bug
Posted by UsualSuspect at 12/10/2004 6:13:39 PM
Hi ! I just did this site : http://www.face2faceinternational.com In the
gallery section, you clic on a model, then it pops a new window. You watch the
pics, close it, and choose another model. After a couple of them, it just
freezes. Nothing works anymore, and all the pages cannot be found ... more >>
Referencing movieclips by their name.
Posted by Edge-30 at 12/10/2004 6:11:20 PM
Hope somebody may help me.
Let's say that I have several instances of THE SAME movie.
How can I refer to one of them dynamically without using its actual name IN
THE CODE.
Something like and index number of each instance or a way to identify each
instance by its name, but dynamically.
Fo... more >>
Scrolling text
Posted by Sebhughes at 12/10/2004 5:50:26 PM
I am a newbie to macromedia flash and i was wondering how do i make scrolling text ( Marquee )... more >>
String Panel
Posted by Dennis, I Sioux at 12/10/2004 12:15:39 PM
Hey,
Another question i have is.. if it's posible to combine strings in the string
panel with variables... for example..
if i want prices of products to be variable...
i will make something that get's the price for a product from php..and store
it in for instance.. _root.price1
n... more >>
OOP Newbie: instance-to-instance communications??
Posted by xehod at 12/10/2004 11:25:38 AM
Hello all,
I am a veteran programmer, but a flash newbie and am having some
problems that I can not seem to resolve. Im sure im missing something
basic so here is.
QUESTION 1:
I have 2 movie clips and 1 dynamic Text field on the stage. In the
Library window, the 2 movie clips are slugged "Base... more >>
action to play movie clip?
Posted by kfc04 at 12/10/2004 11:07:22 AM
i have a movie clip within the main timeline. i want the playhead to stop on
the main timeline and play a 'myMC' and then once that movie clip has stopped
playing i want the main timeline playhead to strt playing again. is there a
script to do this? Thanks in advance
... more >>
How do I enable CD browsing from Flash Movie
Posted by still_b at 12/10/2004 10:53:09 AM
I am trying to create an autorun CD to distribute a number of PDF files. I can
see how to use autorun.inf to open a projector file to set up the browser with
links etc ( I think),but would like to be able to enable the user to simply
browse the CD without having to supress autoplay manually at... more >>
how to change the color of the menu bar
Posted by krishnakishore at 12/10/2004 10:26:21 AM
hello every body im using a MENU BAR component from UI component.basically it
is in white color.is there any process to change the color og the menu bar? if
yes please suggest the solution and also for the menu component also.:D
... more >>
Scenes + Buttons
Posted by RabRay at 12/10/2004 10:19:25 AM
Hi, Ive made a movie that contains 3 scenes, I have a number of buttons on
scene 2 that are to link to scene 3 and make a couple of movie clips play. Im
writing all of my scripts in the one place (first frame of scene 1) and want to
access the scene 2 buttons from there, ive tried making nam... more >>
Flash Experts Please
Posted by Ashish123 at 12/10/2004 10:08:45 AM
Hi, I am having problem in displaying bulk xml data in flash. I am using
preloader for xml and then displaying the records. My xml file works absolutely
fine on the local machine / server. XML is file getting generated at run time
and is getting parsed in flash and displayed in diff formats. ... more >>
[MX 2004 - AS2 COMPONENTS AND JSFL]MMExecute insite component inspector panel
Posted by SBA at 12/10/2004 9:51:05 AM
Hi,
I hope I'm writing in the good newsgroup.
I try to display an OpenDialog with MMExecute() from a swf embeded in the
inspector component panel, to modify the inspectable properties of an as2
component.
Code :
var fileUrl:String = MMExecute("fl.browseForFileURL('open');");
But the r... more >>
Saving Object?
Posted by Alexander Adam at 12/10/2004 9:39:14 AM
Hello Group,
I have an Object in this format:
var newObj = new Object();
newObj.A:Number = 55;
newObj.S:String = "Hello";
newObj.L:Array = new Array(1,2,3;
newObj.R:Function = doRun;
Now I wanted to save this Object (all Properties) into a XML Format and
reload it back from there then... more >>
Error in loading the external ".as" file
Posted by krishnakishore at 12/10/2004 9:00:41 AM
he every body im getting a error message if im trying to load external file
outside .Actually im trying to insert external "main.as" file after writing
some code then it is giving the error as shown below .PLZ some one help me
**Error** Scene=Scene 1, layer=Action, frame=1:Line 21: Ma... more >>
External text file link aact as button?
Posted by gbhumphrey at 12/10/2004 8:20:52 AM
Hi, is it possible to have a link in an external text file that is loaded into
flash behave like a button? If you look at www.thebobbleheads.com you'll see my
'gigs' and 'press' scenes are external text files that get loaded on starup,
They have html links to other things in them. On the 'pics... more >>
loadmovie question
Posted by jbaughman at 12/10/2004 8:12:05 AM
I'm having a problem loading a flashs movie within another flash movie. I'll
try and explain...
The way I designed my page is so everything just loads in one page. So I put
in loadmovie commands attached to the links on top of the page, and everything
works great.
But one of the mo... more >>
getURL, mailto, and browserwindow opening
Posted by skydiveviz NO[at]SPAM yahoo.co.uk at 12/10/2004 7:52:45 AM
hello world
So I have the following script in MX2004 Pro on XP using IE6
myButton.onRelease = function() {
getURL("mailto:you@yourWorld.com?subject=Flash&body=hello
customer","POST");
}
Can anyone tell me why and even better how to fix the fact that when
the button is released, not o... more >>
Dynamically load image from mySQL with asp
Posted by musse800 at 12/10/2004 7:24:17 AM
I need to be able to view images from mySQL.
I'm using ASP to create the output from the database, text works great but i
got a problem with images.
When I use:
<img src="image/pic.jpg">
it works, but not like this:
<img src="bilder/imageShow.asp?Id=1">
It doesnt work.
My ... more >>
Problem with startDrag
Posted by anAnge|io at 12/10/2004 6:59:38 AM
Hi all.
I'm trying to get startDrag to work when the user rolls over a certain movie
clip. The thing that i want to drag is some other movie clip that has a dynamic
text included inside, so when the user rolls over the first movie clip, the
second movie clip (that is meant to follow the mo... more >>
Loading external CSS
Posted by DBRE at 12/10/2004 6:58:40 AM
Hi
I'm having trouble loading an external css file, I'm using MM's example and it returns "Error loading css file"
Any help would be great
Nick Sullivan... more >>
Flash File Size Issue
Posted by Spam!? at 12/10/2004 6:32:37 AM
I was reading this:
Since Flash projectors on CD have to be loaded completely in computer's memory
before they start to play, beware of their size. Even though there is no
definite answer (using preloaders and loading .swfs into main movie may help),
it is recommended that they should not be... more >>
Updating Dynamic Text Online
Posted by robsoule at 12/10/2004 4:57:37 AM
Hello, I have been building Flash sites where all the text for the site is
stored in a single external .txt file, organized by using a different variable
for each page. This works great for me, but I would like to make it easy for
my clients to update their own text. Is there a way to build ... more >>
saving an input field to disk
Posted by bso_71 at 12/10/2004 4:37:01 AM
I want to create a input text field that my user can write on but then save
this text to disk in a specific place and when my user opens my program again
this text field opens right away. Can this be done? How do I save a text field
to disk. Thanks a lot for any help received, brenda
... more >>
Functions in Director
Posted by talltyler at 12/10/2004 3:56:14 AM
// flash getURL('lingo:myFunction(\'var1\','var2')'); //something like that
--and then in --director there is just a fuction on myfuction me, myVar1,
myVar2 trace(myVar1 & myVar2) end Thank you for you help.
... more >>
Recognize Loaded MP3
Posted by backpages at 12/10/2004 2:20:51 AM
I'm hoping there is a way for Flash to recognize which MP3 has been loaded and
is currently playing and based on that go to a specific frame. I have 14 MP3s
that are each loaded via loadSound. When one finishes playing the next one
starts. When the user goes to a certain place in the movie I w... more >>
function in classes not called, bug?
Posted by creat326 at 12/10/2004 1:45:58 AM
I have this problem. I created a AS file with a class on it. The class contains
a xmlsocket that is supposed to receive data and parse it out. When I receive
something, i use the 'onData' from xmlsocket to call a function and then from
whatever i get i parse it out. The problem is that the sec... more >>
Quick syntax question
Posted by mourning2night at 12/10/2004 1:26:32 AM
A quick question,
In flash MX I used to use Selection.setFocus("textfield"); to set
focus on a input text field on load; But in Flash MX 2004 pro, that won't work.
What do I need to change? Thanks for the help in advance. KG
... more >>
Disable the "Windows" Button
Posted by Spam!? at 12/10/2004 1:09:32 AM
HI all,
I was talking to NSurveyor about this a couple of days ago, and we decided
that you can't do what I want. I looked into Director, but it is too $$$ and
its been about 100 years since I used and its all changed (gasp!) and by the
looks of the forum it seems to have its own FullScree... more >>
Disable the "Windows" Button
Posted by Spam!? at 12/10/2004 1:04:23 AM
HI all,
I was talking to NVeyor about this a couple of days ago, and we decided that
you can't do what I want, but Director is too $$$ and its been about 100 years
since I used and its all changed (gasp!) and by the looks of the forum it seems
to have its own FullScreen issues, so I can't ... more >>
Pause
Posted by steveo23 at 12/10/2004 12:54:30 AM
Can you pasue a frame for X anout of seconds? If so what actionscript do I need to add to oa frame to do this? Thanks for any help!... more >>
reading unicode form xml
Posted by alisonspiegel at 12/10/2004 12:47:20 AM
I'm trying to read unicode characters from a node in an xml file. I'm assuming
the xml is right because the chars do render correctly in IE. When I read the
node in Flash, I use toString() (can't use nodeValue because nodeType is 1) and
then cut off the beginning and ending node names. I am... more >>
stopAllSounds With Drumbeats
Posted by okaysamurai at 12/10/2004 12:33:05 AM
Pretty simple question: I have three different buttons with three different
drum beats attached to them. When I click a button, I want it to stopAllSounds
(cancelling out any other drum beat) and then play its own beat. Usually for
button-triggered sound I just put the music in the down state... more >>
GetBytesLoaded help please.
Posted by Wil at 12/10/2004 12:31:32 AM
Hi Group.
I have the sound file
loading into a movieclip and streaming just fine. The tutorial in FLASH
explained how very well, but it doesnt explain how to GetBytesLoaded. It
merely defines the term.
the script at this point is:
loadmusic = new Sound();
loadmusic.loadSound("breakingthroo.... more >>
|