473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

close swf movie using action script

4
hi, i really need to know how to close a running swf flash when it reaches the last line of my action script, using actionscript. thanks
Jun 11 '07 #1
8 16414
Atran
319 100+
hi, i really need to know how to close a running swf flash when it reaches the last line of my action script, using actionscript. thanks
Hello, check this code:
Expand|Select|Wrap|Line Numbers
  1. fscommand("quit");
  2.  
Attention:
But this code doesnt work when you test your movie from the program (Flash Program), the code works when you run the movie normall from the directory(not from flash program).

So we can say all of fscommand codes dont work when you run the movie from the program.
Jun 11 '07 #2
nixboy
4
i tried this and it works. but it doesnt work when i use zinc wrapper. do you know how to make it work?
Jun 11 '07 #3
Atran
319 100+
i tried this and it works. but it doesnt work when i use zinc wrapper. do you know how to make it work?
No I dont know.
But I heart that could import C++ to ActionScript, I mean we can use C++ on ActionScript, but I dont know how?
If you find this way it is too easy to close a program using C++.
Jun 11 '07 #4
kestrel
1,071 Expert 1GB
No I dont know.
But I heart that could import C++ to ActionScript, I mean we can use C++ on ActionScript, but I dont know how?
If you find this way it is too easy to close a program using C++.
you can use javascript window.close to close a window, thats a popular choice among many people
Jun 11 '07 #5
Atran
319 100+
you can use javascript window.close to close a window, thats a popular choice among many people
Hello kestrel:
Do you can give me the code.
thanks for your help.
Jun 11 '07 #6
kestrel
1,071 Expert 1GB
Hello kestrel:
Do you can give me the code.
thanks for your help.
i think this only works with pop-ups, but heres a page describing numerous javascript window functions in actionscript.
Jun 11 '07 #7
Atran
319 100+
i think this only works with pop-ups, but heres a page describing numerous javascript window functions in actionscript.
Thanks kestrel...........
Jun 11 '07 #8
kestrel
1,071 Expert 1GB
Thanks kestrel...........
no problemo my friend
Jun 11 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: ...D. | last post by:
OK. I am halfway decent with HTML. Now I want to try javascript for some things that HTML cannot do. I have looked over a tutorial & all. What I want to do is create a button, that when...
6
by: marcelf3 | last post by:
Hello.. This page opens a window with some information, but everytime the user changes a field in the parent window, the child window needs to be closed. These 2 functions were supposed to do the...
1
by: torbs | last post by:
I have a problem when I use javascript to get the length and position of a movie I recieve from a rtsp stream. The length and position is extremely high and not the actual length and position of...
37
by: Jan Tovgaard | last post by:
Hey everyone:) We have a critical problem, which I can see that other people also has ran into. In Internet Explorer 7 it is no longer possible to do a window.close after opening a window,...
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
1
by: Vanaja Selvaraj | last post by:
<?xml version="1.0" encoding="iso-8859-1"?> <xmltest> <parentnode> <node1>First node value</node1> <node2>Second node value</node2> <node3>Third node value</node3> <node4>Fourth node...
8
by: camphor | last post by:
I uploaded index.html, index.swf, the Scripts folder with 'AC_RunActiveContent.js' in it to http://www.paulineng.co.uk, it takes a long time to load & once it has loaded and I right-click, it says...
2
by: Mickey Flores | last post by:
I have just tried to attach a background sound with on/off button to my movie clip at frame 1 of the main Timeline. Flash Movie: the movie will keep on replaying until a viewer clicks a button....
1
by: gusheneshin | last post by:
hi everyone im Using this code to Creat a Movie Clip and load a movie "SWF" into this Flash ------------ stop(); loady._x = 226.4;this.createEmptyMovieClip("loady",5);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.