@# 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



Comments:

<0> It wont work
<0> As you're only pushing a string into teh array
<0> I've updated your code
<0> Try that
<1> anyway, thanks VgSlag and cya
<2> hmm.. not working.. also, the array isn't being populated
<2> I get 20 "undefined"s when I trace the array..
<0> do the clips attach?
<2> when I traced "trace (m_clipRef._y);" I get "undefined" as well, so..
<2> What I'm trying to do, eventually, is populate a stage dynamically with a determined # of duplicated clips, and have them space out evenly based on stage height.
<3> trace(duplicateMovieClip(photoID, "photoList" + i, this.getNextHighestDepth()))
<3> does dupmc return something?
<3> might be only photoID.duplicateMovieClip("photolist"+i
<3> that does
<3> diff usage
<3> not positive - bt...



<2> nope...
<0> Ahh yeah, never thgouth of that
<0> Good idea shiz
<3> i know one of them doesnt (or didnt) but i thought was textfield
<0> idealist, trace(photoID)
<0> That return the name yeah?
<3> good idea too heh
<2> photoID is the original movieclip being duplicated
<0> But please trace it
<0> Just to confirm
<2> traces to: _level0.photoID
<0> Ok then, use the line Shiz gave
<0> photoID.duplicateMovieClip("photolist"+i...
<0> Th eold usage must not return a reference to the clip it creates
<3> ya, mc method does, global function does not
<3> i think
<3> i just woke though - and have no coffee
<3> its gunna be a long day
<3> hehe
<0> Use this opportunity to break your dependence :)
<2> hmmm... how would I populate the array with it?
<0> just change that 1 line
<0> 2 secs
<0> Updated pastebin
<2> i did, I'm still not getting the correct ._y of the array mc's
<2> oh wait.. hangon
<2> doh
<2> nope.. using that breaks the whole thing
<0> how so?
<2> the array populates with "undefined" in all 20 places
<0> Got an fla?
<0> Are you publishing as flash 5 per chance?
<2> no, 8
<0> You are suing the correct case yeah?
<0> using*
<0> As that code will work
<0> You have created the array yeah?
<0> photoListArray = new Array();
<2> doh! got it.
<0> Had you not made it?
<0> It might not be that actually
<0> I have it workign here
<0> With the array made
<2> thanks guys, I got it working with your code, Shiz
<2> now I'm gonna try and do the rest of it :)
<2> thanks for your help guys yall rock
<0> Good lcuk
<0> luck*
<3> break my dependance?? NEVER! at least not when my eyes feel like they got 10pnd bags hangin from each one
<3> li'l hard to get movin without the ole'coffee :P
<3> but i gotta.... to get the coffee.... :(
<3> bbiaw
<3> heh
<0> :)
<4> :)
<2> so are you guys professional developers?
<0> Me, but only flash
<0> Shiz too
<5> I'm using MovieClipLoader to load images into a MC. I want the loaded pictures will resize to 850px if they're above that. I placed the following statement on the 'onLoadInit' but after one resize all of the following loading using that MovieClipLoader loads the pictures resized as well. any idea how to solve that?
<5> http://pastebin.sekati.com/?id=MovieClipLoaderwidth@6aaca-cfdd65aa-t



<4> me top
<0> dissonant, even if they're less than 850>?
<0> 860*
<5> yep
<5> it's as if I changed the _xscale not the width
<0> Have you traced their width?
<6> me bottom
<7> kinky
<0> Rar!
<5> yep
<0> And?
<4> woops thought i said too
<4> :|
<0> They're showing to be less than?
<0> And you checked that your if statement is being called?
<5> again, it's the percentage of their original width according to the image that I last resized
<6> woops thought i said not
<6> |:
<5> ofcourse it's being called..
<0> dissonant, and you load into the same clip?
<3> onloadcomplete
<5> there was no resize if it wasn't
<5> yep
<0> Thats teh issue then
<0> I said is your if being called
<0> And returned true
<0> Its not
<5> oh
<0> The issue is:
<0> When you change teh width of a clip it also changes teh _xscale
<0> so you need an else on your statement to size teh clip to 100
<3> you dont use oninit to set a property of something that is GOING to be loaded - you use onloadcomplete
<6> bye SHiZNiT
<0> Updated your code
<5> ok, sec
<0> Missed a dot
<0> updated again
<5> dot?
<0> i had:
<0> mc_xscale = 100
<0> Changed to:
<0> mc._xscale = 100
<5> ok it worked (before I saw u updated the code..) but the hell is this :
<5> mc._width > 860 ? mc._width = 850 : mc._xscale = 100;
<5> new kind of syntax?
<0> You wrote in inline if statement
<0> To keep it liek that I also did
<0> : is else
<0> The full syntax version would be:
<5> if(mc._width>860) mc._width=850;
<5> else mc._xscale=100;
<5> got it. thanx man
<0> if (mc._width > 860) {
<0> mc._width = 850;
<0> } else {
<0> mc._xscale = 100;
<0> }
<5> (p
<5> (;
<8> hey
<8> if i try to load vars with loadvars out of a txt and my content text has also "&" signs included, how can i tell flash to juts load itinstead of declaring the next var!?
<9> anyone know of a good doc where i can read about mx.transitions?
<10> SHiZNiT: you around
<11> !seen _buzz
<12> eight, _buzz (~buzz@82-38-206-254.cable.ubr05.shef.blueyonder.co.uk) was last seen quitting #flash 3 days 21 hours 6 minutes ago (17.01. 16:00) stating "" after spending 30 minutes there.
<10> does anyone know of a way for flash to create/edit a local txt file with flash?
<10> without the use of SS scripting
<11> ss?
<10> server side
<4> server side
<11> oh
<4> _wicked_, as far as i know, it's not possible
<10> damn


Name:

Comments:

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






Return to #flash
or
Go to some related logs:

#computers
BRASSKNUCKLETHERAPY
#slackware
#beginner
#gentoo
definition consertive
#hardware
#politics
#heroin
#freebsd



Home  |  disclaimer  |  contact  |  submit quotes