all groups > flash actionscript > august 2005 > threads for tuesday august 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
flv
Posted by leanne827 at 8/2/2005 10:56:33 PM
hi all
thanks in advance for your help.
i am working with a bunch of flvs and i need to have one play [say for 5
seconds] and then
when that flv is done, another one should start playing. does any one know how
this can be
achieved? basically how can the flv play and then flash move onto... more >>
IF statement
Posted by dawndawg at 8/2/2005 10:48:36 PM
will flash recognize my statement "if (AboutMe=disabled)"? Or do I have to use "enabled"... more >>
find out where the main flash movie is
Posted by woolf2k at 8/2/2005 10:13:16 PM
Is there a variable or method I can use to find out where the movie came from.
In other words, if the browser loaded a movie from
"http://www.macromedia.com/movie.swf"
how can the movie.swf actionscript find out that it came from
"http://www.macromedia.com/" address.
reason I ask ... more >>
how to download image to desktop from projector
Posted by jpelk at 8/2/2005 10:02:48 PM
I have a projector distributing on cd, with a gallery of images in one section.
When you click on a thumbnail, the main image becomes the hi-res version of
that image. I need a button under the image that allows people to download that
image to their desktop. I've tried
getURL("xxx.jpg","... more >>
Incorrect width and height
Posted by TroyK at 8/2/2005 7:57:41 PM
Has anyone ever seen this problem and therefore know how I can solve it. I've
created several movieclips and then use actionscript to combine them all into
one clip. When I trace() the width or height of any of the clips it comes out
wrong. For example, if the width of the clip is 60 it come... more >>
FLV Preloader Buffer
Posted by Dilznik at 8/2/2005 7:52:21 PM
Still learning the way around the Flash Video and streaming buffers so...
Problem:
I am looking to create a graphic preloader based on the percent of the video
buffered.
I'm using Flash MX 2004 Pro with the Flash Content Server and looking to set
up a stream.
A great example of wha... more >>
movieclips and the clock
Posted by jimmy_milk at 8/2/2005 7:43:55 PM
I have 3 movies clips one of the moring sun, one of a afternoon park and one of
the nighlife. I would like it so when say its bout 6am til 1pm, it would show
the morning, then 1pm to 7pm the afternoon then 7pm to 6am the evening.
Could someone show me how is this is done as I don't know how... more >>
event handlers and movie clip weirdness! WTF?
Posted by teknon at 8/2/2005 7:36:00 PM
Ok....before I begin with my question, please allow a short disclaimer: I have
full working knowlege and understanding of correct target pathing in
actionscript. This is DEFINITELY NOT an improper target call error. I've
checked, double-checked, and triple checked my paths, and they are correc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Re: Adding two outputs that are formatted as Dollars
Posted by digital_monkey at 8/2/2005 6:25:05 PM
Hi,
David, I've just noticed that your DollarToNumber won't work in all cases -
what if some of the amounts are greater than $1,000.00? You script would (try)
to return Number("5,987.00") for example, which obviously wont work.
This function should return the number without commas:
... more >>
Flash Player and swf loading question
Posted by JoeBazz at 8/2/2005 6:23:31 PM
Hi,
There?s something that I need to know that is vital to the development of my
last project. I have a "SectionLoader" component that is basically a wrapper
around a loader and a progress bar with some functionality to load SWF and
create the sections classes. The "Sections" are run-time ... more >>
Declare object using string
Posted by Web-exxes at 8/2/2005 12:44:08 PM
Dear Shockers!
I have some trouble with the declaration of an object. Since my
content-management system has shortage of database fields, I wan't to create
some by adding a AS object in a database field (1 database field becomes x
fields of the object). Main question: Is it possible to de... more >>
How do you load a .swf then go to a certain frame in that .swf?
Posted by bwm_razel at 8/2/2005 12:30:58 PM
I know it's much more complicated then just using gotoAndPlay, I heard you need event handlers or global vars or something. To be honest, I have no idea where to start, can anyone give me some ideas?... more >>
Animating with ActionScript vs Timeline
Posted by Ryan M at 8/2/2005 12:08:50 PM
Hi folks - I can see how I can draw lines and shapes on the stage
dynamically using ActionScript. However, when I want to animate those
things, eg: make a shape move, I seem to be left with using setInterval
and re-running my drawing code with different numbers. This isn't too
bad but when you g... more >>
Tree Component Text Wrap
Posted by Hiltonkeith at 8/2/2005 11:29:04 AM
Hi All,
I'm using the tree component for a catalog menu structure (maybe), but it
clips text. Our items have some long, involved names. I read in the help that
it would clip, and I knew what to expect, but I am hoping there is a way to
force text to wrap?
Thanks,
hk
... more >>
button1 onRollOver make button2 rollOver
Posted by Pluda at 8/2/2005 11:01:37 AM
Hello, this must be an easy one, but can't find out how to do it...
I need to onRollOver my button1 make my button2 rollOver too, how does this work?
thanks... more >>
variable into string - easy question
Posted by Brian at 8/2/2005 10:52:41 AM
I would like to get a variable into a string and can't figoure it out.
I have a variable called "turnOn" which will be something like the below:
turnOn = what
turnOn = home
turnOn = contact
etc.
I have MCs on my stage called what_sqr_mc, home_sqr_mc, contact_sqr_mc,
etc. These I would ... more >>
Re: Need more help
Posted by digital_monkey at 8/2/2005 10:48:31 AM
Hi, your mistake is that you have used the assignment operator "=" rather than the comparison operator "==".
You should have:
if (master3 == 1) {
this.play();
}
Hope that helps.... more >>
sending variable to php :( problem
Posted by Rajesh199 at 8/2/2005 10:32:46 AM
hi there !
i am using
// flash
var sendToPHP = new LoadVars();
sendToPHP.currentInfo = "Hello World";
sendToPHP.send("test.php","_parent","POST");
//
in test.php it is inserting data to database
but when its calling test.php it loads
So i do not want to load or open in new br... more >>
gotoAndPlay not working
Posted by mermagen at 8/2/2005 9:57:07 AM
this works
if (Number(getTimer())> Number(Number(pauseTime)+Number(movieTime))) {
_root.image_nav.gotoAndStop(1);
_root.facts_nav.gotoAndStop(1);
}
this doesn't
if (Number(getTimer())> Number(Number(pauseTime)+Number(movieTime))) {
_root.image_nav.go... more >>
targeting button in a movie clip for function using onRelease
Posted by mermagen at 8/2/2005 9:50:22 AM
This code is in the first frame of my movie and works fine.
contact.onRelease = function(){
play();
where = "page16.html";
}
Where "contact" is a button and "where" is a variable used in the last frame
of the movie in
getURL(""+ where);
This doesn't work tho. Why?
f... more >>
when is a tweened animation initialized and availible from within the script?
Posted by ivanko_98 at 8/2/2005 9:30:58 AM
Hello,
from within one of my functions Im calling this.gotoAndPlay()
the problem is that there's no effect, and yes, 'this' is referencing the
correct object, and there are no this.stop() on the frame to which Im trying to
jump. The label var Im using is defined, so thats not the problem.
... more >>
Challenging functionality HELP
Posted by Ajay Vyas at 8/2/2005 9:23:26 AM
HI,
Just got a specs for a challenging functionality.
We need to develop a functionality such that user can take print screen of
flash swf file inside a html page and save it as a JPEG file on his machine.
Till date I checked flash docs and didn't find any support for this kind of
fucnt... more >>
fs command
Posted by Mo*1 at 8/2/2005 9:13:10 AM
Hi,
Can anyone help me out...ive got a movie which has an fs command which puts
the screen full screen but doesnt make the movie go full-
fscommand("fullscreen", "true");
fscommand("showmenu", "false");
This movie loads in other movies but when they load in they all go full screen
... more >>
on EnterFrame
Posted by GmR at 8/2/2005 8:31:33 AM
Hi, I can't seem to get my head around "enterframe". I think I've got it when
its attached to clips, but how do you use it in a function that sits in a
specific timeline frame, if the movie clip is playing?
make any sense? Sorry I'm a bit of a dummy on this.
Samson
... more >>
Problems with Component
Posted by rbaby at 8/2/2005 12:04:14 AM
http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106&viewName=Exchang
e%20Search%20Details&loc=en_us&authorid=63250063&page=0&scrollPos=0&subcatid=0&s
nid=sn106&itemnumber=0&extid=1015122&catid=0
Hi guys,
I got the component above--and I used it on a Dynamic Text box that I had.... more >>
Linking flash webpages together?
Posted by joshluv333 at 8/2/2005 12:00:00 AM
I am having a very difficult time figuring out how to link a button on a .swf
to unload the current movie and load the new .swf. As of right now I am
attempting to use this command:
on (release) {
unloadMovieNum(1);
loadMovie ("customers.swf", customers);
}
I really needed som... more >>
A slidehow where each image is preloaded
Posted by erickbeans at 8/2/2005 12:00:00 AM
I am trying to create a slideshow but i want each image to be preloaded individually. how do i go about this? is it possible to add a fade in effect? thanks.... more >>
Resetting via actionscript
Posted by malachite00 at 8/2/2005 12:00:00 AM
Does anyone know of a way to reset a swf back to its original state via
actionscript? I have an init() method that can reset the state of most of my
variables and recreate arrays, but any movie clips that were created while
working remain in their locations after init() is called.
Basical... more >>
gallery problems
Posted by cnbishop41 at 8/2/2005 12:00:00 AM
i am trying to create a gallery for a photographer's website. he wanted to
have thumbnails and when the user scrolled over the thumb with their mouse, the
large image would appear. it is working, except if you rollover thumbnail A
rollout to the black space, and then rollover thumbnail A aga... more >>
loadMovie into clip event
Posted by screeg at 8/2/2005 12:00:00 AM
I had a movie preloading into level 1 like this:
Frame 1
loadMovieNum ("movie_1.swf", 1);
Frame 2
_level1._visible = true;
_level1.gotoAndPlay(2);
_level1._x = 80;
_level1._y = 60;
But I need to mask "movie_1.swf" on a layer so I decided to load it into a
dummy element, "mo... more >>
unload movie set to mouse coordinates
Posted by ponch at 8/2/2005 12:00:00 AM
Hi,
Bit of a nivice with action script. I have created an expandable banner which
loads a movie on mouse over of a button. I need this movie to unload when the
user takes his cursor off the movie/stage. could anyone help me with this?
presumably i need to create an actionscript which tells... more >>
Moving Containers...
Posted by ALKAZA_PROD at 8/2/2005 12:00:00 AM
Hello everybody,
I'm trying to animate a movieclip which contains loaded swf. I just try to
move it and make an animation, but it doesn't work!!!
I just want to load my contents file in a mc, and try to make it appear and
disapear on the left side of the document (with a slide).
Does a... more >>
Preloader With Animation
Posted by Rob_jones732000 at 8/2/2005 12:00:00 AM
Hi
I always wondered how to do this...
How can i make a preloader that makes the animation progress as the page
loads. This is what i want it to do (ive made a prototype)
http://www.iso-land.com/Preloadertest1.swf
I have the outline of the character on the top layer, the colored char... more >>
mouse _x and _y
Posted by Macromedia at 8/2/2005 12:00:00 AM
hi guys
i have a challenge that needs to hide the mouse and change its_x and _y
randomly and i don't know the right piece of action for this.
my trial was like this
i put a movieclipout of stage and on it i wrote this
onClipEvent (enterFrame) {
Mouse.hide();
//_xmouse=((this._width)/2);
... more >>
Re: Displaying two digits..
Posted by chrebel at 8/2/2005 12:00:00 AM
Check your seconds to see if they are less than 10 and then if so force the
number plus a leading zero into a string
nbstot = (_level1._totalframes)/12;
nbseco = (_level1._currentframe)/12;
nbsleft = nbstot-nbseco;
minutes = (int(nbsleft/60)).toString();
seconds = int(nbsleft-(int(nbsl... more >>
XML to array
Posted by Dinghus at 8/2/2005 12:00:00 AM
I have to take a whole lotta XML files and move them into something a little
more useable for users in Flash.
Either an easy way to convert XML to multidimensional arrays or objects would
be great. I could write a parser that puts them in but that is a pain if I
have to do it for each file.... more >>
Many radioGroups and radiobuttons
Posted by bwm_razel at 8/2/2005 12:00:00 AM
Let's say I have 10 quiz questions which have 4 answers each. That's 10
different radiogroups and 40 different radiobuttons. Now then, a couple of
questions:
1) How do I make a movie clip pop up if they havent selected an answer in a
certain radiogroup (ie they've only answered 9 questions... more >>
Dynamic Textfield Issues
Posted by Detonate 2004 at 8/2/2005 12:00:00 AM
Hi guys,
I would like to make a dynamic textfield's "WIDTH" match the text pulled out
from a txt file.
In some cases it will be short sentences and in other times, bigger ones. Ex.
of my .txt file:
"It is a long established fact that a reader will be distracted by the
readable content of... more >>
need a script which will mute sound and another to unmute
Posted by onesikgypo at 8/2/2005 12:00:00 AM
hey i just need the script which i can use, so when you click on a button it MUTES ALL sounds and another which will UNMUTE ALL sounds... more >>
|