all groups > flash actionscript > august 2004 > threads for friday august 6
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
button values
Posted by dmcdonald at 8/6/2004 11:04:49 PM
I'm trying to create a skill assessment. Where the user has a range to choose
from depending on how they feel about a certain thing: 0, 1, 2, 3 (each mc
with corresponding values) . But I want to make sure they can not click more
than one value per question. I was trying to set this up all i... more >>
Controlling sound playback
Posted by Alikat at 8/6/2004 9:34:27 PM
I have a movie with links.
There is background music.
When a link is clicked, the background music stops.
I've got that part down. What I need to know is, when the user closes the
window that the link pop-up up in I need the background music to start playing
again.
I can't have the... more >>
controling movieclip loc
Posted by sirtcarlos at 8/6/2004 7:54:57 PM
im currently using loadMovieNum to load an img onto level 1. the img loads
fine, but it is placed in the upper left hand side of the screen. how can i
control where the img is placed (what does the script look like).
i did try to load the img with loadMovieNum into a target, but i was gettin... more >>
I need help on an rpg battle engine.
Posted by Erik Formella at 8/6/2004 7:54:35 PM
I am trying to make an rpg with flash and I want it to have turn based battles
but I am very new to flash and I have no idea how to go about making a battle
engine. Please, any help would be appreciated.
... more >>
Chipmunk Trouble
Posted by KTeutsch at 8/6/2004 7:33:40 PM
I'm thinking this must be simple, but I haven't fooled with streaming sound
much before.
I am using loadSound to stream an MP3 file. Right now it is streaming from
the hard drive. The final product will be delivered on CD. There's nothing
weird (I think) about the actionscript:
_ro... more >>
CD-ROM Optimization
Posted by glaze at 8/6/2004 7:09:13 PM
I'm developing a CD ROM in Flash. I have my stage SWF along with about 100
content SWFs that are loaded into the stage as their content is required.
I notice that the content loads much slower off the CD (and animations chug a
little) but when viewed on the hard drive everythign is much f... more >>
Datagrid row loses highlight
Posted by Lone Jet at 8/6/2004 7:04:56 PM
When mousing over a combobox or a checkbox, the datagrid row is not highlighted. Apparently this bug has been around since before the 7.2 updater. When can we expect it to be fixed?
... more >>
Accessing browser's url.
Posted by Nonnatee at 8/6/2004 6:54:01 PM
Hi,
Is it posible to access the browser's url that the flash movie is on?
for example:
a flash movie is on a php page (somepage.php?id=32)
can the flash movie access the id value??
if posible, can anyone kindly show how would i do it?
thanks,
Nonnatee
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Doesn't work in MX
Posted by hoz at 8/6/2004 6:35:27 PM
Hey guys,
This has been frustrating. The following code regarding capturing highlighted
text was originally posted. It works with version 6, but when I try it with
version 7, the trace says "undefined". Selection.setFocus highlights all text,
and I want to capture just the highlighted text... more >>
dynamic text reference by instance name
Posted by bkdesigner at 8/6/2004 6:31:32 PM
Is it possible to get a variable to represent a series of characters that is
not a String?
I have a dynamic text field in a movie clip. The name of the dynamic text
field is "label". I want to rename the dynamic text field on the fly by
appending a number to it so I can reproduce the movie c... more >>
open file from projector?
Posted by davidv42 at 8/6/2004 6:23:05 PM
I am trying to open an excel file in microsoft excel from a flash projector. I
am not sure what the code would be. I thought I should use the fscommand. Does
anyone have any suggestions? The file I am trying to open is called chart.xls.
on (release) {
(can someone please finish)
I appr... more >>
Rollover of movie created or loaded
Posted by dannyra at 8/6/2004 5:39:48 PM
I'm trying to add a rollover to a movie that is either created via actionscript
or loaded.
Example:
_root.createEmptyMovieClip ("testmov", 1);
trace("testmov");
with ("testmov") {
lineStyle (1, 0x000000, 100);
moveTo (0,0);
moveTo (50, 50);
beginFill (0x000000, 100... more >>
Mute Button
Posted by KTeutsch at 8/6/2004 5:08:38 PM
So I'm reading along about sound objects in the O'Reilly book and I run into
this rather blunt statement in regard to the stopAllSounds command:
"There is no way to permanently mute a movie."
Surely there is a workaround whereby there can be a "Sound Off" button that
disables all subsequ... more >>
getURL in the same window
Posted by agastony at 8/6/2004 4:51:09 PM
I have been testing how to conclude a movie and then go right to another URL
right at the end of the movie. My problem is trying to get the new URL to open
in the window just vacated by the movie. I have tried the following code in a
dozen or so variations. I've tried the "self", the "top" the... more >>
MovieClips with ActionScript2.0
Posted by Sim085 at 8/6/2004 4:20:18 PM
Hi I am coding a movie with Action Script 2.0. Now I successfully created
objects on the first frame of a movieClip, but I don't know the command to go
to the next frame and start building objects on the next frame. I tried using
gotoAndStop(2) but it did not work ... The following is the code... more >>
my_txt. _alpha has no effect (for me)?
Posted by elecskunk at 8/6/2004 4:15:14 PM
i need a feature allowing text fade in and out. The text are loaded from server
at runtime into a dynamic TextField(works). To get ball rolling. i drop two
dynamic Text boxes, fade1_txt and fade2_txt. i put the following as into frame 1
fade1_txt.text="text 1111";
fade1_txt._alpha=10;
f... more >>
Saving movie as Image File....
Posted by wheatonk at 8/6/2004 3:56:39 PM
I have a movie where there are a series of lessons and quizzes(sp?). At the
end there is a certificate showing that you passed the course. As it is now I
do have the "printNum..." option for them to print the certificate.
However, in the event that the person taking the course isn't conne... more >>
Movie Control Issues
Posted by Guided1 at 8/6/2004 3:41:19 PM
I have several SWF files that I created with techsmith's camtasia and cannot
edit or import because of quality loss.
I need to play one instantly when the cd is inserted... that's easy. But, the
next part doesn't work
After the first movie plays I need to load the "menu" movie. Then pl... more >>
Zooming, not scaling
Posted by Ross G at 8/6/2004 3:41:14 PM
Is it possibe using action script to zoom into a movie ?
I can resize the movie using _xscale, _yscale and that gives the effect I am
looking for but without actually zooming in you do not get the grab/hand tool
to drag the movie about (which I really need).
I need to zoom into the top l... more >>
New Textformat help
Posted by hoz at 8/6/2004 3:12:41 PM
In an input field, I want the user to be able to select some text, and then
click a button to change the characteristics of just the selected text. I would
appreciate your help.
bt.onRelease = function(){
Selection.setFocus("mytxt_txt")
var format1_fmt:TextFormat = new TextFormat();
f... more >>
Contacting my main SWF from external SWF
Posted by AndrewFish at 8/6/2004 2:14:53 PM
I have an external SFW that is playing in an empty movie clip in my main SFW.
When the external SWF reaches a particular frame, I want it to tell the main
SWF to go to a different frame. But I'm not sure how to make that contact.
Thanks in advance!
Andrew
... more >>
Translating Flash Interface
Posted by barrywomb NO[at]SPAM yahoo.com at 8/6/2004 12:59:30 PM
Hello-
I'm embarking on a tough project...
I have a CD using Flash for it's interface. I'd like to have the user
be able to use an English version of the interface or a French,
depending on who buys it.
Is there any way to have Flash automatically look at the local
settings on a person's c... more >>
functions
Posted by stebennettsjb at 8/6/2004 12:40:53 PM
hi,
i keep runningi nto the same problem, i have a function, then when it
complete, what to run another function...is there a simple way to do this, if i
call the 2nd function after the first ie.
firstFunction()
afterEffectFunction()
then it runs at the same time...
People have s... more >>
JavaScript Action with Special Characters failes
Posted by SlamJam at 8/6/2004 12:27:16 PM
Hi
First I have to admit, that the Flash-movie I have the trouble with, is made
by Swishmax , not Flash, but perhaps you know similar problems:
I have used the JavaScript-Action in the movie to activate an JavaScript-alert
or to put some information into the status-bar of the browser. N... more >>
Flash and Dreamweaver
Posted by Lagartija at 8/6/2004 12:15:59 PM
I posted yesterday in Flash general. SInce then I've learned more. Due to the
lack of responses and more info I have now I'm reporting here.
Trying to call layers up in Dreamweaver using my Flash menu swf.
Now, I found that the geturl() javacript: MM_ShowHideLayers........... is the
c... more >>
Create an install file?
Posted by ....James Smith at 8/6/2004 11:24:36 AM
I was just wondering if it was possible to create install files for flash.
What i want is to package a projector file into a install file that installs
the flash projector file into its own directory in programfiles and places a
desktop icon, which links to the projector.
Thanks in Advance
... more >>
sound.duration & id3 data
Posted by yogeshhungama at 8/6/2004 10:56:05 AM
Hi
I am creating a mp3 player using the sound object.
I am calculating the duration of the sound using mysound.duration. It works
but with few mp3's i get the duration value 0 . when i get the duration value 0
the song doesn't play but when i play the song in winamp it plays fine. The
same... more >>
dynamic textfield troubleshoot
Posted by Finty at 8/6/2004 10:53:03 AM
I am writing to a dynamic textfield and i know i am referencing it correctly.
is there any other reason why I can't assign a value to a dynamic text field
and it doesn't update?
here's the code:
sectionHolder["item_"+i].properties2 = new Object();
sectionHolder["item_"+i].propertie... more >>
Changing colour of Input Text
Posted by Toe Bunger at 8/6/2004 10:39:15 AM
I am creating a page in Flash 5, were a blank football shirt is displayed. Over
the top of this I have added an Input Text Box with parameters set from the
Text Box options. The viewer can now add his or her name to the shirt. I want
the user to be able to change the colour of the text. Any id... more >>
x_start position
Posted by willx at 8/6/2004 10:23:01 AM
i'm makind a drag drop and want the clip to return to it;s original positio if
it doesn't hit the target. Instead of giving the coordinates of where it should
go back to i heard there is a piece of syntax like X_start that gets it back to
it's original position. however i can't seem to find it... more >>
Success! Oner last thing: OnKeyPress Delete...
Posted by Flu Films at 8/6/2004 10:01:51 AM
Thanks to everybody who helped me wrap the below code up, it works prefectly to
duplicate a movie-symbol with alternate properites, thankyou thankyou thankyou.
I have tried without success to add one last line of code to the script, I
would like the option to delete the Duplicate (never the ... more >>
this.userHandCursor = false; is not working
Posted by Teji at 8/6/2004 9:37:15 AM
i have a button on stage, i dont want the hand cursor to appear when a user
takes mouse over it, i write
on(release)
{
this.userHandCursor = false;
}
but this is not working
thanks in advance
... more >>
parameters for action: geturl
Posted by gutu1 at 8/6/2004 9:09:19 AM
How can i use the parameters for window size, notitle, nomenu, e.g like in javascript when i want to open an new window in the browser?
greetings from austria.
uwe... more >>
duplicateMovieClip within scrollpane - bug?
Posted by monrobot at 8/6/2004 8:45:39 AM
I've had a search through the forums and it appears that many other people are
having a problem achieving this:
I have a scrollpane on the stage, I'm attaching an mc from the library, and
then performing a duplicateMovieClip action (with a 'for' loop) on a clip
WITHIN the attached clip. Up... more >>
nextframe in secondes
Posted by gbe at 8/6/2004 8:33:34 AM
I have 20 frames with a different pictures. I want make an actionscript that
make possible to go from frame 1 to 2 to 3 to 4 etc. But I want a stop of
example 20 secondes and then go to de next frame. For example frame1 - wait 20
sec - frame 2 - wait 20 sec - frame 3 - wait 20 sec - and go one... more >>
Control main SWF from external SWF
Posted by andrew NO[at]SPAM bigfishstudio.com at 8/6/2004 6:52:50 AM
I'm trying to control my main SWF file with an external SWF that's
running in a movie clip within it. Ideally, when the external SWF
reaches a specific frame, I want it to tell the main SWF to move to a
different frame. But I'm not sure how the external SWF can contact and
affect the main SWF. I... more >>
Nested movieclips problem
Posted by huxflux at 8/6/2004 5:53:14 AM
hey,
i have a movieclip and in that movieclip i have another (actually a button but
as far as i know they are very similar). what i want is to control this
movieclip with that button. when click the button it calls the script but
nothing happens.
where should i put the script? how do i... more >>
Loading external Sound with a button
Posted by imlazuli at 8/6/2004 5:32:21 AM
I want an external sound to work with button how can i do this? i am able to
load an external sound by following action script
mySound = new Sound();
mySound.loadSound("mi2-2.mp3",true);
but this script does not work when i creat a button.
plz anybody guide me this really very important.
... more >>
Call function from variable
Posted by Whittaker007 at 8/6/2004 5:19:46 AM
Hi there,
I am working on a project which reads button labels and actions from an XML
file. The syntax for attaching the action to the button looks like this:
button.onRelease = buttonAction;
where buttonAction is a function. Now I can create a function to attach on the
fly like thi... more >>
loadMovie() Issue
Posted by Jon_ArtBoy at 8/6/2004 2:45:42 AM
Hello, I am updating my Macromedia Flash MX website to showcase my student
works that are also Flash movies. Some of these students have used masks in
their movies. The problem is that when I load these movies into the blank
target movie clip in my movie, they are not 100% functional. They... more >>
trouble with special char reading from xml
Posted by circlea NO[at]SPAM lycos.it at 8/6/2004 2:32:15 AM
hi guys, hope some one can help me!
this is my trouble:
i'm reading data from an XML file ...
no problem, but when Flash (using MX), find chars like "à" it read as
an thml code "'" ... but flash doesn't reconvert it to original
char when I put it in a text field.
HOW TO?
tnx to all
b... more >>
code hint suffix or Hungarian prefix?
Posted by JAXIMFLASH at 8/6/2004 2:02:27 AM
I was wondering what's the better practice: Using the code hint suffix (i.e.
someArray_array) introduced in MX or the Hungarian prefix (i.e. aSomeArray)
which is used in many other coding languages and which seems to be advocated in
the MX 2004 Actionscript Bible?
I understand that AS 2.... more >>
Live Preview knowing it's size in Actionscript 2
Posted by Shraka27 at 8/6/2004 1:11:21 AM
Hi there,
I have a live preview that needs to know when it is scaled by the user and how
large it has become to that it may re-draw itself. I am using Macromedia Flash
2004, and as this object makes itself invisible to the end user, it's
impractical to just compile it as a precompiled comp... more >>
Preloader still showing when loaded
Posted by Bloke at 8/6/2004 12:02:22 AM
I started a new thread for this becuase the other was up to 24 posts.
My probelm is this: My main movie loads external SWFs and there is a mini
preloader for them. But when the movie is loaded I don't want it to appear if
the user loads that SWF again. Currenty you can see 0% loaded for a seco... more >>
While mouseDown?
Posted by Dinghus at 8/6/2004 12:00:10 AM
How do I loop while the mouse is hovering over an object? This is probably very easy.... more >>
|