[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Animation help

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 9:21 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Animation help
PostPosted: February 5th, 2014, 10:35 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
This is my Rocker Recycle Bin.

I try to make a similar widget like the "Spider Web RB"
http://jimking.deviantart.com/art/Spide ... -417939543
but I can't combine the animation with the script... :(

Here is what I want to do with the animations:
1) On widget's load the "empty" rocket = visible, the fired rocket-rb icon = NOT visible
2) RB status full = "empty" rocket NOT visible, fired rocker= visible
3) With double click on the fired rocket - ask for clear RB
4) During the deleting - scrolltop animation of the fired rocket (like the spider)
5) Re-appearing of the "empty" rocket = empty RB

(I will add some more graphics on the design...)

Someone can help me??


Attachments:
rocket_recycle_bin(1).xwp [308.55 KiB]
Downloaded 197 times

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/
Top
 Profile  
 
 Post subject: Re: Animation help
PostPosted: February 6th, 2014, 8:52 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
1. what is the empty image (Clean.png) for?
2. is it going to do up animation when changing from empty to full and vice versa?
3. is it going to do animation one time while deleting or multiple times?

=============

i have changed some parts of it; but i didn't fully tested it;
i'll test it later;
maybe this could be what you want:
rocket_recycle_bin_[test1]_[2014.02.07].xwp [308.57 KiB]
Downloaded 192 times


Top
 Profile  
 
 Post subject: Re: Animation help
PostPosted: February 7th, 2014, 3:21 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
You're very close hamid! :)
If we can't get rid of the onwidgetloading animation it's ok. I was thinking the "up animation" only when clear the rb. So the status from empty to full will be without animation (like a normal rb widget)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: Animation help
PostPosted: February 7th, 2014, 8:04 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
you didn't answer my questions;
specially this one:
1. what is the empty image (Clean.png) for?
i didn't find any usability in that, so i deleted it to reduce package size

here's what you want:
===============
fixed: Script code
removed: [empty] image from project, because i think it's useless
removed: [Clean.png] from widget folder to reduce size of package
added: MiddleClick for open RecycleBin
===============
rocket_recycle_bin_[test2]_[2014.02.07].xwp [206.87 KiB]
Downloaded 191 times

===============
i think it would be better to do these for better View of widget:
1. to crop the [full.png] to height of 650
2. to crop the [empty.png] to height of 550
3. and if you crop them, make imege1 [AutoSize] checkbox enabled


Top
 Profile  
 
 Post subject: Re: Animation help
PostPosted: February 7th, 2014, 10:11 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
The "empty" image was a part of some tests that I did.
I wanted to used like a background image, so the returning of the "unfired" rocket image, after the up-movement/cleaning, will be immediate, without the returning of the "unfired" rocket from the bottom...
Maybe playing with show/hide the empty image..
But since the RB icon has the "switch animation" is inevitable, right? :?

Is a bit complicated, so really if we can't do this its ok! You already helped me enough with this! :)

About the cropping, I used the default images. The empty and full images should have the same dimensions/position. If not there will be a movement of the image on desktop after changing the status, and will look ugly..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: Animation help
PostPosted: February 7th, 2014, 5:12 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Posted:
viewtopic.php?f=11&t=4080

Thanks again hamid! ;)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group