Indigo Rose Software
  #1  
Old 09-30-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
EXAMPLE: Image Thumb Viewer - Fade In Images

Hello,

This example demonstrates how to 'fade' images in and out using AutoPlay Media Studio 6.0 and the Image Object. Click on the images to the left, and watch the image on the right fade to the image you selected.

Skills Used: Image Opacity, For Loops, Global Functions, Application.Redraw, Thumbnails, Image Object, Image Size, Image Position, Tables, If Statements.
Attached Files
File Type: apz Image Fade In When Clicked 6.0.0.0.apz (115.3 KB, 1764 views)
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP

Last edited by Desmond; 09-30-2005 at 11:04 AM.
Reply With Quote
  #2  
Old 09-30-2005
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
A nice example.

Desmond / Adam,

How can the "Resize/runtime" example be applied to this? Obviously this line prevents it:

tLargeBounds = {W=500,H=405,Y=10,X=125}

I'm sure I can figure it out eventually, but my brain hurts right now
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
  #3  
Old 09-30-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
The values in tLargeBounds are as follows:
W: The maximum width of the large image
H: The maximum height of the large image
Y: The minimum (top-most) vertical position
X: The minimum (left-lost) horizontal position.

So, to make this applicaiton resize, you'd have to start by setting the W and H values to allow the fade image object to be larger than 500x405.

If you get a good resize going with this project, feel free to post back to this thread!
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
Reply With Quote
  #4  
Old 03-28-2006
XaRaF XaRaF is offline
Forum Member
 
Join Date: Mar 2006
Posts: 1
Hello

I have a "little" problem. This example is grate but only for galleries whit only one type of photos: vertical or horizontal.
I would like to create mixed gallery but i have problem with script. I've made two copies of script making some changes:
- for horizontal: tLargeBoundsA, OpenLargeA, Large_Image1;
- for vertical: tLargeBoundsB, OpenLargeB, Large_Image2;
- On Click: OpenLargeA(this) or OpenLargeB(this);
I create in project two photos [horizontal and vertical] with Opacity 0, they lay on the same place.
Now the "little" problem:
When i click on thumbnail of the horizontal photo and then vertical, the first is showing properly but not fading out, then the second is showing in front of or behind the first one. I suppose the problem is that i copy second version script after the first. It's only "suppose" because i cann't programme.

In Attachment is fast version of my "little" problem and version of script.

At the end i sorry for my english, but i hope that you will understand what i try to say.
Attached Files
File Type: apz Problem.apz (845.4 KB, 259 views)
Reply With Quote
  #5  
Old 11-04-2006
FoxLeader's Avatar
FoxLeader FoxLeader is offline
Forum Member
 
Join Date: Nov 2006
Location: Quebec, Canada.
Posts: 432
Hi,

I found your exemple very interesting, but I'm starting with AMS and it's language, so I need some help to do my modifications.

Well, here is my goal: instead of changing the pictures during the build, I want, like in the slideshow exemple, (http://www.indigorose.com/forums/sho...ight=slideshow) to browse for the pictures to show, and then have a scrollbar when more than the space available is needed 9in your exemple, 5 pics).

Can someone help me, (the better for me would be commented code, cause I like to study it and it's better if commented )

Thanks a lot for your exemple and for everyone who would help me!
FoxLeader
Reply With Quote
  #6  
Old 11-10-2006
holtgrewe holtgrewe is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: Just South of Reality
Posts: 732
slide show basics...

My slideshows are very rudimentary; nothing so sophisticated as Desmond's fantastic example.

What I've done for resizing slideshows is to use two images (one portrait and one landscape) both non-visible. I test the difference in size of the .jpg to be loaded then load to image1 or image2 appropriately; and then make either the portrait or landscape image visible. Fade out or slide out for effects.

Then I use 'Adam's cool resizing technique'; and the resizing works fine.

Wide screen monitors really skew the full screen effect on the resizing; but it's easy enough drag the corners to adjust as necessary; or if you're energentic - I'm certainly not - place constraints on the maximum screen size when wide screens are used.

Last edited by holtgrewe; 11-10-2006 at 12:34 PM. Reason: typo
Reply With Quote
  #7  
Old 12-26-2006
Zylo's Avatar
Zylo Zylo is offline
Forum Member
 
Join Date: Dec 2006
Posts: 14
Displaying a variable

Can someone start me off as to how you display a variable within the project on the screen? I have tried labels and hotspots...but not sure how you circumvent the "text" display with a variable.

E.g. I get the Audio file name
result = Audio.GetFilename(CHANNEL_BACKGROUND);

How do I get the contents of "result" to display at a given point on the screen. I am sure it is basic, but the use of where the code goes confuses me...I realize it goes under Script...but the display text box and the object name also seem to come into play.

Zylo
Reply With Quote
  #8  
Old 12-27-2006
holtgrewe holtgrewe is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: Just South of Reality
Posts: 732
Zylo
Posting requests for help under the EXAMPLE forum is probably not the best place to get a response from the many talented developers using this forum.

This probably should be re-posted under the DISCUSSION forum for best response results.

Best regards.
Reply With Quote
  #9  
Old 12-28-2006
Zylo's Avatar
Zylo Zylo is offline
Forum Member
 
Join Date: Dec 2006
Posts: 14
Quote:
Originally Posted by holtgrewe View Post
Zylo
Posting requests for help under the EXAMPLE forum is probably not the best place to get a response from the many talented developers using this forum.

This probably should be re-posted under the DISCUSSION forum for best response results.

Best regards.
Ok thanks. I'll repost it.
Reply With Quote
  #10  
Old 06-22-2007
paradox paradox is offline
Forum Member
 
Join Date: Jun 2007
Posts: 1
Is it possible to have this fade effect on a gallery with a next a prev buttons.?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE!! Public Domain Images (Mostly!) AGRO General Chat 7 10-22-2007 05:37 PM
Example: Creating Animated Images Corey AutoPlay Media Studio 5.0 Examples 1 03-04-2006 01:44 AM
AutoPlay 5.0 plugin, thumnail image viewer Firenegn AutoPlay Media Studio 5.0 0 11-15-2004 10:58 AM
Switching pictures with forward/back buttons ilandv AutoPlay Media Studio 4.0 10 08-08-2004 05:51 PM
Function: Resize & Center an Image kpsmith AutoPlay Media Studio 5.0 Examples 0 05-17-2004 02:36 PM


All times are GMT -6. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software