all groups > flash actionscript > october 2005 > threads for thursday october 20
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
Question!!!!!!!!
Posted by Mr.Shizzle at 10/20/2005 10:53:42 PM
Im having some troubles making a button to start playing a movie im making. I
cant get the button to start playing in the second frame. Its hard only because
this version apparently doesnt have a normal mode, only an expert mode. Id
appreciate anyones help. Thanks
... more >>
Controlling attached Sound files
Posted by TAGDigital at 10/20/2005 10:13:20 PM
Hi all,
I am having a problem getting sounds to work correctly. I have a dozen or so
sounds that I have defined objects for...ie
var snd_music_1:Sound = new Sound();
var snd_music_2:Sound = new Sound();, etc...
I then attach sounds from the library...ie
snd_music_1.attachSound("sound... more >>
XML and FLV problem in Flash8
Posted by poshewr at 10/20/2005 8:58:41 PM
I am trying to use the flv playback component to play flv's using a variable
from an XML file that holds the description, name and file name. Everything
else works except the flvplayback will not accept the variable from the xml
object as the contentpath. In short, i want to use the flv playba... more >>
Preloading issue
Posted by knucklenutz at 10/20/2005 8:45:30 PM
Hello!
I am currently using actionscript to attach 15 or so clips to a clip
container. Each clip, when attached, immediately loads a SWF based on the
clips _name. Once all the clips have been attached and I have checked to make
sure that content is loading, I am calling a function via an... more >>
Need buttons to remain highlighted when I click on them
Posted by Flock at 10/20/2005 8:10:24 PM
I need to have a button in the down state when it?s corresponding SWF file is loaded, and have all other buttons remain in the up state.
... more >>
sending email by click a button
Posted by dchen8 at 10/20/2005 7:52:04 PM
How to code a button to send an email in Flash. Pleas help
Dedong Chen... more >>
Play Movies once in a random order?
Posted by Chris Goodiel at 10/20/2005 7:51:46 PM
I have a map that my client wants their locations(21) to glow in a random
order.
How I have the flash set up now is the map graphic on one layer and 21
instances of a movie. Being new to action script and coding for that matter I
have no clue how to have these movies play one at a time in... more >>
can't get GetUrl to work
Posted by tomjoad2000 at 10/20/2005 7:51:14 PM
I'm new to flash but have lots of experience of php/vb/js.
Since my dhtml-meny with alpha-fading wouldn't work
for mac-users I have to flash it.
How ever, the links on the menu doesn't open anything,
they are simply dead.
Please help me as the site is about to go online.
Please see... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Web Service Connector
Posted by Ryan Bellerose at 10/20/2005 7:19:20 PM
I am getting an error opening URL in my output window when I am trying to call
a simple web service. The file is at the following link.
http://www.bellerosemedia.com/flash/flash.fla
Please help!
Thanks
Ryan
... more >>
Load a random movie when current one finishes
Posted by AESS1981 at 10/20/2005 7:14:06 PM
On the first frame of my movie I have the script:
//
loadMovieNum("menu.swf", 10);
loadMovieNum("grid.swf", 1);
var myClips:Array = new Array("1.swf", "2.swf", "3.swf", "4.swf", "5.swf");
this.createEmptyMovieClip("holder", 1);
holder._x = 0;
holder._y = 0;
var currentClip = ra... more >>
Shared objects and embedded video?
Posted by Ex Machina at 10/20/2005 7:05:43 PM
I'm having the oddest problem with a shared object (cookie) that is supposed to
control skipping around in a movie. The SO itself is supposed to check itself
and if the movie has been loaded once that day, the movie is supposed to skip
to the end and stop.
I know the code works because I'v... more >>
dynamic text bug?
Posted by cre8ive1974 at 10/20/2005 6:33:01 PM
I don't understand why this is not working. Is there some sort of bug in Flash
8 pro?
loadVariables("item.txt", "textSpot");
I have a dynamic text field called textSpot, and the .txt file has a varaible
called out to it that is titled item. But it does not show anything on the
screen... more >>
cant' change dynamic text
Posted by tomrippity at 10/20/2005 5:44:54 PM
I am trying to use a button to change a dynamic text field within my flash
movie. I can change the textfield just fine if I just place the actionscript
within the timeline somewhere with no particular event handler, however, if i
try to use a button on(release) function to trigger the change ... more >>
Trying to specify particular instances -- HELP SOON
Posted by nfstc_graphics_guy at 10/20/2005 1:18:54 PM
I want to be able to apply a particular piece of code to numerous movie clips
that are on the stage of my movie in one of the frames. I was recently told
about "instanceof," and that successfully allows me to point the code at the
instances that are of type MovieClip, but I want to be able to... more >>
Progress Bar on Preloader not "progressing"
Posted by amyinbrooklyn at 10/20/2005 12:54:23 PM
When I run "Test Movie" with "Show Streaming" on, the movie shows that it is
still loading but my progress bar shows 100%, even from the beginning. To make
sure that my preloader is forced to read all my images in my movie, I've placed
every single image in frame 2 of the preloader behind a ma... more >>
How calculate how many days left one have from today to a future date
Posted by Gustavo De Tanti at 10/20/2005 12:07:51 PM
Hi
Somebody have some script that calculate the number of days remaining to a
certain date?
for example, I have two Date objects:
today=new Date();
futureDate=new Date(year,month,day);
function getDaysToDate(today, futureDate){
.....
return daysLeft;
}
Many thanks
... more >>
Masking external images
Posted by Andra Veraart at 10/20/2005 11:56:50 AM
Hi everyone!
Using the following code, I create a filmstrip (for a fotoalbum) consisting of
externaly loaded .jpg's.
This way I get a long drag-able movieclip. But I only want a portion of that
filmstrip to be visible.
What I've tried so far is: I made a movieclip in the library called ... more >>
moving movie with button
Posted by deerowbear at 10/20/2005 11:51:23 AM
I tried to apply this code to a button:
/*on (release) {
this.rr._x = _x+1;
}*/
I have a movie called rr on the stage. What code do I need to apply to the
button to make the movie move its current position plus one. I have this code
that works for the key pad:
onClipEvent (enterFra... more >>
need help, can't make Shared Object work.
Posted by keithb at 10/20/2005 10:39:56 AM
This code (from a Flash 8 example) does not create a file at the specified
location, and does not create any error message. What am I doing wrong?
var so:SharedObject = SharedObject.getLocal("userHighScore",
"C:\inetpub\wwwroot");
so.data.highScore = new Number();
so.data.highScore = 33;
... more >>
Conditional Flash Form
Posted by phonemymum at 10/20/2005 10:32:17 AM
I would like but I'm havng trouble creating a conditional form. It is fairly
easy to create a flash/php form but I want to add some conditional statements
so people aren't just sending blank e-mails.This code is added to the .form
movieclip which contains my text fields:
onClipEvent(data){... more >>
Function definition syntax question
Posted by keithb at 10/20/2005 10:24:12 AM
I see two different syntaxes in use for defining Actionscript functions.
myFunction = function(param1, param2, param3){
}
and
function myFunction(param1, param2, param3){
}
What is the difference between them and when is one use better than another?
Thanks,
Keith
... more >>
load xml into movie clip
Posted by ramabolo at 10/20/2005 9:02:46 AM
i have text loading from xml and its work
my text needed to be masked, there for i convert the text field to movie clip
but
now i cant see the text from the external file.
my question is:
can i load text into text box converted to movie clip?
... more >>
XML onLoad Type Mismatch
Posted by Dumbledad at 10/20/2005 8:04:43 AM
Hi All,
Can someone explain why either of the two lines in this script that assign a
method to XML's onLoad event fail at compile time with a "Type Mismatch" error?
class EPGDataLoader
{
private var channel_xml:XML;
public function EPGDataLoader(inURL_str:String)
{
chann... more >>
Key combination with Ctrl key
Posted by FlashAmit at 10/20/2005 7:33:50 AM
I am making an application which uses shortcuts of key combination like ctrl+B,
Ctrl+F2 etc. When I try to do this by holding "Ctrl" key no release event is
fired for the additional key. Please suggest me the solution.
Amit
... more >>
Dynamic HTML text
Posted by DarkRoy at 10/20/2005 7:17:28 AM
Hi, can someone please teach me how to create a dynamic text field in flash 8
to load external HTML text so I can load in the content without having to open
the flash file just to change a simple text. I also need it to be HTML is
because I want to have text links on these content so it will o... more >>
Open New Window in Flash 8
Posted by DarkRoy at 10/20/2005 6:30:32 AM
Hi, can someone please teach me how to open a new window in flash 8 with fixed
size and centered? The code I used to use for flash mx 7 does not work
anymore. I have searched everywhere but unable to find an answer. I am not a
very good coder so please explain in detail so I can do this prope... more >>
My navigation caused a shipwreck
Posted by riichieg at 10/20/2005 5:04:46 AM
At first I used seperate scenes for the pages and set each buttons
actionscript on release, goto scene1, 1 respective to the buttons. (the syntax
was correct but if i hit the same button again, it went to a different scene. I
got fed up with figuring it out so I went with goto frame... Its... more >>
Check the current frame, then do a certain action.
Posted by awarish at 10/20/2005 4:59:45 AM
Can someone help me out here? I'm fairly new to action scripting.
Bacically what i want to do is, check if the current frame of a movie clip is
in certain point, then, if its ture, do a simple action, like go to...
For example, if the current frame of the movie clip [mc1] is 5, then change... more >>
Help me kglad, rothrock or NSurveyor!
Posted by sampurtill at 10/20/2005 4:51:44 AM
Hey guys
Could you tell me exactly how I would send a form from flash without going to
a new page. I want to somehow load a php page the processes the information
that the user has written and then have the php page send an output back to
flash once it loads that it has successfully sent ... more >>
alternate input devices
Posted by jgomula at 10/20/2005 3:14:32 AM
I've seen several examples of mapping keys on the keyboard (like the arrow
keys), or using sounds to trigger events within a Flash environment. Does
anyone have experience mapping alternate input devices into Flash - like a step
mania dance pad? Does anyone know how a Mac interprets a dance pa... more >>
All buttons of _level1 works from _level2, which I don?t want.
Posted by TawhidKhan at 10/20/2005 2:48:21 AM
?_level1? has some buttons and when I am clicking one a button then ?_level2?
is showing, but what I can see, from ?_level2?, all buttons of ?_level1? still
work when I click on that place of ?_level1? from ?_level2?. So I guess it?s
clear, I need to know how I can hide mouse move or mouse cli... more >>
uiscrollbar
Posted by deerowbear at 10/20/2005 2:09:02 AM
Is there a way to apply a uiscrollbar (that scrolls horizontal) to a movie clip?
thanks d... more >>
Reverse engineering the VidePlayer Class of Flash 8
Posted by buraque at 10/20/2005 1:33:16 AM
I am trying hard to create my own seek bar which enables you to scrub the video
not in a linear bar but with a rotational wheel like the ones DJs use. When you
press and rotate the wheel, it will seek the video to previous or next frames.
The stuff i am trying to configure is the state mach... more >>
drag and drop
Posted by deerowbear at 10/20/2005 12:48:14 AM
If you apply code like:
onClipEvent (mouseDown) {
//startDrag(d, false, -185, 10, -185, -250);
startDrag(schematic_03, false, 275, 300, -900, -300);
//startDrag(d, false, -240, 10, -2180, 9.25);
}
onClipEvent (mouseUp) {
stopDrag();
}
//ltrb
to a movie is there a way to d... more >>
navigation???
Posted by Michael at 10/20/2005 12:00:00 AM
Hallo,
Im trying to make a webpage but for the navigation i want to have the map of
the world & when you rollover or click the over state stays marked;
i want to have so on enterframe all the countrys fade in (alpha) then ready
for the user to click
there is AS for it just dont know it.... more >>
Newb loadMovie question
Posted by Winston2 at 10/20/2005 12:00:00 AM
When I click on a button it loads the movie just fine. However, when I click on
the button again the movie shifts all the way to the left on the screen. Can
someone tell me what is happening here and/or how I can fix it? Thank you very
much.
on (release)
{
stopAllSounds();
//cr... more >>
Re: stopping a movie clip
Posted by Pal_w_G at 10/20/2005 12:00:00 AM
I assume that hit test is happenning and that the var number is initiated with
the var 1
then these are few changes i made
onClipEvent (load) {
dir = 320;
speed = 6;
slow = true;
}
onClipEvent (enterFrame) {
move = this._x;
move = this._y;
if (_root.number == 1) {
... more >>
Audio Control from specific frames
Posted by jmoore09 at 10/20/2005 12:00:00 AM
I have a presentation that contains 5 videos. I also have an audio track
looping through out the presentation placed on its own layer. When the
presentation reaches a video frame I would like the music to drop out and then
pick back up when it advances to the next frame that does not contain a... more >>
movieClipLoader missing something
Posted by Vertine at 10/20/2005 12:00:00 AM
i give up ...i have never had issues with the movieClipLoaders until today....i
am loading different XML files based on which button the user chooses. The xml
is loading fine (confirmed with a trace earlier in coding). The mcl is my
problem, as i can not get the clips to "show face"....i have ... more >>
Re: stopping a movie clip
Posted by Pal_w_G at 10/20/2005 12:00:00 AM
Try this:
initiate a var before you start this onEnterFrame;
var shouldIMove = true
onClipEvent (enterFrame) {
if(shouldIMove ){
this._x += 5;
}
if (this.hitTest(_root.bx)) {
shouldIMove =... more >>
drag and drop in loaded movie
Posted by midi_ger at 10/20/2005 12:00:00 AM
Hello,
I have a problem with a multiple target drag and drop.
The drag and drop swf works perfectly fine if I publish it and run it on its
own.
As soon as I load the drag and drop swf as a movie into level 5 of another
movie,
the drag and drop does not work anymore, that means, the dr... more >>
|