Making 2 objects appear by clicking a button
i want to click on a radiobutton and make a table appear with
content and another table dissapear at the same time. is there a
way of doing this?
alternatively i was thinkin i could just make form appear
that i want and then have a layer with a white background appear at
the same time on a different part of the screen, so it effectively
covers up the part i want to dissapear. is there a way of doing
that? here is the code on the button justnow
<input
class=FormBlackText
onClick="document.all('ThirdApp').style.display = 'block';"
tabindex=7 type=radio value="Joint Application"
name=Application>
the third app appears and i want the secondapp to dissapear
at the same time.
cheers
Best way is to have a separate state that's a copy of the first, just with a video player. An alternative is to do something like set the opacity on a button click to take a video player from invisible to visible.
In terms of playing different videos, just have each button set the source property on the video player. On Click > Play Action Sequence > Set Property > Source.
-Bear
Similar Messages
-
Making objects appear after a click on another object
Hi everyone,
I have a text box with some text on a slide. I would like my text box to appear after I click on an object that I created (an arrow for example). How do I do that?
Builds offers for my object to appear - after click, after first object appears or at the same time the previous object appears.
Am I missing something?
Thanx in advance!
Vladimir, CroatiaHi Vladimir,
Welcome to Apple forums.
If you specifically want the (arrow) object to be the only place to click for this text then create a new slide (perhaps a duplicate). Select Arrow object, then open the Hyperlinks Inspector palette. Tick enable hyperlink and choose link to slide. In the bottom option enter the slide number of the new slide. This keeps the link pretty secure even if you add slides in between the original and the other.
If you don't mind clicking anywhere, then just select any of the build-in options with the text selected.
Message was edited by: wideEyedPupil
Message was edited by: wideEyedPupil -
Start won't appear after clicking start button or win key on keyboard
It's happened after update to 9926. First start menu works properly but after reboot it broken-down. Right click works fine. Before reboot i disabled "Windows search" service but i don't think it related.
Start won't appear after clicking the start button or win key on keyboard on the second user account. It works fine on the administrator account. UAC changes have no effect. Re-booting has no effect. Build is 9926
-
Making a video appear by clicking a button on that same state.
I have a state that I want to open which has an image background and buttons to the side. When a user clicks on one of the buttons I want the video to appear over the graphic. Is there a way to do this?
I also need to have different movies play in that same player based on which button the user clicks on in that state. Is that possible too?Best way is to have a separate state that's a copy of the first, just with a video player. An alternative is to do something like set the opacity on a button click to take a video player from invisible to visible.
In terms of playing different videos, just have each button set the source property on the video player. On Click > Play Action Sequence > Set Property > Source.
-Bear -
Object appearing upon clicking on link in copy?
Hi there,
I wonder if it's possible to create the following effect with Muse:
There is a longcopy with several links. By clicking on one of these links an object is appearing and then disappears upon another click in that same object. Just like it is here on the site: http://claudiapitschke.de/html/claudiapitschke.html (might take time to load). It is not the menue I am talking about, it is the text with the links in it.
What do you think, can this be done in Muse?
Best,
bartlHi Sanjit,
Thank you for your reply, though I'd say what you describe this is not quite the same. The tooltips are close but much more a pop up than something that appears from down below and then vanishes again in the bottom. The scrolling effect with the anchors is really sth different I'd say - the longcopy does not stay where it is and goes up ... Of course both would be options to consider (though plan B), yet it's not the same.
But thank you anyway!
Best,
bartl -
How to hide a TextField when clicking another button
Hello!
I've been able to generate a TextField to appear when clicking a button, but when I click on another button, to display some more information, I still have the first TextField displayed. I've had a look around, but not been able to find anything to help me with getting the first to disappear. Can anyone provide any ideas for this?
The code I'm using for displaying the TextField is:
button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
var fl_TF:TextField;
var fl_TextToDisplay:String = "Send disply to the right screen/projector";
function fl_ClickToPosition(event:MouseEvent):void
fl_TF = new TextField();
fl_TF.autoSize = TextFieldAutoSize.LEFT;
fl_TF.background = true;
fl_TF.border = true;
fl_TF.x = 300;
fl_TF.y = 100;
fl_TF.text = fl_TextToDisplay;
addChild(fl_TF);
Many thanks in advanceall your buttons should call the same function.
because each button probably triggers different text to be displayed, you can use an object or dictionary to associate the buttons and their text:
// execute these two lines and your function once at the start of your app
var dictionary:Dictionary=new Dictionary(true);
var fl_TF:TextField;
function fl_ClickToPosition(event:MouseEvent):void
if(fl_TF&&fl_TF.parent){ /
fl_TF.parent.removeChild(fl_TF);
fl_TF=null
fl_TF = new TextField();
fl_TF.autoSize = TextFieldAutoSize.LEFT;
fl_TF.background = true;
fl_TF.border = true;
fl_TF.x = 300;
fl_TF.y = 100;
fl_TF.text = dictionary[e.currentTarget];
addChild(fl_TF);
////////// and for each button use something like:
button10.addEventListener(MouseEvent.CLICK, fl_ClickToPosition);
dictionary[button10] = "Send disply to the right screen/projector"; -
How can I make a button that on press the object appears and on second press the object to disappear
Hello,
I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
on (press)
_root.top1.gotoAndStop(2);
_root.topp.gotoAndStop(2);
_root.mm1.gotoAndStop(2);
_root.m1.gotoAndStop(2);
but from here I'm stuck.
Thank you for your helpWhat you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property. You should not put code "on" objects, keep it in the timeline.
If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
object._visible = false; // start with the object being invisible
yourButtonName.onRelease = function(){
object._visible = !object._visible;
That one line in the function sets the object's _visible property to be the opposite of what it currently is. -
When I hover over or click a button on the tool bar it becomes messed up. Blocks, or more like pixels, appear over the buttons. They are white and they move around. Little black lines appear around the buttons too. I tried uninstalling and re-downloading Firefox, a full reset, etc. Nothing has worked so far. To see pictures of the problem use this URL (it brings you to Imgur): http://imgur.com/a/LXHQg
hello, try updating your graphics driver - this should be the right link for your system: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=22375
-
After recent software upgrade. When I double click home button and pages miniaturist,I now get circular icons of contacts above Messages page. I never used to get this and would like to remove them. Any ideas please ? Thank you in advance
Go to settings> mail, contacts, calendare> show in app switcher> off.
-
Trying to makea report run when clicking a button on a form
I am trying to run a report by clicking a button on a form (Forms 9i)
I have modified the registry settings for FORMS90_PATH and REPORTS_PATH to include my development directory, and now at last the report is generating. However the command to display the form in a window is not doing anything at all - no error even. Can someone please help, the trigger code for my button is displayed below:
DECLARE
rep_result VARCHAR2(30);
BEGIN
SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_FILENAME, :GLOBAL.project_path || 'Inventory.rdf');
SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_DESNAME, :GLOBAL.project_path || 'Inventory.htm');
rep_result := RUN_REPORT_OBJECT('INVENTORY_REPORT');
--MESSAGE('Rep result: ' || rep_result);
WEB.SHOW_DOCUMENT('file:///' || :GLOBAL.project_path || 'Inventory.htm', '_blank');
--WEB.SHOW_DOCUMENT('file:///C:\Temp\Dev\Inventory.htm', '_blank');
END;
thx
adamHi,
may be this could be helpful for you:
You have to include the following code to execute a report:
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status Varchar2(20);
BEGIN
repid := find_report_object(report_name);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,report_server_name);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := report_object_status(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
rep_status := report_object_status(v_rep);
END LOOP;
if rep_status = 'FINISHED' then
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
else
error report not exists
end if;
END;
Also you have to create the report server with the command:
"rwserver - install service_name autostart=yes
report server name must be the same that appears in the code above
You must add the report to run in the REPORT object type in your .fmb and put there with the same name
The report server to install ought to be the one and only in you network to avoid mistakes... -
ALV problems, trying to click Back button, Filtering, download (Excel)
Hi
When I try to click Back button, Filtering or download (Excel) on ALV grid this dumps appear:
Runtime Error MOVE_TO_LIT_NOTALLOWED_NODATA
Error analysis
The program tried to assign a new value to the field "<L_BOX>" even though
it is protected against changes.
The following objects are protected:
- Character or numeric literals
- Constants (CONSTANTS)
- Parameters of the category IMPORTING REFERENCE for functions
and methods
- Untyped field symbols to which a field has not yet been assigned
using ASSIGN
- TABLES parameters if the corresponding actual parameter is protected
against changes
- USING reference parameters and CHANGING parameters for FORMs if
the actual parameter for this is protected against changes
- Field symbols if the field assigned using ASSIGN or ASSIGNING
is protected against changes
- External write accesses to READ-ONLY attributes
- Key components of lines in internal tables of the type HASHED or
SORTED TABLE
SORTED TABLE.
Line SourceCde
681 * set/unset <box> of all items
682 if l_ucomm eq '&SAL' or l_ucomm eq '&ALL'.
683 if l_ucomm eq '&SAL'.
684 loop at t_outtab.
685 l_tabix = l_tabix + 1.
->>> <l_box> = ' '.
687 modify t_outtab index l_tabix.
688 endloop.
689 endif.
690 if l_ucomm eq '&ALL'.
691 loop at t_outtab.
692 l_tabix = l_tabix + 1.
693 <l_box> = 'X'.
694 modify t_outtab index l_tabix.
695 endloop.
696 endif.
What I must check on my ALV settings:
ch_alv_layout-zebra = 'X'.
ch_alv_layout-box_fieldname = 'SELE'.
ch_alv_layout-box_tabname = v_nametab.
ch_alv_layout-reprep = 'X'.
ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
ch_alv_layout-colwidth_optimize = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = ch_alv_layout
it_fieldcat = ch_alv_fieldcat
it_sort = ch_alv_sortinfo
i_save = 'X'
it_events = ch_slis_event
TABLES
t_outtab = p_control
EXCEPTIONS
program_error = 1
OTHERS = 2.
Thanks in advance.ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
ch_alv_layout-colwidth_optimize = 'X'.
try commenting the above values.and also check the Fieldcatlog.
Check the issue similar issue was resolve by checking catalog and layout:
[ALV Issue solution|Re: Problem when export ALV.]
Regards,
Gurpreet -
Making a grid, and click and drop items!!!!
Hey,
I am making a game that allows the user to go into build mode and build a stage. How do i create a build mode that uses a grid on the screen to place items? 2nd question
I also need some help on when the user clicks a button and then clicks on the grid where he/she wants to place the item. how do i do that. say it is a triangle or something. thanks please help!!!!
mdawgI guess you can do it by using Listeners (MouseListeners). Also you may use a field or object to keep track of the shape the user wants to place on the stage.
Hope it helps,
Calin -
Apply multiple effects to multiple objects with single click box
I would like to click on a click box and have one object appear and another object disappear. I guess what I'd like to do is apply effects to multiple objects with a single click box. Is that possible?
Thank you.Welcome to our community
Sure it can be done but you won't use effects to do it.
When you insert an object in Captivate, you have an option to enable or disable Visibility. You also have an option to name the object. So you would give the object a meaningful name and clear the Visibility option to "hide" it until needed.
Then you would create an Advanced Action that would hide some objects and show others.
After that, you would assign the Advanced Action to a Click Box or a Button or some other event.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Captivate 4: Delay in objects appearing
I have some image objects I've imported to my library and placed on slides, with options set to appear after 0.0 seconds, with no transition. However, when I run the project (as a preview or a published SWF) there is a delay of about 1 or 2 tenths of a second before the objects appear on the slide. The objects are PNG and GIF images. I tried BMP and JPG images, just to see if that made a difference, but it didn't.
This problem didn't happen in Captivate 3. Is there a setting I've missed, or something else I'm doing wrong?
-StuartHello Stuart,
This seems to resolve your issue in the example: the success action on the buttons in slide 1 and slide 2 are set to 'Continue', if you change it to 'Go to next slide' the blink seems to disappear. This is consistent with the actions on success for the other slides on the click boxes, where the issue is not there. Do not ask me to explain why, but seems to work.
Hope this is also the case for you?
Lilybiri -
Cp8 Is it possible to initiate a different timeline to start playing once you click a button?
A bit challenging to explain, but I'll give it a shot:
If we take a rollover slidelet for example - It has its own "timeline" so you can basically display additional objects on screen separately from the main timeline.
Is it possible to have the same effect when you click a button?
So basically i want certain object to appear one after the other after I click a button.
Thanks!Thanks for the explanation, but that's not what I meant exactly
I'm not using any rollovers in the slide. Only buttons. The users can click on any button if they wish to. Once a button is clicked, I want certain objects to appear.
I'm using advanced actions in order to display a group and hide the others. So when a user clicks on say button 1, group one appears on screen and the rest of the groups disappear (by the advanced action).
The group that does appear, contain 5 elements that appear at once. I want them to appear one after the other in sync with an audio narration. I'm well aware about using the timeline to achieve this, however, the issue is that I don't have an individual timeline for the "group" (similar to the Gr_Vars) that you show in your pic. Even if I un-group it into objects then it consists of too many items to hide / show with advanced actions.
Maybe you are looking for
-
Hi, I have a small home network that has a Windows server functioning as a Primary Domain Controller. I have a WRT160 connected and a couple PCs in the house connected via cat-5. Those PCs can log into the domain fine. If I bring in my laptop it c
-
Just installed a new airpot extreme with a modem to use as a wireless system. Setup was successful however with 3 iPads and one laptop we cannot get all devices access to Internet. Each reset of airport extreme results in a different combination of d
-
Back camera does not focus on Iphone 5s, running ios 8.1?
My back camera does not focus on my iphone 5s, it worked fine yesterday, today it does not work. The camera lens is clean. The front camera works fine. The camera will not focus in the Instagram app either. I tried restarting the phone and resetting
-
Hi I'm getting this error when clicking itunes MSVCR80 re install app ive re installed itunes from apple and also deleted SC file from hidden folders i need help anyone know what to do next cheers
-
Translate Forms words in French
Hi to all, I'm French. Consequently, I would like to translate some words, related to Forms. For example, I would like to know how to translate terms like : - Forms Runtime Process - Forms Listener Servlet Thanks a lot