|
#1
|
||||
|
||||
|
I have five image...when I click one it will make visible a label
and when I click another one of five images it will close previous label and make visible new label ...but How ??? for example:for 1. image code= PHP Code:
PHP Code:
like this code or another codes for my work..... I suppose you understand me ![]() pls help me |
|
#2
|
||||
|
||||
|
Hi,
There is no built-in GROUP function for labels, yet. So, you have to name each label properly. Then specify what will happen to every label when you click something. Hard work but necessary.
__________________
Newbie Examples ------> AMS 7.5 : amstudio.azman.info ----> AMS 6 & 5: www.azman.info/ams/ ----> Twitter: www.twitter.com/azmanar/ |
|
#3
|
|||
|
|||
|
Check the 'help' for Page.EnumerateObjects().
This will build a table of all objects on the page. You can then loop through the table and set the Object properties accordingly for the objects which are labels. |
|
#4
|
||||
|
||||
|
thanks for reply...
I can use images instead of labels ... so which codes I can use ??? actually what is the group names ...I couldnt see them... for example : PHP Code:
|
|
#5
|
||||
|
||||
|
thanks holtgrewe....
I tried but there is no any change.still labels are visible.. Are there any mistake in my codes -> PHP Code:
|
|
#6
|
||||
|
||||
|
If I understand you right... Try this.
__________________
Unconventional photos and video to conventional media outlets. www.newsmediasource.com |
|
#7
|
|||
|
|||
|
You can't put quotes around a variable becaus eit is just treated as a string then.
Code:
object_names = Page.EnumerateObjects();
for index, object in object_names do
-- Get the type of the object
type = Page.GetObjectType(object);
if (type == OBJECT_LABEL) then
Label.SetVisible(object, false);
end
end
Label.SetVisible("Label1", true);
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#8
|
||||
|
||||
|
thanks for replies...
so like Bruce's file I will write Label.SetVisible("Label", false); for all labels ![]() hardwork but I will make like this thanks... |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FREE!! Public Domain Images (Mostly!) | AGRO | General Chat | 7 | 10-22-2007 05:37 PM |
| HELP! still 16 pages, 167 kbs in images = 30 meg project? | publishers | Autorun MAX! 2.0 Discussion | 5 | 09-08-2006 08:10 PM |
| Example: Creating Animated Images | Corey | AutoPlay Media Studio 5.0 Examples | 1 | 03-04-2006 01:44 AM |
| Button Maker: Extract Images? | jeffschuler | AutoPlay Media Studio 6.0 | 2 | 10-20-2005 05:09 PM |
| How to align images ? | RAZS | AutoPlay Menu Studio 3.0 | 2 | 12-14-2001 09:36 AM |
All times are GMT -6. The time now is 10:23 PM.









Linear Mode

