How to Open or load the swf file only in Java application
Hai.,
How I Secure my Flash SWF files(AS2 and AS3).?
The SWF files are only work through java application. When the java call the swf file that time only it will work otherwise it won't work including browsers also..
I attached the file to this post. It would be great if you could send me the pdf version of the block diagram. It's not totally finished, but that doesn't matter, I can complete it in school.
Thank you, really, thank you.
I know that this is not the purpose of this forum, but it was the easiest solution for my problem.
Attachments:
Programma transportmiddel.vi 129 KB
Similar Messages
-
I want to save and load the swf-file to a local disk of any user. Possible?
Hi, It's good to see you.
I am a developer in Web Flash Game.( I use AS3.0 )
I want to save and load the swf-file to a local disk of any user,
Because I want to decrease the time for loading a flash movie from site.
Is it possible?
If it is possible, I hope the swf-file has only one loading from site and
it will be loaded from a local disk of any user after that.
(I know a concept of Internet temporary file.
I want to know the other techniques of only using AS3.0.)Hi,
I have similar problem. We are producing a 70 meg browser based game and would like the user to be able to cache the game to avoid reloading the game the next time. Can this be done if the user authorise the save? If, so how? We don't care where the game is cached .
Can we prompt the user to download the file by providing a link from within the SWF application? -
Can we run the batch file using simple java application
Hello sir,
we want to run the batch file using simple java application. i tried with some example, we run the exe files but not batch file.
Runtime r = Runtime.getRuntime();
r.exec("D:\\jboss\\bin\\run.bat");
My application is server will run when we run the java appliation.
any suggestion? plz give me the solutionsyes you can run html file
WEB.SHOW_DOCUMENT is a built-in that is used in Forms to call URL from a Web Form. It works much like the similar way that a link on an HTML page works and it takes two arguments, one is URL and second one is TARGET, in your case use following.
WEB.SHOW_DOCUMENT('http://channas.iil.informatics.lk:8890/forms/frmservlet?config=abc.html', '_blank');
Hope this will work for you
Abbas -
How do i stop loading a swf file which is still in progress.
//I have three buttons on the stage (btn1, btn2, btn3)
when i click the first button swf starts loading
while the swf is loading if i press the 2nd button
the first swf wont stop loading and both the swfs start playing
but if the first swf is fully loaded then every thing workes fine.
so please let me know how do i stop loading a file which is still in progress.
var _contentSWF:ContentSWF
var _content
btn1.addEventListener(MouseEvent.CLICK, handleClick)
btn2.addEventListener(MouseEvent.CLICK, handleClick)
btn3.addEventListener(MouseEvent.CLICK, handleClick)
function handleClick(){
if(_content!=undefined){
_contentSWF.removeContent()
removeChild(_contentSWF);
_contentSWF =null;
_contentSWF = new ContentSWF()
_content = addChild(contentSWF);
_contentSWF.init(some path.swf)
//ContentSWF.as
private var _path:String
private var swfLoader:Loader
private var _content
public class ContentSWF extends Sprite{
public function init(path){
if(_content!=null){
_content.content.removeEventListener(Event.COMPLETE, completeHandler)
_content.removeChild(mymc)
_content=null
swfLoader=new Loader();
_path = path
swfLoader.load(new URLRequest(path));
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
public function removeContent(){
swfLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
swfLoader.unloadAndStop()
private function swfLoaded(e:Event){
_content = addChild(mymc)Thanks Kglad, it all worked fine but can you help me in this.
I have 4 movieclips (_a,_b,_c,_d) when i click each of the movieclip they load a SWF(my_mc)
now when the swf file loades it starts loading a Sound(mp3)
Now when i press another button (_b) while this mp3 is loading
all the methords like Loader.close and loader.unloadAndStop() workes fine but i dont know how dose the MP3 loades and start playing
I also used the below script in my_mc.swf , but it wont work
this.addEventListener(Event.unload, myfun)
function myfun(e:Event){
\ if(_sound.bytesLoaded<_sound.bytesTotal){
_sound.close()
if (_chanel){
_chanel.stop() -
How to open and analysis the .gsf file extension file
Hi friends
Hi have .gsf file and i want to open in visual studio does anyone know thisSee download at webpage below. It looks like it is binary. The zip file containd straight C language code that can be convert. I can help if necessary.
https://www.leidos.com/maritime/gsf
jdweng -
How to pass value from the jsp file to a java bean
I have huge promblem .I want to pass value of combo box to bean file to set my database contecting.The is how i call function to pass database to the bean file
<%db.setDatabase(database);%>are coding to set my databse connection
private String database;
public Conn(){
try{
Class.forName("org.gjt.mm.mysql.Driver");
DriverManager.registerDriver((Driver) Class.forName("org.gjt.mm.mysql.Driver").newInstance());
String data=getDatabase();
String url = "jdbc:mysql://localhost/"+data;
Connection conn = DriverManager.getConnection(url);
setConnection(conn);
catch(SQLException e){
System.out.println(e.toString());
catch(Exception e){
System.out.println(e.toString());
public void setDatabase(String Database){
this.database = Database;
public String getDatabase(){
return this.database;
} and Below are error produce
Note: sun.tools.javac.Main has been deprecated.
/mrs/system_menu.jsp:18: Method setDatabase(java.lang.String) not found
in class bgoc.dbConn.Conn.
db.setDatabase(database);
^
1 error, 1 warning
please help me soon. any that come to your will help
thank youI have huge promblem .I want to pass value of combo box to bean file to set my database contecting.The is how i call function to pass database to the bean file
<%db.setDatabase(database);%>are coding to set my databse connection
private String database;
public Conn(){
try{
Class.forName("org.gjt.mm.mysql.Driver");
DriverManager.registerDriver((Driver) Class.forName("org.gjt.mm.mysql.Driver").newInstance());
String data=getDatabase();
String url = "jdbc:mysql://localhost/"+data;
Connection conn = DriverManager.getConnection(url);
setConnection(conn);
catch(SQLException e){
System.out.println(e.toString());
catch(Exception e){
System.out.println(e.toString());
public void setDatabase(String Database){
this.database = Database;
public String getDatabase(){
return this.database;
} and Below are error produce
Note: sun.tools.javac.Main has been deprecated.
/mrs/system_menu.jsp:18: Method setDatabase(java.lang.String) not found
in class bgoc.dbConn.Conn.
db.setDatabase(database);
^
1 error, 1 warning
please help me soon. any that come to your will help
thank you -
How to call method in another swf file
Hi. I am at the moment making a website in Flash 8. The
website consists of a main file with the buttons and then
additional files for each page. Each of the buttons uses code
similar to this:
content.loadMovie("home page.swf");
where content is the movieclip I am using to load the swf
file into. In the main file I have a search box where a user can
type some search terms. I have written some code that will search
through the text field(s) on the page and highlight any words that
appear matching the search terms. The only problem is that I cannot
get to the text fields on the other files. So what I want to be
able to do is attach some code to the search button that will call
a method in another swf file using the parameters that I the user
has specified in the search box. How would I go about doing this?
Any help is much appreciated
JM YoungPlace functions in the external swf. Then you can call them
through the container clip
content.yourFunction(args);
Realize however, you cannot call code in an external swf
until the frames with the functions are loaded. Timing would be an
issue if the user can beat the loading clock or if you have code
that is executed automatically after you start the load.
So if timing becomes an issue, use MovieClipLoader and the
onLoadInit method. -
Loading external swf file in a new window
Hi,
I've got a few .swf files with video tutorials I've created using Captivate 4.
I wanted to link them so I've created a main screen with menu with buttons in Flash.
I've added AS to load the external swf files but they load in the same window. How can I load these .swf files in seperate window so that you could get back to the main window after you've finished watching?
Here's my code:
stop();
var myLoader:Loader = new Loader();
button1_btn.addEventListener(MouseEvent.CLICK, movie1_1);
function movie1_1(e:MouseEvent):void
var myURL:URLRequest = new URLRequest("01_01_Welcome.swf");
myLoader.load(myURL);
addChild(myLoader);
I'm also attaching screenshot with menu in flashI've deleted the line and now the code lookes like that:
stop();
var myLoader:Loader = new Loader();
button1_btn.addEventListener(MouseEvent.CLICK, movie1_1);
function movie1_1(e:MouseEvent):void
var myURL:URLRequest = new URLRequest("01_01_Welcome.swf");
addChild(myLoader);
Unfortunately, it doesn't load the .swf file when you click on the button... -
How can I have a Flash SWF file to load a HTML page?
I'm looking for a way to have Flash (CS5) to load and display a very simple HTML web page. Basically, the SWF file would be a standalone document sent by e-mail (or people would post on their web pages), and this SWF would display the content of another web page (consisting mostly in a live video on a black background)
How can I have Flash CS5 to do that??
Thank you!
-svYeah maybe I wasn't clear enough... Here's the big picture.
I run a live TV station, broadcasting 24/7 on the web via a Flash application (a projector basically). The video feed is streaming on my site, as well as on numerous web sites across the net. A Flash projector is also available as a standalone application, people download and use it to watch the movies without opening a web page.
I am currently changing the broadcast method, from Flash stream to HTTP stream. But since my TV is already posted and linked in many places, I want to change the Flash object on my server with a new one, that has a HTTP stream instead of the Flash stream. It seems that HTTP stream cannot be embedded in a SWF, but it can be displayed on a HTML web page. The solution I came up with is to have a HTML page to load in the Flash player. All I would need to do is to have that HTML page to display the HTTP stream.
So from there, most of my audience would not need to change anything to watch my streaming TV, while those who downloaded the old Flash projector would need to download a new one. -
How to create the SWF file which was included surrogate pairs.
I would like to make sure how to create the SWF file which are included surrogate pairs.
The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
Ex, I set the ' '(UTF-16 is '20B9F') to 'Unicoderange'.
However, I cannot add the surrogate pairs.
The error of outside the scope of Unicode occurred when I compiled the AS file.
The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
Then, I read the following pages.
These pages are written that unicode-range supported surrogate pairs.
http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
So please let me know how to create the SWF file which are included surrogate pairs.
Environment
- Flex3.5a
- TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
Thanks,
Takeshi Ishihara.I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..
-
How to display PDF file, inside the SWF file or flash exe file
I have create the application for Employee details using flash actionscript 3.0
This application is to view the organization employee details, iam using the tree component in this application,
the tree component is to get the dada via xml file, this xml file save in the remote server ,
I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the player Adobe Air 2.6 and run the flash file using
ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
Pls Help...................hi i need to display the pdf file inside the swf file or flash exe file .
I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
Please suggest. -
How to reduce the swf file size of an imported After Effects file
Hi!
I am trying to make a web banner for an internet marketing company, so it has very specific requirements. We had it made in After Effects, and I was able to export it as a FLV file and import to Flash just fine along with the SWF. Now, I need to make the SWF file significantly smaller.
Right now it is 2.5 MB and we can only submit a 40K size SWF. Is it even possible to reduce the size so much and still keep the animation's intregrity?
I am more familiar with Flash than After Effects, but can play around with settings, etc if someone can tell me what to try.
Thank you for your help!the easiest way to load and play your flv is to use an flvplayback component. you just drag it from the component panel to the stage and, in the properties panel, assign its properties (eg, skin and source).
but that will probably put you just over your 40kb limit and will require the skin.swf to be placed on the server with your banner ad.
to decrease your swf size to negligible, use actionscript to play your flv. this is the barebones code needed. just replace your_video_url.flv:
var nc:NetConnection = new NetConnection();
nc.connect(null);
ns:NetStream = new NetStreamnc);
ns.play("your_video_url.flv");
var video:Video = new Video();
video.attachNetStream(ns);
addChild(video); -
What is the code to load a .swf file in AS3 on the same layer?
I'm new to AS3 and am trying to figure out the code for loading a .swf file on the same layer of the same page, thereby replacing all of the information. I don't want to put it on layer 2, etc. Another easy thing I can do in AS2 but am struggling with in AS3.
thanks!
SteveThere are no 'layers' in AS3 - there is just the display list. You can use addChildAt to add things at a specific depth - thereby placing it behind or above something, but if you just use addChild it goes on top of whatever is currently there...
Anyway - to answer your question, you can load a .swf with a Loader object like so:
var l:Loader = new Loader();
l.load(new URLRequest("myFile.swf"));
addChild(l);
You can wait for complete like was shown, but you don't have to. And this will not 'replace' anything - it just loads myFile.swf on top of anything currently being shown. If you want to 'replace' what's there you need to remove it first:
while(numChildren){
removeChildAt(0); -
How do a client access the WAR file at loading a URL?
I would like to apprehend that how do a client access the WAR file at loading a URL?
Actually a web containter,for example,servlet container can have the software tool such as iPlanet[tm] Application server to deploying the servlet classes and JSP files by containing the WEB-INF directory.
how could the process of request and reponse be done by employing the WAR file..plz steer me....clients don't access a war file. that's just a package for the container to deal with.
when the WAR is deployed, the container unpackages the contents and deploys the app. From that point forward clients use the deployed stuff. the unpackaged servlets handle requests from then on.
your question makes little sense to me.
% -
How to down load the .js files
Hi Experts
How to download the individual js files attached to the Workspace Applcation ?
I tried to down load the Uploaded file Using FireFox when i Saved the Files & it is saving all the uploaded Files in one page !
Instead of this i wanted to download an individual file wise as we uploaded to the Application
We use Apex 4.0/Oracle 10g/Unix OS
many thanks
Edited by: jrDba - atm on Jun 1, 2011 1:14 AM
Edited by: jrDba - atm on Jun 1, 2011 1:23 AMjrDBA,
You can use Firefox + Firebug to see the associated APEX JavaScript files. Keep in mind that the APEX JJavaScript files are minified - compressed so that they are hard to read, but smaller to transmit. Thus, you will need a de-minifier tool to read them. There's a number of those available for use with Firefox - one that comes to mind that actually integrates with Firebug is YSlow.
Thanks,
- Scott -
http://spendolini.blogspot.com
http://www.sumneva.com
Maybe you are looking for
-
Part of my power adapter broke off in powerbook power point!
i unplugged the power adapter from the powerbook and the male end has broke off and stuck in the powesupply hole. so wedged in, is there any safe ways to fix it? never opened up my powerbook and had a looksy.... :[
-
Easy Points...Easy Question
I know you take out the battery, but then what do you do to perform a hard-reset of a macbook?
-
Bapi to read production order network
Hi all I am searching a bapi to read entire network of a production order. I tried searching on forum but did not find anything. Can anybody help me please? regards Gabriele
-
How update my macbook air from OS X 10.5.8 to newest OS
how I can update my MacBook Air from OS X 10.5.8 to newer OS avalaible
-
How to save PDF form to a KM Folder in Portal
Folks, I have a requirement to save ADOBE Form to KM folder in portal and again access that form for changes. Thanks, Manish