How to Create a Back button in Flash
Hi all,
I need to create a back button for my flash app. It doesn't
need to be connected with Browser. It just need be able to remember
what frame they were viewing, and bring them back.
Is there any event I can use for this? I made an variable
called "visited:Number" and change it on every frame, but this
won't work. Once the user enters a new frame, the original visited
number is replaced by current already. I don't know how to hold
that number, before they leave the current frame.
Can anybody give me little clue/direction please?
Thank you...
Hi
I believe that you should look at the Forms functionality for UCM . Under Content Management - Web Form Editor will show up the editor where in you can add buttons and attach functionalities to it . With UCM 11g this is not available thus you might need to use AJAX to build the requirement .
Thanks
Srinath
Similar Messages
-
JDeveloper - How to create a "back button" using JSF
As simple as it sounds, I'm having trouble creating a basic back button on my JSF page. I'm using a af:goButton with the Onclick attribute stating history.back(). I've also tried history.go(-1) to no avail.... is there a trick to this?
Thanks,
RichardIf you are looking for a more advanced case as describe, you will need to reference the last navigation outcome in a managed bean so that you can execute it when the back button is clicked.
--Ric -
How can we create such navigation buttons using Flash CS4?
Hi,
How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
http://city.reallusion.com/join.html
Thanks.While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.
-
How to use a back button in action pages?
Hi all,
I have created a user login page,home page and user profile page.
If the user provide correct username and password in the login page he will be taken to home page.
In the home page he will be having his username and a link to view his profile.
When the user click on the link "My Profile(user profile)" he wil be taken to that page.
In my profile page the user can edit only his firstname,lastname and password .
On the user profile page i have placed a Back Button(using javascript: on onclick event i have used history.back()) to go back to home page after editing his profile.
If the user edit his profile for n-number of times then atlast if he wants to go back to home page-then he wil cilck the back button.
Now the problem occurs like the back button not going to home page and it simply going back with the edited history.
How to use a back button in action pages; without repeating the actions done on the page; how to redirect to the users home page?
I simply used the hyperlink in userprofile page to go to home page but when i click onit it is displaying blank home page.
I'm using hibernate orm mapping; cflogin and cflogout tags.
Any help appreciated,
Chandru Pchandrup wrote:
Hi Dan,
Dan Bracuk wrote:
Use an anchor tag.
I simply used the hyperlink(<a href="home.cfm">Home</a>) in userprofile page to go to home page but when i click onit it is displaying blank home page.
I can see your problem. You may use javascript:history.go(-1), javascript:history.go(-2), ..., to go back one page, two pages, and so on. But how does one go back an arbitrary n pages? The link href="home.cfm" isn't a good solution for the browser. It makes a new call to the server which, as you may have discovered, can overwrite all the changes made at the browser.
You should use the Javascript variable history.length. If you open n links in succession, starting from page0.cfm, then the browser holds the value of history.length as n. So, experiment with something like
<a href="javascript:history.go(-history.length)">Go home</a>
or
<a href="javascript:history.go(-history.length+1)">Go home</a> -
Hi -
I'm pretty new to Adobe Captivate but I need to create a quiz pretty quickly which I want to import to Flash.
When clicking on a button in Flash I want the quiz to open up which works fine but as soon as I close the quiz
I would like to go back to my main page. Can I create a button in Captivate which goes back to my main page?
Thanks alot for your help.
FranniHi Franni
Sorry, but it isn't exactly clear what you hope to accomplish. You mention creating a Back button, but then mention importing the content to Flash. One might assume that you want the Back button to jump to some location inside Flash.
Perhaps your question makes sense to someone experienced with Flash, but I'm going to guess it may not. Hopefully one of our "Flash savvy" folks will see this and offer comments.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
How To Create On Submit Button For Master_detail Page ?
I have adf page that is master And detail view.
i want to have one submit button for master and detail blockDuplicate of How To Create On Submit Button For Master_detail Page ?
Please don'r post your question multiple times.
Timo -
How to create a radio button on OA Page using Personalization
I am trying to create a radio button on OA Page using Personalization. The item style , I can see is Message Radio Group.
How to create Message Radio Button and bring them under one group.
ThanksYou should use jdev to define a radiogroup and radio buttons under that, wrap that definition inside a stackLayout in jdev, use personalization to add a stackLayout and extend the region which you had created earlier in jdev.
-
How to create a custom Button in a SNP planning book
Hi Experts,
I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
My question are:
1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
2. Please give me any document, material teaching about writing macro and relating to my above scenario.
Thanks very much!
Duyennx
Edited by: xuanduyen on Sep 6, 2011 9:20 AMHi,
Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
Regards,
Manimaran M. -
How do I get a button in Flash point to a https page of PagSeguro.
How do I get a button in Flash point to a https page of PagSeguro. Programming they provide is this:
<!-- INICIO FORMULARIO BOTAO PAGSEGURO -->
<form target="pagseguro" action="https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add" method="post">
<!-- NÃO EDITE OS COMANDOS DAS LINHAS ABAIXO -->
<input type="hidden" name="itemCode" value="AC0DD53E5757C9F774629F9937513499" />
<input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/pagamentos/120x53-comprar.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" />
</form>
<!-- FINAL FORMULARIO BOTAO PAGSEGURO -->
If I past this programation in start HTML, I see border white in my page.
I wrote a book and this schedule is to send to a secure site for sale
I development my site in Flash 4 and now CC6. Export in Html
www.escalasdecores.com.brExcuse me for my ignorance.
I put the schedule as show below and generates an error when I export
Scene 1, Layer 'Actions', Frame 350, Line 119, column 11 in 1061: Calling a possibly undefined method send through a reference with static type flash.net: URLLoader.
Which is in line urlLoader.send (urlRequest);
I used Snippets
This programation:
/* Evento de clique de mouse
Clicar na instância do símbolo especificada executa uma função na qual você pode acrescentar seu próprio código personalizado.
Instruções:
1. Acrescente seu código personalizado em uma nova linha depois da linha que diz "//Iniciar seu código personalizado" abaixo.
O código será executado quando se clica na instância do símbolo.
button_7.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
// Iniciar seu código personalizado
var urlLoader:URLLoader=new URLLoader();
var urlRequest:URLRequest=new URLRequest("https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add");
var urlVariables:URLVariables=new URLVariables();
urlVariables.itemCode="AC0DD53E5757C9F774629F9937513499";
urlRequest.data=urlVariables;
urlRequest.method=URLRequestMethod.POST
urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
urlLoader.send(urlRequest);
// Este exemplo exibe as palavras "Mouse clicado" no painel Saída.
trace("Mouse clicado")
// Encerrar seu código personalizado -
How to create a radio button in ALV Reports
Hi all,
Best wishes to all..
Kindly reply me to this question... that is "How to create a radio button in ALV Report"
Thanks and Regards
AnjaliHI
here is an example :
PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
Based on: BCALV_GRID_DEMO.
TYPE-POOLS: icon.
TYPES: BEGIN OF ty_s_sflight.
INCLUDE TYPE sflight.
TYPES: button1 TYPE lvc_emphsz.
TYPES: button2 TYPE lvc_emphsz.
TYPES: button3 TYPE lvc_emphsz.
TYPES: button4 TYPE lvc_emphsz.
TYPES: END OF ty_s_sflight.
DATA:
gt_sflight TYPE STANDARD TABLE OF ty_s_sflight,
gt_fcat TYPE lvc_t_fcat.
DATA: ok_code LIKE sy-ucomm,
gt_sflight TYPE TABLE OF sflight,
g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
grid1 TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container.
CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-DATA:
md_cnt TYPE i.
CLASS-METHODS:
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_hotspot_click.
define local data
FIELD-SYMBOLS:
<ls_entry> TYPE ty_s_sflight,
<ld_fld> TYPE ANY.
READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
CHECK ( <ls_entry> IS ASSIGNED ).
Set all radio buttons "unselected"
<ls_entry>-button1 = icon_wd_radio_button_empty.
<ls_entry>-button2 = icon_wd_radio_button_empty.
<ls_entry>-button3 = icon_wd_radio_button_empty.
<ls_entry>-button4 = icon_wd_radio_button_empty.
ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
TO <ld_fld>.
IF ( <ld_fld> IS ASSIGNED ).
Set selected radio button "selected".
<ld_fld> = icon_wd_radio_button.
ENDIF.
Force PAI followed by refresh of table display in PBO
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'DUMMY'
IMPORTING
RC =
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
MAIN *
PERFORM select_data.
CALL SCREEN 100.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
SET PF-STATUS 'MAIN100'.
IF g_custom_container IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
CREATE OBJECT grid1
EXPORTING i_parent = g_custom_container.
PERFORM build_fieldcatalog.
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
it_fieldcatalog = gt_fcat
it_outtab = gt_sflight.
Set event handler for event TOOLBAR
SET HANDLER:
lcl_eventhandler=>handle_hotspot_click FOR grid1.
else.
CALL METHOD grid1->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
FINISHED = 1
others = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDMODULE. "PBO OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
to react on oi_custom_events:
CALL METHOD cl_gui_cfw=>dispatch.
CASE ok_code.
WHEN 'EXIT'.
PERFORM exit_program.
WHEN OTHERS.
do nothing
ENDCASE.
CLEAR ok_code.
ENDMODULE. "PAI INPUT
FORM EXIT_PROGRAM *
FORM exit_program.
CALL METHOD G_CUSTOM_CONTAINER->FREE.
CALL METHOD CL_GUI_CFW=>FLUSH.
LEAVE PROGRAM.
ENDFORM. "EXIT_PROGRAM
*& Form BUILD_FIELDCATALOG
text
--> p1 text
<-- p2 text
FORM build_fieldcatalog .
define local data
DATA:
ls_fcat TYPE lvc_s_fcat,
ls_hype TYPE lvc_s_hype.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
i_structure_name = 'LVC_S_FCAT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
i_structure_name = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE gt_fcat INTO ls_fcat
WITH KEY fieldname = 'EMPHASIZE'.
IF ( syst-subrc = 0 ).
DELETE gt_fcat INDEX syst-tabix.
ENDIF.
ls_fcat-fieldname = 'BUTTON4'.
ls_fcat-icon = 'X'.
ls_fcat-hotspot = 'X'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON3'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON2'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
ls_fcat-fieldname = 'BUTTON1'.
INSERT ls_fcat INTO gt_fcat INDEX 4.
LOOP AT gt_fcat INTO ls_fcat.
ls_fcat-col_pos = syst-tabix.
MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG
*& Form SELECT_DATA
text
--> p1 text
<-- p2 text
FORM select_data .
define local data
DATA:
ls_sflight TYPE ty_s_sflight.
SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
ls_sflight-button1 = icon_wd_radio_button.
ls_sflight-button2 = icon_wd_radio_button_empty.
ls_sflight-button3 = icon_wd_radio_button_empty.
ls_sflight-button4 = icon_wd_radio_button_empty.
MODIFY gt_sflight FROM ls_sflight
TRANSPORTING button1 button2 button3 button4
WHERE ( carrid IS NOT INITIAL ).
ENDFORM. " SELECT_DATA
Regards,
Prasanth
Reward all helpful answers -
How to Create a Persistent button on the top HTML gallery
Hi,
In my InDesign Folio I have an article with full page HTML photo gallery. The photo grid occupies the full screen. I want to create a Persistent button on the top of this gallery which user can tap to go to the Main Menu page. This button is always visible at one place even as user scrolls up and down the gallery. I tried creating it on the top layer, and on the top layer for Master page, but the button disapperas when the HTML gallery loads.
So the user does not see any button to navigate out of the gallery to another article.
Any ideas how to create the persistent button ?
Thanks in advance.
-MPDepending on if you are using the HTML as either an article or in an overlay, you may be able to either use the standard navto and goto hyperlinks syntax or place a blank button on top of your link in the HTML.
I am not sure if using the standard navto and goto syntax will work between an HTML article and an Indesign article. Maybe Bob Bringhurst, Bob Levine, or one of the staff members can clarify. If you are using your HTML in an overlay, you can add a transparent button on top of your link or image to return to whatever page you like. -
How to create multiple toolbar buttons in jsp ?
hi all,
how to create multiple toolbar buttons in jsp ?
plz help memgmt
plzhttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
How To Ask Questions The Smart Way
Eric Steven Raymond
Rick Moen
Write in clear, grammatical, correctly-spelled language
We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes. -
How to create a back up disc in itunes 11?
i need to know how to create a back up disc in the latest version of i tunes the directions in the article dont apply to my version it says to go to file then library then to back up to disc from the menu but back up to disc doesnt appear in my menu
Hi and welcome to Forum!
You should learn RMAN (Recovery Manager) to do your backup with Oracle suggested way
Then you can restore and recover this backup in any instance
For more information, you can refer to below listed documentations :
[Backup and Recovery Basics|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm]
[Backup and Recovery Quick Start Guide|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14193/toc.htm]
[Backup and Recovery Reference|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/toc.htm]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
Need document on how to create write back template for 11g
Can anybody provide documentation on how to create write back template for OBIEE 11g?
ThanksCan anybody provide documentation on how to create write back template for OBIEE 11g?Yes! Oracle does. How about you start by reading it? I will give a hint, it's on the System's Administration guide.
Maybe you are looking for
-
Sound Blaster Audigy Advanced MB.
Hello guys, what is the Sound Blaster Audigy Advanced mb? because in the notebook DELL is possible to upgrade audio card in the audigy Advanced MB!!! is it possible? How to make? thanks, Rockerfx
-
Hi All, we created Users and Accounts using RIDC. Now need to map user Account mapping programmatically. Let me know any suggestion. Thanks to all.
-
I have this printer and the black ink just ran out. I replaced it and it does not give me an error message/the levels of the black ink show that it is full BUT the black is not printing at all. I've followed all the steps to align/clean the printer
-
Where is the Crystal Reports Viewer
I will try to make this short. Had a very successful .net system with crystal reports XI on a windows 2003 server which was developed on a licensed copy of visual studio 2005. The client that was responsible for paying for the server didn't and the s
-
Hi, I'd like to plot phase difference between two signal(input-output), the method which I'm using currently, is taking "FFT" and (r-teta)....and subtracting the phases, but what I obtain isn't so desirable, Do you know anyother option or suggestion