GetURL PARENT
I am using AS2 in Flash CS3. I am trying to simply us the
getURL to open a url in the same window. Does not work, it will
work if I use the "_blank" statement but I need it to open in the
same window. I have tried saving it as FP8 and 9 with no resolve.
on (release) {
getURL("events_home.htm", "_blank");
notworkingadobe,
> I am using AS2 in Flash CS3. I am trying to simply us
the
> getURL to open a url in the same window.
That's the default behavior; it requires the least typing.
> Does not work, it will work if I use the "_blank"
statement
> but I need it to open in the same window.
To open in the same window, use "_self" to just leave that
second
parameter blank.
> I have tried saving it as FP8 and 9 with no resolve.
>
> on (release) {
> getURL("events_home.htm", "_blank");
> }
You can publish it much earlier than a Flash Player 8 SWF,
and it'll
work ... but you have to actually test it in a browser. If
you don't
already have a browser open, the getURL() function will
naturally have to
open a browser.
Publish your SWF, embed it in an HTML document, and test the
link from
there. If you get a security error warning, that's Flash
Player protecting
you from a "potentially unsafe" operation, because you're
testing from your
hard drive. Upload the HTML file and your SWF to a server,
and test from
there. Should work just fine.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design."
Similar Messages
-
New Window from Flash (getURL) Has No Parent
I have a Flash application that is opening a new window via
getURL.
getURL("
http://www.microsoft.com",
"EMMWindow");
The new window has a link that triggers a javascript that
attempts to redirect the parent window via
opener.location.href='x';
However, when that javascript is called, it returns an error
that shows that the opener is undefined - e.g., the window that was
opened is effectively an orphan - it doesn't know its parent.
Is this an issue with getURL or am I doing something wrong?
Any help would be appreciated.ok, I should've also mentioned this, the flash gallery I'm
making is not for the web, it's more for just opening in a flash
player. So I don't really want it to open in a new browser window,
but rather a new swf window, if there is such a thing. -
GetURL spawned new window doesn't have a parent
I have a Flash application that is opening a new window via
getURL.
getURL("
http://www.microsoft.com",
"EMMWindow");
The new window has a link that triggers a javascript that
attempts to redirect the parent window via
opener.location.href='x';
However, when that javascript is called, it returns an error
that shows that the opener is undefined - e.g., the window that was
opened is effectively an orphan - it doesn't know its parent.
Is this an issue with getURL or am I doing something wrong?
Any help would be appreciated.I think this is an html/javascript issue. I don't think
GetURL is not going to create a child window, just a plane ole
window, so there is no opener associated with it. That window would
have to have been opened by the other window and named EMMWindow
before getURL filled it up with something.
You may have to communicate via javascript to get the page to
open the window as an opener.
Of course, I could be wrong. -
My getURL code redirects the parent page, help!
my getURL code redirects my parent page to a weird blank page
and display "[object]" in the top left corner. I notice my source
code wipes out and the "[object]" is in there. Does anyone have any
suggestions?
Here's the website -->
http://dev.expertcs.com/elsabet
Click on the link portfolio, and click on the main picture
display to see the problem I'm experiencing.
Here's the code below:Thanks for the extra info...
Could be the 3 or 4 Digit Security Code on the back of your Credit Card...
http://support.apple.com/kb/TS1646 -
Launching a page in the parent window
Hello all. I'm not necessarily new to flash, but i've never
gotten into the meat of what the program can do and now have run
out of my limited bit of knowledge.
I have an animation of have created as a splash intro to the
site. Ive gone through been able to place the swf into my page and
have even been able to have the animation launch the main page of
the site when it is done playing. My problem is that every time it
launches the main page of the site it does so in a new window (or a
new tab if in Firefox). I am using the geturl function as thats the
only one I know about to do what I'm trying to do. When telling it
to geturl I have tried putting in it parent for the window but it
still is not working.
Would anyone be able to tell me what i'm doing wrong, or
point me in the right direction if there is something different i
should be doing? Any help would be greatly appreciated.
Thanks!I'm actually setting up the link in the actions pallet so
that when it reaches the end frame in my animation it launches the
page. I checked and i didnt even see a target drop down. in the
action pallet when im placing the code i basically have: geturl("
http://www.myurl.com", "parent")
.... I dont have the actual code with me right now because i am at
work, but that is the jist of it. I would be glad to post the link
to the site, or the code if it would be helpful. -
GetURL --javascript stops working under Flash 8
I have ran into a strange problem that I hope is simple to
diagnose. I have done many projects where the Flash object calls a
Javascript in the parent web page using a simple getURL method,
like this:
getURL("javascript:resizeSWF("+40+")");
That has worked fine for years. But I have noted when
publishing these projects as Flash 8, that call no longer reaches
the Javascript function (the Javascript does not execute).
Publishing as ver 7 or earlier is fine. Am I missing something
obvious here, or is there a new security restriction in Flash 8
that prevents directly communicating with Javascript functions?
ThanksHitParader wrote:
> I have ran into a strange problem that I hope is simple
to diagnose. I have
> done many projects where the Flash object calls a
Javascript in the parent web
> page using a simple getURL method, like this:
>
> getURL("javascript:resizeSWF("+40+")");
>
> That has worked fine for years. But I have noted when
publishing these
> projects as Flash 8, that call no longer reaches the
Javascript function (the
> Javascript does not execute). Publishing as ver 7 or
earlier is fine. Am I
> missing something obvious here, or is there a new
security restriction in Flash
> 8 that prevents directly communicating with Javascript
functions? Thanks
You need to test it online. Change in flash player as well as
IE and FF security
no longer allow Flash - JS - HTML on desktop. You need to
upload it to server and
test in real time. Should work just fine.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Passing value from child to parent (flash form)
Dear all,
I have 2 pages (both flash form): First.cfm (parent) and
Second.cfm (child).
In First.cfm, I have a textbox and a button. Once I click the
button it will load the Second page.
In Second.cfm, I have a button. Both pages are still active.
Now the question is .. when I click the button on the Second
page, how to pass the value back to the First page and assign it to
my textbox in my First page? I want the value to be displayed in my
textbox without reloading the First page.
Any suggestions and examples?
This codes do not work in Flash Form. But if I use HTML with
a bit of modification then it works. How to make it work in Flash?
++++++++++++++++
this is first.cfm
++++++++++++++++
<cfoutput>
<cfform format="flash" name="myform">
<cfinput type="text" name="txtCustomerID" width="100"
label="Customer ID">
<cfinput type="button" name="btnGetCustomer" value="Get
Customer" onclick="getURL('second.cfm','_blank')">
</cfform>
</cfoutput>
++++++++++++++++
this is second.cfm
++++++++++++++++
<cfform format="flash">
<cfformitem type="script">
function buttonclick():Void {
getURL('javascript:window.opener.document.forms["myform"].elements["txtCustomerID"].value
= "XXX";');
</cfformitem>
<cfinput name="btnClick" type="button" value="xx"
onclick="buttonclick()">
</cfform>
Thanks in advance
KeikoYou address the parent from the child using:
this._parent.sMyVariableName = "whatever";
Remove '_spamkiller_' to mail -
Dear all how can I open a file on a cd rom using flash action
script with the geturl() function without specifying the name of
the drive?For example"E:\\Firas.ppt",I dont want to put the "E"
letter ing my url coz the cd rom drive may be using another letter
such as "F" and "G",Thanks for ur helpYou can assign simply as its parents folder.
No need to mentions the drive letter in all the cases.
Look , Consider this is your folder structure.
MyProject/Flash/Index.swf
MyProject/Flash/Files/(The files which in turn open by Flash)
In this case,
To open any files in the "Files" folder from Index.swf file,
You can use the
getURL("Files/YourFile.pdf");
If you want to open any files in the "Flash" folder means,
you can
directly give the file name as argument for getURL. -
I have a site with navigation buttons in some of the Flash
(Flash 8) movies. The navigation buttons within Flash are
programmed to load a new html file in _Self. All of the html pages
are within the same directory. Here is the code:
on (release) {
getURL("operation-03.html", "_self");
When I upload the site to my Web site, the buttons work
perfectly. However, when I load the site onto a CD, only the
Dreamweaver navigation buttons work. The navigation buttons within
the SWF files do not work. Nothing happens when they are clicked.
I have 'Allow active content from CDs to run on my computer'
checked in the Security section of my browser.
Is there something else I have to do to make these navigation
buttons work when the site is run from a CD?
TIAThanks Urami! This worked. However, there is still one set of
buttons that still don’t work. These buttons are programmed
to open a new window that is a specific size and has all the
toolbars and menu bars turned off. The html page that opens in the
window contains an swf file that runs a video.
Again, it works perfectly over the Internet or when I test
the html page from Dreamweaver on my PC, but the window will not
open when the button is pressed if the program is running from a
CD.
This program was originally created with Studio MX 2004 with
Flash Professional. With that version, the CD worked on Windows
2000 PCs but not Windows XP. We re-published the entire program
with Flash Professional 8. Once I fixed the file names as you
suggested, everything works except the buttons that open a child
window. Now these buttons in the Version 8 program don’t work
on a CD running on Windows 2000 either.
Here is the code that I have in Flash movie for the button:
on (release) {
getURL("javascript:newWindow('videowin_turnassist.html')");
Here is the code that I have in the html document:
function newWindow(bookgif) {
bookWindow = window.open(bookgif, 'bookWin',
'toolbar=no,location=no,menubar=no,scrollbars=no,resizable=no,width=400,height=425')
bookWindow.focus()
I got this html code out of a reference book several years
ago and we use it all the time to open child windows from parent
windows.
I tried other code that I got out of an ActionScript book and
from the Help files, but I can’t get any of it to work at all
(not even from Dreamweaver).
Do you have any other suggestions for opening a specifically
sized child window that will run a Flash movie?
TIA
Diane -
Help with geturl as a link to another html page
I am using a flash navbar I made, inside a html page created with DW, the action under each of the buttons is for example
on (release) {
getURL("links.html/", "_blank");
it works but opens in a new window, I want it to remain in the same window ,I have tried self,blank,parent and top what do I need ?
all the examples i see reffer to linking to another published site like "http:\\www.google.com" thats a different matter is it?
thanks in advancethis is the code now, nothing happens whaen i click (release)
on (release) {
getURL("index2.html/", "_self"); -
Localconnection + new window (or GetUrl) = BROWSER CRASH
Hi,
I have developped some intranet tools for production using
flash. It's a management system and the user can use it to display
the content in another application. As the two application are
separated, i'm using local connection to make them talk together.
It's working really well.
But if i try to integrate the link of the viewer inside the
management system or list these two links into a tool reference
html home page.. i often (it's doesnt happen everytime, but in the
same conditions) get major CRASHING of the browser (it's on
windows/explorer but i think the problem is also visible on
Safari/Mac). Take note that the problem happen when using GetUrl
from flash and also from opening a new link "_blank" from html. Of
note also that the problem doesnt always happen.
Because opening a new window with other flash content in it
is common, my guess is that there is a problem with local
connection (a parent window talking to a child window through local
connection?) [localconnection is a less widely use feature, so that
would explain there isnt much report about this problem).
Until now i havent found nothing on the web related to this
problem...
Anyone have experienced this or have a relevant link?
If i find more information i will try to repost it here...
Thanks,
Eric
MontrealHi,
Try this, I think it works for both Safari and Firefox (not 100% sure on Firefox but think so...)
Press command+l (lowercase L) and then press commandoptionpress return. That will open a new window with the current webpage in the new window. To open a new tab with the same details, omit the option key in the second step.
Command key = one with the Apple symbol
Option key may be called Alt on your keyboard.
Hope that works! -
All,
I have set up an html page with two frames, frMain on the
left and frDocuments on the right. I am putting a Flash object in
the frMain frame and trying to get it to open html pages in the
frDocuments frame. It doesn't work. Every time it is popping up in
a new window instead.
My frames are defined as follows:
<frameset rows="*" cols="400,*" framespacing="0"
frameborder="no" border="0">
<frame src="frMain.html" name="frMain" id="frMain"
title="mainFrame" />
<frame src="frDocuments.html" name="frDocuments"
scrolling="Yes" noresize="noresize" id="frDocuments"
title="Documents" />
</frameset>
My flash object is in the frMain frame, and in it I have the
following code:
on (click) {
getURL("test1.html", "frDocuments");
test1.html pops up in a new window.
I have tried with and without quotes, I've tried
main.frDocuments, _parent.frDocuements, parent.frDocuments,
everything I can think of, and it all works the same.
This does exactly what I want to do:
http://www.adobe.com/support/flash/ts/documents/get_url/main.htm
But in the tech note that goes with it (
http://www.adobe.com/go/tn_12791
) they do not give the actual button code, and under target they
list " specific name" and not the actual formatting of the text.
I'm a bit at wits end here, so if anyone can tell me what to
do differently I would be much appreciative. Thanks in advance.
BarryBarryInDC wrote:
> Thanks again, you put in a lot of time here :).
>
> I took it out of the component and there is no
difference.
>
> If it is a Mac thing, that means the testing site I put
up should function
> correctly on your PC? If it does, please let me know.
I still see component there. Can you verify the URL ?
Meantime, made one sample, using your frames code tho
I use normal buttons with getURL action and it works like
charm on first go:
http://flashfugitive.com/stuff/frame/
It's the component and your URL action, when I dig it out
the cache and load it in level into an new file, the
debugging
trace some odd URL path like :
getURL ("test1.html", _parent.frDocuments);
Not just there should not be _parent in it but the name is
w/o quotes
which means the file action is all messed up and it's not the
same as
shown in your previous post.
Are you sure you uploaded the right files ?
I tell you, GET RID OF the component. I'm 100% sure it's the
culprit
behind all this.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program? To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library. Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids. Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?
Hello ggg39,
Welcome to the Apple Support Communities!
I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article.
Family Sharing - Apple Support
Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
For more information on restrictions and how to set them up, please reference the next attached article.
About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
Have a great day,
Joe -
We have multiple computers, laptops, iphones and ipad in our home. We have kept one account for iTunes in order to monitor what my family downloads for parental monitoring. How can I get approval or allow for more devices to be 'authorized' to purchase from iTunes? I don't want to have to have more than one account that I have to monitor - technology is overwhelming enough to control with all the hackers and distasteful things on the web.
Authorization applies ONLY to computers.
ipads/ipods/iphones/apple tvs are NOT authorized at all. -
My parents were too lazy and didnt know how to create their own itunes account. so I was wondering if either 1)there was a way to stop their music from geting on my laptop and phone,or 2) a way to transfer my perchases to a new itunes account. If anyone has any ideas besides burning everything to discs I'd love to hear it.
Hey there 79usma79!
I have a couple of articles for you that can help you troubleshoot the issues you are seeing with iTunes on Windows XP. The first is a general troubleshooting article, which can be found right here:
iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/TS1421
This article can help you find out if there are any conflicts between your copy of Windows XP and iTunes, and can tell you what to do if there are. Before going down the troubleshooting route though, you should take a look at this article, which can help you back up your entire iTunes library to an external hard drive, so if this issue is recurring, you will be able to restore from that backup and will not have to worry about losing your playlists or music again:
iTunes: Back up your iTunes library by copying to an external hard drive
http://support.apple.com/kb/HT1751
Thanks for using the Apple Support Communities!
Cheers,
Braden
Maybe you are looking for
-
ITunes doesn't work after I installed it for my new iPod video
Hi, This is my problem: When I connect my iPod video to my computer( windowsXP) iTunes doesn't open up. If I start iTunes manually it's says this error:(normally in dutch) The needed software for communication with iPod isn't installed properly. Plz
-
Itunes - another "not closing" issue
So, is there a fix yet for this? (force quit does "work", if that is the right verb). I've read 2 threads, with guess-answers pointing to "widgets" or plug-ins being a potential source. This old Mac has neither of those installed, and I just had the
-
<pre><nowiki>Application Basics Name: Firefox Version: 26.0 User Agent: Mozilla/5.0 (Windows NT 5.1; rv:26.0) Gecko/20100101 Firefox/26.0 Extensions Name: DivX Plus Web Player HTML5 <video> Version: 2.1.2.145 Enabled: true ID: {23fcfd51-4958-4f00-80a
-
AE CS6 MacBook Pro mid-2013 AE keeps crashing with the error starting with "140735236084496> <ae.blitpipe> <2> Making New Context" whenever I try to use the Roto Brush on a MPEG clip. Sorry, I don't know what other information is relevant to you to h
-
Source Structure determination Dynamically
Hi , I got a requirement to develop a File to IDoc scenario. Below are requirement details. 1. Source system application creates maximum 9 XML files of different strucure for each run. File name is generated dynamically by the source application. 2.