Target New Window Crashes My Machine
hi all, ive just finished a promo ive done for our company. ive burnt it as an exe onto a cd, so when a client puts the cd in their machine, it automatically runs full screen (shock horror gasp!). at the end of the movie, our web address appears. this is a button on which ive got: getURL('blahblah.com', '_blank'). the thing is, as soon as i click this button, it just crashes my machine! ive tried this a few times, so it wasnt a one-off. has anybody else had this problem or can suggest a workaround? crashing peoples machines arent going to win over any potential clients! many thanks - D
Ultrashock Forums > Flash > Flash Professional
Posted on: 2004-12-07
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Close.window Script In Flash Button Quits My Browser Window Or Crashes System
Can somebody please help me?
I have a javascript attached to a button in a .swf file to close the browser window it is in.
The code which was given to me yesterday by senocular is
on(press){
getURL("javascript:window.close()")
}
__
however if you try it IE will unexpectedly quit or bomb my computer.
I tried it in Netscape and it didn't crash.
You can refer to my site http://www.valdesdesign.com
after intro go to print button and then to editorial button.
Editorial opens new window with editorial.swf inside. Click on top right button to close window and see what happens.
Is there something I'm doing wrong? Please help me.
Thanks
Flash MX Crashes When Opening Actions Window
Help please!
Everytime I open up the Actions window (Window > Actions) MX crashes with a type 2 error. Don't know what to do. I've upped the memory, threw my preferences away, do I have to rebuild my desktop? Not sure what to do. Thank you in advance.
Link In Pop-up Window (flash File) Target=parent Window
I have a flash demo that is opened from our web site and spawns a new window. At the end of the demo is a link that directs the user to "get more information." I would like this link to open the "more info" page in the PARENT window rather than the spawned window. Currently I have my Flash link coded with:
on (release) {
getURL ("http://www.hiddenmind.com/materials.html", _parent);
}
This is not working. Do I need to add some code to the parent window and/or the HTML page where the Flash file is embedded?
Thanks for your help! I can't seem to find the solution
[F8] Target Parent Window From Popup Window
I launch a popup window from a flash movie in the main window. When I close the popup window, I need to target the main movie to go to the next frame, depending on weather the the movie in the popup has played to the end. I tried making use of Javascript with a url quaryString when opening the popup:
window.open("popup.swf?variable1=stringvar")
I also tried Flashvars in the param and embed tags, but do not know how to send the flashvar to the popup. Then update the Flashvar when the movie in the popup is done. Then when I close the popup, communicate with the movie in the main window to go to the next frame.
This need to be done without php, cause I need to deploy this in a LMS environment.
GetURL("javascript:window.close();"); Crashes Internet Explorer
Hey,
I have this problem where Internet Explorer 5.2 (on Mac) crashes when I hit my close button. The full code for that close button is:
Code:
closeButton.onPress = function(){
getURL("javascript:window.close();");
}
Hope you can help me out. It seems to be working okay on Mac/Safari and XP/IE6.0...
Thanks!
Target Window
I have a button on my current FlashMX movie that links to an external SWF. When I click the button, the SWF opens in a seperate window, and the 1st window remains behind it.
MY QUESTION: Can window 1(Flash Movie) be set to close upon opening window 2(external SWF)?
Some help would be greatly appreciated. Thanks guys!
Target Outside Window
Hi,
On my main page I have a link that opens an URL in a blank window that contains a flash movie with a button. Can I target the button to open another URL in the main page?
Thx
New Target Window
I have an movie that reads a xml file it contains web links but at present it opens the links over the existing web page it is on , but i need it to open the links in a new browser window, i know the html of target _new but how do i do this
here is the actionscript links:
// Trigger Data Source Behavior
// Macromedia 2003
this.xcTrips.trigger();
visit_btn.onRelease = function ():Void {
if (charlink.text.length > 0) {
getURL(charlink.text);
}
}
visitprize_btn.onRelease = function ():Void {
if (prizelink.text.length > 0) {
getURL(prizelink.text);
}
}
bid_btn.onRelease = function ():Void {
if (bidlink.text.length > 0) {
getURL(bidlink.text);
}
}
Thanks
Window Target And Action
I am opening one popup window using a javaScript from the main window, and opening a second popup window using a java script from the first popup window.
These two popup windows have their respective names which are:win1 and win2. Win1 has a flash movie wich has a button linking to a certain page called content1.htm.
What I am trying to do is to open content1.htm inside the second popup window named "win2". I am trying to use the target command in Flash, but it is not working. On the field "window" I write "win2" (as usualy I do to target the window I want to). But, action script doesn't seem to recognize my window named "win2".
What should I do?
Target Window Html
hi
i have designed a flash navigation and put it in my top bar on html page. I need to know how i can get the buttons in my flash nav , to change pages in my content window below.
the frame name for content window is Content
and for an example can you show me how to load example.htm , into the content window , by using flash button example
thankyou if you can help
Target Self Window From Combo Box
hi everyone,
i have a dropdown combo box that links to other pages and i need to be able to have it open in the same window. the coding i am using is
(how do you do that thing where the code is under the heading and in blue?!)
function handler() {
getURL(dropdown.getSelectedItem().data);
}
and the links in the data field of the dropdown are, eg; page1.swf and index.swf
but it opens in a new browser window. please help me!!
thank you...
Target Window Issue
Hi all,
Wanted to shoot a relatively newbie question at you guys that has been giving me some issues and has halted my development.
I've been searching on the web and have come across a good number of people having the same issue, but haven't seen a straightforward answer so I came here.
I basically have a getURL link within my Flash 8 Object with 4 picture thumbnails. Each thumbnail has a link with a "_top" target linked to each picture. Essentially, I'd like to see those links open within the same window, however, my browser (Firefox & IE) opens new windows as opposed to staying within the same one.
I've tried a few of the other targets, and even using the "_parent" target still opens a new window with my requested URL.
I've been reading up around the net that this may be a security bug with Flash. Have you guys addressed this issue before? If so, I'd much welcome a link or a solution to the issue.
Thanks in advance.
rdp
Pop Up Window Question / GetURL Target
If I have a page, let's say named "demo.htm" and the user clicks on a link on this page that opens a pop up window where a flash animation plays inside of a html file. At the end of the flash animation, I want to have a link that will launch a different page in the window that demo.htm was just in. How would I do that?
GetURL To Open New Window AND Target A Mvc's In A .swf
First, thanks for addressing my question.
I'm not new to web but still relatively new to Action Script and how to link to multiple places in multiple windows.
Q:
I have a site with 4 sections - and though it's not commonplace - each section is a separate .swf that opens in their own window (with size and toolbar restrictions).
- The index.html has an index.swf embedded.
- In it is a simple nav with 4 drop down menus.
- Each menu is a separate mvc that opens to secondary menus, and IF secondary menus have tertiary levels, then they are also mvclips - otherwise they're "buttons" to target a URL location.
***I need to be able to link to each of the specific places targetted by the "buttons" in the menu.***
Is this possible?
-------------------------
i.e. (PHOTO menu) >=secondary | *=tertiary
PHOTO > Documentary > Splashes > Travel
* comedians
* archaeology
* mosport
-------------------------
If I want the the "archaeology" button to open to a new pop up window with size h:500 w: 800, no scrolls or anything.... but I want it to open to that mvc within the photo.swf file ... what code do I use and where would I put it???
Also I wonder if I will have a problem with the javeScript in the index page since I have multiple links targeting different .swf's AND targeting different mvc within same swf's.
(( If you really need to see the file, let me know - otherwise I'd like to keep from giving it out if possible )).
of course...if you've also found the magic pill to keep my 'pop up windows' from shutting down on some people that would be pure bliss.
Any and all advice is most welcome.
THANK YOU!
F8th
Level Or Target Location...how To Open New Window?
I want to open up an .swf file in a new window when I release a button. What actionscript do I use in the button to do this? Right now, I've got it set up to "loadMovie" and the URL is the .swf file. I just don't know how to set up the location. It loads the .swf but it takes the place of the parent movie. How do I load it into a whole new window?
Target Window For Linked Flash Movies
Suggestions needed!
I have published multiple flash movies in HTML that are linked to one another.
When I open the index.html, it opens in a large window. When I click on a link to another movie, it appears in a smaller window with the index.html still in the background.
I guess my question is, how to change the target_window for flash movies. I have tried to change "publish settings" without success within Flash. I tried a suggestion in Java, that I added to the HTML code, again no success.
I do know some HTML but not Javascript. The easier solution the better.
DH
Making XML Link Open In New Target Window
Hi all,
I have an XML link dynamically loading into a flash file. Here is the line of code which loads the URL:
content += "<font size='+2' color='#ffffff'><a href='"+URL+"'>"+lead+"</a></font><br>"+body+"<br><br>";
The URL loads in where you see "URL". How do I insert a "_blank" target window to the href command?
Thanks!
Flash To Target _parent Window For Links
How would you set up a parent html window that will launch a flash pop up, then have the flash target the parent window to trigger URLs?
I have setup a basic html file that has 1 link on it and uses javascript to open a popup window that holds my flash swf. On it are two buttons using getURL and targeting "_parent" but it does not go back to the parent frame. Instead it opens up in the same window that my flash file did.
Any suggestions?
Loading External Movie In A Target Window With Its Size
Okey I have a root movie and when I press button my external movie loads:
on (release) {
loadMovie ("logo.swf", "main");
}
The name of movie is logo.swf and I wanted it to load in a specific target window which in that case would be main (a movieclip symbol). Problem is that it get rids of window (which is fine) but it also loads movie with its original size. So I have a root movie with something on right corner that looks like logo. But I want it to be in the window with size of that window. So how do I do load movie into spefic target with target's size.
Controlling Photo Slideshow In A Target Window Using Arrays
So I'm pretty sure that this can be done, but I haven't coded actionscript for years.
I'm building a photo galley. I would simply like to use a button that is located on my main time frame to trigger the loading and unloading of images in a target window located on the same time frame. I downloaded some code that looked promising from www.kirupa.com/developer/mx/photogallery.htm, but I don't think the flash 5 fla is truly flash 5 compatible.
I'm not very comfortable with variables and arrays so I haven't had much luck adapting that code to my uses. I even started over from scratch and just tried the flash 5 fla I downloaded, with their images in the proper folder for the code to work, and still nothing. Any suggestions? Anyone know of something similar that is flash 5 compliant?
-n
JavaScript To Open Window And Target Frame In Flash File
I know how to open a pop-up window using JavaScript and I know how to control a Flash file (.swf) using JavaScript, but I'm having trouble creating a link in HTML that opens a new window and targets a frame in the Flash file in the new window.
Looking for a JavaScript code.
-dmacaula
JavaScript To Open Window And Target Frame In Flash File
I know how to open a pop-up window using JavaScript and I know how to control a Flash file (.swf) using JavaScript, but I'm having trouble creating a link in HTML that opens a new window and targets a frame in the Flash file in the new window.
Looking for a JavaScript code.
-dmacaula
Error Messages In Output Window When Unloading Movies From A Target MC
Hi, when I load a file called "services.swf into a movie clip on the main timeline, and then later unload the same .swf from the same movie clip, it works fine but I get an error message in the flash preview output window.
Is this normal?
Sure my code is right: (guess it must be if it loads and unloads ok?)
on (press) {
loadMovie ("services.swf", _root.myclip);
}
then when i go to unload it:
on (press) {
unloadMovie (_root.myclip);
}
anything wrong with that? I mean its not the worst thing in the world it seems to work, just concerned about these error messages.
OnRelease URL Target="Blank" Window
onRelease URL in 'target="Blank" '
I have this for the action of a button, I have this in a header bar in a top frame of my CF page. When I go to search with the stomz field then I get hte atomz page opening in the top frame of my site.
What can I do to this to get it to open on release in a new window rather then the top frame?
I have almost no Exper. using URL's in this fasion in Flash, btu In dreamweaver/CF I would use a <a href="asdf.com" target="_blank">asdf </a> but I am unsure where to put the target="Blank" in the AS below.
Thanks Folks
atomzSearch.onRelease = function() {
index = 1;
query = "";
while (Number(index)<=Number(length(keyword))) {
if (substring(keyword, index, 1) eq " ") {
query = query add "%20";
} else { query = query add substring ( keyword, index, 1 );
} index = Number(index)+1;
}
strURL = "http://search.atomz.com/search?sp-a=spxxxxxxxx&sp-q=" add
query;
getURL (StrURL);
}
Machine
hi guys have any of yous seen a ready made animation in flash of a machine of some sort? with stuff going in one side and comming out as something different at the other side? (bit hard to explain)
thanks
Newbie Movement Question - Move Number Of Pixels NOT To Target Or Even PRECISE TARGET
Like a lot of people im using the code below to move a movie clip my question is this - how do i move the clip exactly a set number of pixels from its current position (lets say 20 pixels) rather than setting a target?
(what im using now)
onClipEvent (enterFrame) {
if (_root.go==1 && root._x<300) {
_x = _x+2;
}
}
ive tried lots of things but there must be a simply answer - someone please help.. thanks.
My second question is how do i move something to a specific x target ie not use <300 or such like - ive tried != and stuff like that but to no avail..
1st question more important right now though - thanks!
Apply Glow Filter On Target MC While Dragging An Object And Rolling Over The Target
I can get my filter to apply to a movie clip if i simply rollover or roll out of it. When the mouse rolls out, the filter is set to undefined. The problem I am having is that I want the object that is in effect the hit area to glow (have a filter applied) when the draggable object is being dragged over it.
This would make is easier for the user to visually identify that where they are currently hovering over, whilst dragging, is the area that they should drop the object.
Part of my code looks like this
Code:
this.onRollOver = function () {
if(_global.isDragging == 1){
this.filters = glowFilterArray;
}
}
this.onRollOut = function () {
_global.isDragging = 0;
this.filters = undefined;
}
_global.isDragging is set to 1 at the onPress stage, when startDrag occurs.
_global.isDraggin is set to 0 onRelease of the draggable object.
Are there any ideas for a solution?
Machine Gun Snowball
I'm making a snowball game where the gun fires multiple snowballs when the mouse moves.
the fired snowballs have to track the mouse when the mouse moves any ideas on code to use for this???
cheers
spod
Viewing PHP On My OWN Machine
Are there any ease-to-install programs out there to simply let you make PHP scripts, and then view the results, without havin to connect to a web server and upload the files?
Let Me Know If This Works On Your Machine
www.meshybeats.com
click to load the comic...
...there'll be a wheel preloader and then a sign saying "loading" while 193k loads but does the comic appear? I've been having a problem where first time viewers only get a blank screen but second time it works okay.
Can people to test this for me?
Is the scrollPane present? I think that's what has been causing me problems.
It needs flash player 7 by the way.
regards
Dene
Please Help With Drum Machine
Hi all... I'm kind of a flash noob... I've been using it off and on for years but over the last few months is the first time I've sat down and tried to do something useful with it.
I'm making an "ESL drum machine" for kids that will play a song using numbers instead of drum beats. A small problem...
I'd like to get all the numbers (rhythms) to start at the same time. By this I mean that when I press "one" it starts, and then when I press "two" it starts at the same time as "one" begins its new loop. For an AS wizard, this is probably pretty simple, but I don't know how... pls help.
Pls help, any advice or a friendly finger pointing to a tutorial would be greatly appreciated.
Thanks
Xray Machine
OK peeps, I need help with this one. I can't seem to get it to do what I want. What I have is a prototype for an xray machine. when you click the ON button you should be able to turn on the xray and drag it over the person to view internal oragns, then on 'drag over' a certain area it should bring up info on the internal organs or muscles, like the guts or the shoulder muscles. But right now I have the info for the should and guts popping up when you release your mouse. That's not what I want. I want I to just work with hit states... on drag over if it hits this certain target then show this info... PLUS when the xray is off, I don't want it to do anything..
PLEASE can someone help me????
Thanks
Fax Machine Button
I would like to set up a button with actions that would send data to a fax machine telephone like ours. After the customer is finished with order he or she can go to paypal/credit card(already set up), I want another option of sending the same information to our fax machine. www.tsigold.com
Adding Machine
Has anyone ever created an 'Adding Machine'? It basically looks like a calculator but features a print out coming out of the top featuring your workings. Is also should feature a % button. I have created most of the artwork and code but am stuck on how to create the printing out effect and % button. Any help gratefully appreciated! (file attached)
Zooming Machine
hi all..
http://zoomquilt.nikkki.net/
http://sofake.com/
uhmm and some other sites..
can someone make a little preview for me how these guys did this..
i have the material almost done for it.. but don't know about the engine
i would be very very very thankfull!
i actually want to combine the 2 sites i mentioned..
users can drag and zoom and users can also press buttons so they zoom
pleaase help me
Lottery Machine - Can It Be Done?
hi all!!
ok this might be a toughy im not sure... the challenge is if you wish to accept is showing me the way to create a lottery machine in flash... well the script for it anyway!!
i need to produce a lottery machine where the user enters 6 number between 1 - 49 in seperate text boxes.. following this they can press "go" which will generate 6 random number between 1 - 49 which inturn are the lottery results. i then need the player to compare the users entered numbers to the randomly generated numbers to see if they are a winner. eg.
3 numbers matching - win 1
4 number matching - win 2
5 numbers matching.... and so on till 6 numbers
it would be great if you could show me the way to go on this because im having trouble comparing the numbers and also when the numbers are generated stopping them from repeating e.g
good example 1, 23, 43, 2, 34, 23
bad example 1, 23, 43, 23, 32, 32 <<< the numbers are currently repeating themsleves
sorry for the long winded qeustion but it would be great if you could help!!
[MX] Adding Machine
Hey all. Right now I am working on a quick project. I am making a "calculator" I guess you would call it. Basically it needs to add a specific amount based on certain buttons.
It is supposed to calculate chances of survival in raids. I am making it for my guild. So you click say... "Average level 1-3" or something (even though no one would be raiding at that level) and it adds 5 to the count. So it is now at 5%.
You get the idea. I think it has something to do with variables. I have no idea what the action script would be for it though, thanks.
Get My Own Machine Ip Address
hi, i would like to retrieve my own machine ip address with actionscript. it can be done in actionscript??? if yes, anyone hav any idea how to do it??
appreciate your help..
Enigma Machine
i have serached endlessly but cannot find a solution..
i want to create an Actionscript not java.. actionscript "enigma machine" or a text encrypter or basicly a "secret message" creator in flash.. anyone have any idea on how to go about it ?
My Machine's Slowing Down
I notice that my machine is gradually slowing down each time I test my project. I keep having to reboot about every 100 tests.
I've read this stuff about removed objects remaining in memory and not being garbage collected. Is the memory still locked even after Flash player closes?!?!
Getting Machine IP Address
Hi,
We have a standalone Flash application (i.e. we run the swf directly, not in browser) which displays information about an application running remotely.
When the app is run on on one and only one machine we want to display all data, on all others we want to display limited information. So I'd like to detect the IP addresses of the machine on which the app is running.
Server side scripting is obviously not an option here, can anyone point me in the direction of a solution?
Cheers
Edited: 06/27/2007 at 06:39:21 AM by paul_harv
VM (Virtual Machine) In C
I know no-one here does C at all, but hey, I had to post the results of my all-nighter somewhere
It's pretty crappy in terms of code quality, I'm sure, and I haven't really tested anything.. and it abuses preprocessor macros a whole load.. but it works! (sorta )
The Poetry Machine How Is This Done ?
On the Robert Penner site,
www.onebyonedesign.com
in the menu WHERE / FLASH FUN you'll see ( sorry no direct link) a poetry machine.
I wonder what is the name of this effect and what I have to "study"to learn this ?
I also wonder if there could be some problem of pixelisation ?
Thanks !
Bingo Machine
Hello all,
Anyone knows where I can find a bingo machine script
to take some ideas? Ex: http://www.flashguru.co.uk/bingo-machine-part-two
Thanks!
neuhaus3000
Need Machine Images
Hey all,
I'm working on a flash website that does safety consulting and wanted to incorperate some sort of industrial machinery. Problem is I'm having trouble finding inspiration images and the likes. I need machines with big moving parts that I can then create in flash. I've tried google image search and web searching but have found nada so far. If anyone know of anywhere I can find stuff, that would be awesome.
Thanks Ultrashockers
Drum Machine
Does anyone know how I might do something like this?
http://thepixelplant.net/dmf/dmf4.html
thanks Dave
|