Help Logs Database

Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Ircnet  |  Dalnet
<Fusion5> is what you are trying to do a calendar ?
<MinUser> yes
<Fusion5> have you considedred macromedia's component for this ?
<MinUser> i use some of them
<MinUser> it's a very complex calendar as you can tell
<Fusion5> you intensively used copy paste there :)
<Fusion5> try to comment the _alpha ***ignment lines, see if the problem is still there
<Fusion5> i'm not sure how this complex code-machinery works, therefore, i can't help you, it's better you start debugging
<Fusion5> have you considered Actionscript 2 (the clases and OOP-way) ?
<MinUser> is this AC 1 way of doing things?
<Fusion5> yes. In actionscript you would create serval cl***es. for instance, you could start by making a calendar clsas
<Fusion5> then a weekday cl***, and then add functionality. Of course you would have to design everything beforehand to know what the outcome would be
<MinUser> that's the problem
<MinUser> i didn't know before hand what all the functionality would be
<Fusion5> i can give you an actionscript 2 pdf if you like
<MinUser> that would be helpful
<MinUser> can you email it ?
<Fusion5> well MinUser : grab a piece of paper and start designing your application ! :)
<MinUser> parts of it are designed
<MinUser> binouch@gmail.com
<Fusion5> http://www.moock.org/eas2/ <- good book
<MinUser> i started reading this book actually
<Fusion5> mail delivery failed
<MinUser> doesn't make sense
<MinUser> binouch@gmail.com
<MinUser> copy and paste it
<Fusion5> could be the new mailserver they installed here :)
<MinUser> hehe could be
<MinUser> gmail doesn't fail me
<MinUser> hehe i will :)
<MinUser> thank you for your help Fusion
<Fusion5> you're welcome.
<jesy69> Someone can say to me in which way I can send a code php in my database when we quit the chat in flash, all this simply for saying has my database if user quit status=0 and when he enters status=1 its to know which is on line on the chat ?
<Fusion5> you can't really do that
<Fusion5> actually there was a javascript code which occoured when the window closed, but i don't remember well
<jesy69> I try with javascript the problem is if someone have anti popup it not work
<Fusion5> what you can do is check to see if there was any activity by that user (if there wasn't, the user has either quit the application or being idle)
<jesy69> yes it a good idee
<jesy69> how i can do this ?
<salamalec> a eventListener?
<salamalec> an
<Fusion5> so there's no real way of telling, except maybe if you had a counter which sent a message to the server every, say, 30 seconds
<Fusion5> and if there is no message for the last 30 seconds, the user must have closed his application
<salamalec> an eventListener that would check if the user type something in the input area. i suppose that would work.
<Fusion5> salamalec, either that, or a timer which occours every 30 seconds
<Fusion5> of course you would store the messages sent to the server into a database, where you would use them to populate your online users list
<salamalec> ya, the timer is probably easier to use, but i believe it uses more CPU ressource, no?
<salamalec> *to use/code.
<Fusion5> salamalec, maybe, but what if the user would be just watching the chat, prefering not to type anything ? he would still be online, right ?
<Evil-Dog> hey Fusion5
<Fusion5> hi ED :D
<Evil-Dog> whats up
<jesy69> and ? what is the best way ?
<Evil-Dog> jesy69 what are you trying to do?
<Fusion5> bah just wondering around what's here on irc :)
<Evil-Dog> Fusion5 hehe ok
<Evil-Dog> Fusion5 do you know who's the new #flash owner?
<Fusion5> jesy69 is trying to detect a way of telling when the users go offline the chat when they close a window
<salamalec> right, but you the same problem occurs with a timer. what do you do after a 30 secs idle? well, i pretty newbie with that kind of thing, i've never code a chat application. but i believed that event listener were a more powerful tool than timers, and less cpu consumming :)
<Fusion5> Evil-Dog, who ?
<Evil-Dog> Fusion5 I'm asking
<Fusion5> i don't know.
<salamalec> maybe send data packet to the user, if no reply, the user is offline.
<Evil-Dog> jesy69 can't you use on(unload) ?
<Evil-Dog> send a last packet in there
<jesy69> ?
<Evil-Dog> is your window a movieclip or the actual browser window?
<Evil-Dog> the chat window
<jesy69> the chat are in a .php page
<Evil-Dog> and what'S the flash?
<jesy69> flash 6
<jesy69> its not a movie
<Evil-Dog> no but where are you using flash?
<jesy69> its a chat with webcam
<Evil-Dog> so...in the maintimeline do _root.onUnload = function() { Do something... } and try to see if it goes there when someone close the window
<Evil-Dog> put a textfield and change its value to test or something...
<jesy69> mmmm
<Evil-Dog> if it does maybe you can send something to the server there
<Evil-Dog> I don'T know
<jesy69> ok i wil test now
<jesy69> wait 2 minut
<jesy69> _root.onUnload = function() { echo hello } ?
<jesy69> for test
<jesy69> I put this _root.onUnload = function() { hello; } on maintimeline nothing happen
<Fusion5> try putting simething meaningful, like go to another frame -- _root.gotoAndStop(1)
<Fusion5> however you won't see the frame changing if you close the window so that won't work either
<jesy69> its print hello or echo hello ?
<Fusion5> there's no print nor echo, try trace("hello"); -- it should print it in the output window
<jesy69> yes it true trace
<jesy69> thank you
<jesy69> not working mmmmmm
<jesy69> ****
<jesy69> it not working _root.onUnload = function() { getURL("http://www.clubreseau.com";, "_blank"); } ? why
<Advocated> hi there, ive seen this movie thing, on here: http://www.rochfordtyres.co.uk/fitmentguide.asp and it runs through, like a step by step movie of what todo, its as if someone is moving the mouse, anyone know what its called, or where i could find information on doing similar please?
<yanishh> how do I make an effect *not* to loop?
<salamalec> not to loop? you create a layer over the effect. create a keyframe with the stop(); action right where you want the effect to stop.
<salamalec> is that what you're looking for?
<yanishh> hmm
<yanishh> now it doesnt do anything..
<yanishh> it doesnt make the effect
<yanishh> I created a new layer and added stop();
<salamalec> well, the stop(); action, as it says, stop the playhead where it reads the STOP instruction. maybe the STOP action that you insert isnt a the right the place.
<yanishh> thanks man :)
<yanishh> you saved my day
<salamalec> my pleasure.
<salamalec> oh, new simpsons at global/fox, bbl.
<jesy69> how we can say close flash app when someone push the button ? on release what
<Ortho> allo?
<jesy69> allo
<Ortho> salut
<Ortho> je veux savoir si kkelkun sais comment get une variable externe dans flash ?
<Ortho> tu peut maider ?
<Ortho> .help
<Ortho> .as variable
<Ortho> .as GET
<Ortho> .as post
<Ortho> .as php
<Ortho> .as global
<Ortho> .as foutu merdier
<Ortho> .as variables form outside of flash mtf how can I get their value!!??!
<dr00pie> The database does not contain any record matching: variables form outside of flash mtf how can I get their value!!??!
<Ortho> damn it
<jesy69> how we can say close flash app when someone push the button ? on release what
<yanishh> how do I put a layer in the back?


Return to flash
or
Go to some related logs:

canada
unixboard

Copyright © 2005 www.irclogs.ws. All rights reserved. » disclaimer » contact