Launch 2 urls from one flash button
Hi,
I have a Flash button, which I want to use getURL to both
- call the Google Analytics tracking function
- send the user to a new page
on (release) {
getURL("javascript:pageTracker._trackPageview('/folder/file.html');");
getURL("some web page");
Currently, only one of these getURL calls works. How can I
get the one Flash function to use getURL twice? Or do I have to do
something different?
Thanks!
you cannot make javascript calls using a getURL as of player
9 rev 124. The new security restrictions prevent it, as it is an
insecure method of communication.
To call the javascript function, use the ExternalInterface
class.
Similar Messages
-
Get URL from which Flash was downloaded into browser
Hello buddies,
Is there any API in ActionScript to identify the URL from
which Flash was downloaded into browser?
Thanksexample (
http://www.flashkit.com/tutorials/Actionscripting/Basic/Easy_to_-Tiran_Da-674/index.php): -
Code to call another Page Flow URL from one page flow URL
Can anyone send me the code to call another pageflow url from one page flow URL.
thanks...
In my appication there is no Form page. Only based on Canvas in that ,
i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
I did every thing with in single Midlet file.While developng goes on i got the problem ,
Like "your application exceeds the memorylimit you cant
use more than 32Kb of byte code in Canvas"...
So the application is not opened.
I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
How to solve this problem,is any other way? please... -
Why would certain users not be able to open a mail to url from a Flash swf on my website?
Why would certain users not be able to open a mail to url from a Flash swf on my website?
1. Because they're using Android or iOS and can't see the Flash container.
2. Because they have Flash Player, but NOT Shockwave, which works for Interactive content like games and links in Flash containers.
3. ActiveX controls are blocking Flash content in IE.
4. Any of about a dozen other things.
As a web desginer since 2003, I can tell you that these days, it's a terrible idea to have Flash content in a website (outside of games that require it). Video should be HTML5. Navigation, content and other links should be HTML, CSS and/or Javascript ONLY, because placing them in a Flash container makes them invisible to literally half of your viewers or more, since SmartPhones can't and don't see Flash, and tablets don't either without special browsers, which may or may not work with embedded links. -
Linking button from one flash file to a different flash file
Hi All,
Wondering if anyone knows how to link buttons in one flash
file to open a specific scene of an entirely different flash file?
If it isn't possible to choose a specific scene, is there a way to
just open a flash file...in the same browser window, but not within
the flash file...if that makes sense?
I'm putting this on a website, so additionally, I will need
to know which file to link it to, the swf, html, or fla.
Thanks!!I would advise against using scenes for your website. You
would need to create a separate html which would load the second
swf file within the same browser window.
This is how you call for it:
on(release){
getURL("
http://www.sitelocation.com/secondswf.html"); -
Problem in Launching Website URL from IC Webclient Screen
Dear all,
I am trying to launch our Business Website URL from IC Webclient screen. I have created URL ID and Transaction Launcher ID and other required assignments.
But when I try from IC Webclient, system showing 'Transaction about to Launch' message on the work area and not moving beyond that.
can any of you help me to find the solution for this problem,
your suggestions will be highly appreciated.
Best regards,
Raghu ramIf you have access to the CRM 5.0 online knowledge products
service.sap.com/okp
there is step by step instruction by the SAP wizard tutorial. -
Javascript call from a Flash button
I have 2 Panel Groups of 5 panels each and I made a Flash
button to controll them.
The following code works if the panels are both open but it
only works the first time.
Then the second time I get an error;
cpg is undefined
CODE:
on(release){
getURL("javascript:cpg.closeAllPanels();cpg2.closeAllPanels()");
This would need to work for both panelgroups even if only one
is open.
I tried using fscommand but not sure how to write it.Hi Doug,
A few questions for you...
<ol>
<li>What functionality are you trying to achieve?</li>
<li>What version of APEX are you using?</li>
<li>When you say 'process', do you mean 'Page Process'?</li>
</ol>
There are definitely ways of submitting the page and triggering a page process to run via JavaScript, but it would be good to better understand your requirements first before proposing a certain solution.
Regards,
Anthony. -
How to SHOW/HIDE a dreamweaver layer from a flash button?
I have almost 2 weeks tying to find a solution for this. Please help...
-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.
My html layer name is LAYER1, and my FlashMC botton name is FLBOT1
Now, what is the actionscript that im suppouse to place in the flash button?
Please respond, ThanksAdobe removed Flash Text and Flash Buttons from CS4 for accessibility reasons. Flash buttons aren't web friendly. And if you use this approach, you'll need to work in Flash because DW doesn't write Action Script for you.
That said, you could do something similar without Flash.
Pure CSS Disjointed Menu Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
Pure CSS Disjointed Text Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
Show/Hide Layers with DW behaviors:
http://www.cbtcafe.com/dreamweaver/showhidelayers/index.html
Walter Zorn's Tooltips
http://www.walterzorn.com/tooltip/tooltip_e.htm
FloatBox Demos
http://randomous.com/floatbox/demo
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com -
Execute two functions from one Save button
Hi,
I am using JDeveloper 10.1.3.0.4 and JHeadstart 10.1.3.0.91.
Can anybody help me for the following:
In one editable jspx page I have a save button.
I want to do the following:
If I click the Save button, it will save the record and also it will call another stored procedure. I know how to call a stored procedure by clicking a button. But I want to do it from a save button after saving.
I want my save button will do two things - 1) save the record, 2) call the stored procedure.
I would appreciate if anybody could help me.
Thanks
Syed Jabbar
University of Windsor
Windsor, ON, CanadaIt would have been nice if JSF framework would have allowed us to chain the actionListner or specify multiple actionListner, but as of now, that not possible.
Another option would be to bind the save button to call an AM method.
By default the save button's ActionListener is bound to the Commit operation.
- You can create a custom method in your AMImpl.java say void myMethod()
Which basically first does a commit and then make a pl/sql call.
- Expose it to the clients via Edit Application module dialog box.
- Add a method bindings in your PageDef pointing to this.
- Set the actionListener of you button pointing to this new method binding.
it will be something like '#{bindings.myMethod.execute}'
regards - rutwik -
How can I link from one flash document to another with buttons?
Hi,
From the question above, you can tell that I'm very new to flash, especially with scripting. Total noob.
I watched my instructor's videos and I'm still stumped. He didn't explain it very well.
For starters, I am using Flash CS6, but I clicked on AS1.0 and AS2.0 from the drop down mention in the actionscript window for the script below, since that is what my instructor used.
What I have now are various pages I've already created in flash that are different pages in my website, including a splash page with an enter button.
For example, I want the enter button to link to another .swf or .html file when it is clicked. This file will be the main page.
I tried using this script that my instructor mentioned in the video on the button layer:
on (release); {
getURL("page1.swf");
the "page1.swf" file is already in the same folder in my computer as my splash page and I even imported it to the library of my splash page.
From my instructor's video demo, that should be apparently all that is needed.
But I cannot get this to work.
I tested the file and this is what flash comes up with:
In the output tab:
ReferenceError: Error #1065: Variable TCMText is not defined.
In the compiler errors tab:
Scene 1, Layer 'Layer 28', Frame 1, Line 1
1180: Call to a possibly undefined method on.
Scene 1, Layer 'Layer 28', Frame 1, Line 1
1120: Access of undefined property release.
Scene 1, Layer 'Layer 28', Frame 1, Line 2
1180: Call to a possibly undefined method getURL.
Any thoughts? My instructor also recommended that I embed the .swf into an .html, but he obviously didn't tell us how to do that!
Also, why doesn't script assist work with AS3?
Thank you so much!Okay so I changed it to AS1/AS2.
Now it says this:
Scene=Scene 1, layer=Layer 28, frame=1, Line 1
Mouse events are permitted only for button instances
Scene=Scene 1, layer=Layer 28, frame=1, Line 4
Syntax error.
I am very confused.
Also, since all my other pages are in AS3, is there some way I can use another script in AS3 that accomplishes the same task?
Can someone please provide me with the correct script to use?
Thank you so much! I feel that people here are much more responsive than my instructor is! Thank God for this forum! -
How can I open a URL from a Custom Button in a second help window?
I have a custom button, which currently opens a URL in a web
browser, using a redirect page. How can I change this so that it
opens in a second help window instead? If I understand some of the
posts I've read, it is possible by linking the button to a related
topics function but I've no idea how this is done.
As usual, your help is most appreciated. Thanks a lot.Hi, ecoulyn,
You need to make a topic file like the one below the target
of the Jump button.
The onLoad function on the Body start-tag causes the Related
Topics command to fire when the topic file is loaded in the topic
pane. When specifying the file name of the topic to display in the
secondary window, you must always prepend it with the name of your
.chm file, followed by "::/". Otherwise, an error message appears
when the Jump button is clicked.
Pete -
URL relative to flash button?
Hey Flash Gurus! I'm finishing up a flash template that I have used on numerous occasions and it has worked really well. This time however, the nav button that is used to bring up html pages within my site got out of whack. I have checked (and changed) the flash/menu_v8.swf?button=3 relative to the index page I'm trying to link to, but to no avail. I have also gone into Flash and can change the h-link of the TEXT on the button to the corresponding page, but it makes no changes whatsoever. Does anyone have ANY ideas? Any help would be most appreciated!!!!
Thanks Adninjastrator. Not QUITE sure I follow though. In Dreamweaver, I can
go to the Flash Properties > File textbox and specify which button
(menu_v8.swf?button=3) should correspond to the page I have open. Of course
I save after entering, and when I preview it, the correct page (in this case
index-2.html, which is correct) comes up, but button "4" is highlighted.
Button "3" actually corresponds to index-2. At that point of course, I can't
click on button "4" because it is grayed, which should correspond to
index-3.html.
The funny thing is, when I actually type in the correct url for ALL pages in
the address bar, they all seem to work correctly. It's got me bumfuzzled!
Is there anything else I should try? -
How do I transfer photos from one flash drive to another?
I downloaded original photos to several flash drives before I had enhanced them. I realized I needed to do that before I gave them to my family.
In Adobe Photoshop Elements 10 I fixed the photos and now I want to put them on the same flash drives without distroying the originals. I would appreciate knowing how to transfer the new photos to the flash drives without replacing the originals.You should really have left them in My Pictures. If you use Explorer to drag files you corrupt the file paths in Organizer and end up with missing files.
It would be best to get the originals from your family and put them and the edits back into My Pictures.
You can then make duplicates for your family using my method above.
Edit - if dragging directly to the flash drive made duplicates then you should still have all the photos in My Pictures -
Get URL from embedded Flash AS3 movie
I have a thumbnail scroller app built with AS3 on my website
homepage. I have the class files but would like to know of any
quick workaround to make the embedded Flash movie clickable without
reworking the AS3 files. What I would like to do is if you click on
a thmbnail or anywhere in the movie, the "portfolio" page loads. I
asume this would use javascript? Any help is greatly appreciated.
Thank you.I notice that when I click on the thumbnails in the browser,
a "0" appears on top of each thumb. When i test in Flash preview
clicking on an image generates:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL
Not Found. -
URGENT help for calling a window from a flash button in a frame not working
Hello, i'm really desperated, because i can't call a window
in a frame from flash with the getURL, i tried other but do
nothing! and something of external something doesn't work too, so
please can enya tellme what can i do???? i'm using flash 8
professional, explorer 6, (and let me tell you that i didn't have
issues before)!!chen1 wrote:
> Hello, i'm really desperated, because i can't call a
window in a frame from
> flash with the getURL, i tried other but do nothing! and
something of external
> something doesn't work too, so please can enya tellme
what can i do???? i'm
> using flash 8 professional, explorer 6, (and let me tell
you that i didn't have
> issues before)!!
Please search the forum, in past weeks I personally replied
to the very same topic
few times.
Search for "Flash Player 9 - broken getURL doesn't open
specified frame"
and "Problems with flash navigation in Internet Explorer 7"
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Maybe you are looking for
-
Is there a way to import metadata to wav files in my library?
Is there a way to import metadata to wav files in my library? I have about 1,500 .wav files that are presently in my iTunes library, but as most of you are aware .wav files have their limitations with regard to how iTunes translates their specific tr
-
Difference between oracle Developer suit and Oracle Application Server???
Dear all,, If any one please tell me the main difference between Developer Suit and Oracle Application Server. I will be very thank ful. Thank you Hina.
-
I have received this in my email. Thought I would share, to see if it's authentic Hello, The following information for your Apple ID was updated on 01/27/2014: Shipping and/or billing address Credit card If these changes were made in error, or if you
-
Express Update terminated was by author in MIGO(RV_MESSAGE_UPDATE)
Hi All, I have issue like When we go to migo transaction code for goods receipt click on post button message shown 'document posted successfully' when we back to transaction code message shown like 'Express document update was terminated by author' d
-
Clearing the cache in production...
What effect if any does clearing out the cache have on session variables? Also, is anyone aware of any potential adverse side effects on user experience when clearing out the cache durring normal business hours? Thank you, Mike