@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> I have made a flash animation under Tween 11, how can I move this to 'Scene 1' so that I can save and export it?
<1> How do I putUrl(); a query string?
<2> nv_: getURL?
<1> yeah :\
<1> THat's what I meant.
<1> like
<1> getUrl("stuff" + _root.var + "other stuff");?
<2> ylox: i don't really understand your question
<2> nv_: getURL("link.php?var1="+_root.var+"&var2="+_root.somethingelse); ?
<3> Although using var isn't good. hehe. :P
<2> lol
<2> true, it slipped out of copypasting :)
<3> hehe
<0> yelo_: Nevermind, I figured it out. Thanks anyways :-)
<2> ;)



<2> it's better out like that :D
<2> nv_, does something like that work for you?
<1> Yep
<1> Thanks
<2> ;)
<3> o/
<0> How can I make the whole flash animation go, for example 2 seconds slower?
<4> ylox: change the fps
<0> Where?
<0> I have Macromedia Flash 8 Pro
<4> ylox: click on the stage, and look in your property inspector
<0> Thanks ;)
<1> How do you put a delay on getUrl?
<4> nv_: hold
<1> hold?
<4> hold on a minute
<4> ill write it up
<1> alright
<5> just make the user wait
<5> put a note
<1> ...
<1> rofl
<5> "Do not click for 3 seconds:"
<2> that might work ;)
<2> or "Please wait 3 seconds before clicking"
<4> nv_: you want it so if someone clicks a link it pauses for a second before it opens?
<1> nono
<2> and make the text flash real annoying :)
<1> this flash is embedded
<1> and I want it to delay
<1> whenever the flash is loaded
<1> then run the get url.
<2> you could use the setInterval method :o
<4> yea
<1> I'm a PHP guy
<4> nv_: http://pastebin.sekati.com/?id=Anonymous@ebe19-533b2246-t
<2> do you want it to request that url every "X" seconds?
<2> or just once.
<1> Just once.
<1> sleep(); is the equivelent
<1> It's just one line :P
<1> sleep(2seconds); getUrl();
<2> u can't use sleep since that could totally kill every threads
<2> thats why it doesnt exist
<2> since there is only 1 thread.
<4> nv_: I posted the script
<1> oh
<2> yeah OnoSendi's code is good for what you want.
<1> Ono...
<1> And that will be once?
<1> then it will load the get url?
<4> yes...
<4> ughh... here
<2> yep, it triggers it and it stops the interval of happening again with the clearInterval.
<4> lemme write it up for you
<6> question --> if i have a url and i load a movie into a movie clip... how do i figure out the width and height of the jpg?
<1> Oh ok.



<1> That's fine then. Ono.
<1> That'll do (:
<7> check out my flash: http://cheneysoundtrack.cf.huffingtonpost.com
<7> i've had 10,000 views today
<1> I'm just p***ing data to another website when a user views the page
<1> but if the images aren't loaded...
<7> I've moved up 104 places into the top ten of the Contagious Festival
<2> fonso: you can only know it's size once the whole image is loaded and once the width of the loading movieclip is bigger than 0.
<6> anyone?
<1> it'll stop the images because I'm using javascript in the getUrl.
<6> yelo_
<6> ?
<4> nv_: http://pastebin.sekati.com/?id=Anonymous@ebe19-533b2246-t
<2> fonso, the size of the image will be the size of the movieclip in which you load it, once the size is bigger than 0
<6> aaah got it
<6> crud
<2> :P
<2> i know i made it a bit hard to understand :)
<2> but it's how it makes more sense :)
<6> ok
<6> good enough
<2> basically it might be 100% loaded but not yet rendered (since that next frame update hasn't yet happened) ..
<2> so you still need to wait that extra frame length.
<1> Ono
<1> There's no "frames"
<2> so the best is to see if 100% loaded && _width > 0
<1> I dont even have a movie.
<1> It's just ActionScript
<2> nv, your stage is a movieclip.
<1> Well.
<1> I don't even have 2 frames.. :\
<1> I don't understand flash
<2> u can create a KeyFrame by selecting a frame in the timeline and clicking F6
<1> That first script Ono posted
<1> What's the downside to that?
<2> keyframe hold states and actionscript... empty frame dont, but inherit state of previous keyframes
<4> nv_: on the time line, right click the second frame and click add blank key frame
<4> then select the first frame, and open the actions panel, and add the code appropriately
<6> yelo_... so.. if i know a picture is like 1280 with and i have to fit it into 50 do you know the formula to set the xscale?
<6> ok
<2> xscale = wantedWidth / pictureWidth * 100 ?
<6> i might be a little dumb there
<6> figured that one out
<6> how terrible
<2> ;)
<6> shouldnt it be pictureW/wanted?
<2> 50/1280 ~= little percents ?
<4> nv_: I don't even understand why your using flash to do this?
<6> 1280/50
<6> i mean
<2> 1280/50 ~= big percents
<6> then it would be 25 right?
<6> righ right
<6> what am i thinking
<6> aagh
<6> i got a 3.6 or somethign so i thought i was wrong
<6> but maybe not
<2> then you might want to calculate the height yscale, and find the best fit.
<6> yeah
<6> thanks man
<2> u should be ok now ;)
<6> big help for my tired brain
<2> happens to the best of us ;P
<2> such a clich phrase.
<8> i have realized thre are many ways to use a preloader, what do u guys suggests is the most practical way?
<1> Ono..
<1> Hold on
<2> Rakim, what are the many ways you've realized and i might be able to suggest the most practical way :)
<8> yelo, well i was using it through scenes
<8> and have discovered that this is a terrible way to do it
<8> if the currentbytes = totalbytes, it would go to the next scene
<8> which method would u suggest as an alternative where i can have a progress tween outputting
<1> Ono..
<1> You there?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #flash
or
Go to some related logs:

#dsl
#computers
manuteb
lesbyn
cheers mait
Message Recall Failure
#politics
#computers
shalbes
#unixhelp



Home  |  disclaimer  |  contact  |  submit quotes