Problem running swf file outside dev environment
If I copy my bin-debug folder outside the dev environment
i.e. any where in hard disk and run the html file the swf is unable
to connect to the HttpService.
Is there any way to solve this problem.. Its working fine
when i am running it from inside of flex builder bin-debug dir.
"Crossdomain.xml" is also provided.
Thanks
This is probably due to security restrictions of running a
file on your local machine that access network resources. Try
running the SWF file via a network request and not opening it as a
file (use the
http:// protocol rather than file:// in your
browser).
matt horn
flex docs
Similar Messages
-
I was messing around the other night and trying to download
Flash Player 9. No clue what happened here but now when I click on
a .swf I'm getting an error that says "$" is not a supported format
and my .swf is completely disappearing. Anyone have any idea what I
did here? Prior to this, I was getting all of my movies running in
Flash Player 6, even though I can't find a Flash Player 6 version
anywhere on my computer (I'm sure it's there somewhere). Captivate
shows I have Flash Player 7 and 8 but now nothing runs.
ThanksIf you just attempt to run the swf file created by Flash CS3,
your system will try to load the swf using the Flash runtime. This
will not work, since the SWF contains AIR code not available in the
Flash runtime. To run your AIR application outside of the Flash
authoring environment, you must first package it to create an AIR
installation file, and then install your app from that AIR file.
Use the "Commands> AIR- Create AIR File" menu command to create
the AIR installation file. -
I have exported a swf file from indesign CS5.5 ( contains audio, interaction, movie...) and I want to run it on my iPad, and off-course I can not install flash player on iPad. How can I solve this problem Without loosing interactivity? What is the right format to create an interactive brochure and become suitable with ipad ?. Thanks a lot Sahar
sahar2002eg wrote:
What is the right format to create an interactive brochure and become suitable with ipad ?.
Use the iBooks Author app to create .ibooks format, or follow instructions provide by Adobe to produce an .epub format file using InDesign. -
I've created an animation .swf file in Flash and inserted it on a new webpage. When I go to view it in live mode, it's blank. When I view it in the IE browser I keep getting a message that I need a newer version of Adobe Flash player, which is not the case, and even going through the install process doesn't help. When uploaded, it doesn't appear on the webpage. This is Dreamweaver in the CS6 release on a Windows 7 64 bit system. The animation file runs fine when viewed from the original folder, but does not funciton (blank screen) when opened from the copied file Dreamweaver puts in the site folder. Can anyone offer any suggestions? Also, is there a way to loop a .flv file? This could be a work-around if I can't resolve the .swf issue.
Thank you in advance for any help you can offer.
MarkHi Jon,
Unfortunately not. The website is actually an HTML module logded in a third party program. Even in the development stage though I can't see the .swf file in either the live mode or by viewing with IE. Flash video files play fine as have the other graphics I've incorporated. It seems like a file is missing to make the .swf animation work properly. When I copied the file over from the original folder, Dreamweaver also placed "expressInstall.swf " and "swfobject_modified.js" in a scripts folder. I'm wondering if there should be another or different file to make this work.
Mark -
DW CS3 ImageViewer - problem with .swf file
I'm trying to make a slide show in Dreamweaver for the first time. I've searched and found a lot of common problems people have - forgetting to upload the .js file, not including the .swf file, etc.
I think I've done everything right (obviously I'm wrong though), it previews in DW, it works when I preview it in a browser, but when it's uploaded, nothing.
But I think I've found where the problem is. The .swf file that was created doesn't seem to be the right file. When I open it, it shows a blank flash slideshow with three empty slides, just as the sample is when you first open the Imageviewer.
But then what is DW pulling the slideshow from that works in the preview?? How do I re-export the .swf file from DW?
Do my questions even make sense? Sorry, kinda new at all this.
Thanks in advance.
Oh, here is the blank page, but when I view source, the code is there.
http://www.americanindianreport.com/imageviewer.html
The .js file is in the Scripts folder, the .swf is in the same folder. Actually, here you can see why it doesn't work. This is the .swf file, three blank pages:
http://www.americanindianreport.com/imageviewerflash.swfIf you look at my last post, the js file has been overwritten with html code, and this is what will be causing the problem.
The only solution is to delete this file insert a new flash object (any swf file will do for this), then copy the new js file to your server, as your flash will not work with this file.
here is a short example of the js files content (not javascript), -
<html>
<head>
<title>Page not found | www.americanindianreport.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/http://www.falmouthinstitute.com/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/book/book.css?r" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?r" />
PZ -
Problem running .exe files
I cannot run .exe files on Windows 10. A pop-up window shows a message that the .exe file I am trying to run is missing. What can I do to solve this problem ?
Keep in mind that the Win 10 build "refresh" operations are clearing parts of the registry back to default values, so some things you've installed might end up uninstalled or only half installed after an upgrade to a new TP build.
What EXACTLY is going wrong? In other words, exactly what are you trying to do, and what is the exact content of the message(s) you're seeing.
Details matter.
-Noel
Detailed how-to in my eBooks:
Configure The Windows 7 "To Work" Options
Configure The Windows 8 "To Work" Options -
Problem loading swf file in flash player 9.0.47.0
Hi all!
I have a really strange problem and couldn't find any information over the internet.
The problem only occurs in flash player 9.0.47.0. It works in all the others players, newer and older..
I try to load a swf file to my web application and get the following error: "This content requires Adobe Flash Player 10.2. Would you like to install it now?"
the log file shows:
*** Security Sandbox Violation ***
SecurityDomain 'http://10.1.1.84:8080/app/jsp/flex/bin-release/LP_FLEX_project.html' tried to access incompatible context 'http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?0.5087 71003223956'
Warning: Reference to undeclared variable, 'out'
Warning: Reference to undeclared variable, 'out'
Warning: 'out' has no property 'text'
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Warning: checkPort is not a function
Warning: Reference to undeclared variable, 'xOffset'
Warning: Reference to undeclared variable, 'yOffset'
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Warning: checkPort is not a function
Warning: Reference to undeclared variable, 'cameraSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'microphoneSettings'
Warning: 'System' has no property '_visible'
Warning: Reference to undeclared variable, 'privacy'
Does anybody has a solution??
Thanks alot!
AssafMaybe FP9 does not support your application / swf file? How did you develop it?
-
Help! problem running .bat files in browser
HI! Hope you can help me!
I have a simple applet that runs .bat files and retrieves the resulting information into a text box.
To run those files I use:
Runtime rt = Runtime.getRuntime();
Process processo=rt.exec("C:/po2PrtMonitor.bat 04600105 ope >C:/infoPrt.txt");
in wich "04600105","ope" and ">C:/infoPrt.txt" are parameters that the .bat file is expecting. When the file is ran it saves the resulting information on a simple .txt file, that I later read by using:
fichResposta = new FileInputStream(fichRespostaPath[0]);
When I run my applet on JDeveolper 9.0.2.822 is works perfectly, the problem is when run it on the browser.
On the browser the applet executes the file by opening a MS-DOS prompt and when it finishes executing the file, the prompt closes automatically and doesn't send the information into the .txt file.
My .bat file is something like:
jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 %1 %2 %3
where %1,2%,3% are the above parameters given by the applet when the file is ran.
If I run it on JDeveloper I get:
C:\>jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 04600105 ope
PRTSES=04600105 HDR=0460010000000005 STA=OPENED TRF=ACTIVE TRP=CONN ILTS=15 Long postings are being truncated to ~1 kB at this time.Here is what is missing:
ILT=0 MSQ=388 HDR=04.60.01.00.00.00.00.05.41.00.01.84. CMD=STRT-TRF
When the applet is run on the IE broser what I get is simply:
jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 04601005 ope
I have no idea as to what the problem might be! Do native methods work differently on the browser?! Could it be a problem on the deployment? A library not included on the deployment profile? Suggestions are very welcome.
Hugo Rosas -
Problem loading SWF file in FlashIsland
Hey,
I am trying to use FlashIsland for ABAP WebDynpro.
Unfortunately the SWF File is not loading. When I type the URL to the SWF File directly to the browser, the SWF file loads correctly.
In the header I have posted the statement: initialize="initApp()". My initApp I have implemented, too (see below).
import sap.FlashIsland;
public function initApp():void
FlashIsland.register(this);
What can be the problem there?
First I thougt it might be a problem of my Internet Explorer configuration or the customizing of the SAP System. But when I execute the WDR_TEST_FLASH_ISLAND application everything works fine there.
Thanks in advance for your help.
Kind Regards,
Thomas WeberSo,
I installed Flex Builder 3 with the Standard SDK 3.2.
Now i implemented a very simple Flex Project again:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="initApp()">
<mx:Script>
<![CDATA[
import sap.FlashIsland;
public function initApp():void
FlashIsland.register(this);
]]>
</mx:Script>
<mx:Label x="166" y="115" text="TEEEEESSSSSSSSSTTTTTT" width="399" height="161" id="LBL_TEST" enabled="true"/>
</mx:Application>
I get the same behavior like explained before. The Flash is not loading at all!
And again I cant do any right click on the page. I get an empty page loaded...
Please help me! What can be the problem?
Nice regards,
Thomas -
Problem with swf file on website
I created a swf file with flash CS4. I can do the publish
preview and the video plays just fine. I can even view the
generated html file on my local machine and it works. I upload to
my website and it does not work. Here is the link
http://www.streamlineprofits.net/movies/Potential.html
The player skin is acting like it cant find the swf file but
it is in the same directory. Also, when i go to the publish
settings for the html I select the "Paused at start" but the video
plays when I load the local html file in my browser. Any ideas or
suggestions would be greatly appreciated.
BrianI don't think it's a permission problem, but somehow the
Flash Player thinks (I think) the stream is coming from another
domain. With me a error pops up that goes like this:
SecurityError: Error #2148: SWF-Datei
http://www.streamlineprofits.net/movies/Potential.swf
kann nicht auf lokale Ressource C:\Documents and Settings\Acer
Valued Customer\My Documents\web
projects\streamlineprofits.net\movies\Jan09_Open.m4v zugreifen. Nur
SWF-Dateien in der Sandbox 'local-with-filesystem' sowie
vertrauenswürdige lokale Dateien dürfen auf lokale
Ressourcen zugreifen.
at flash.net::NetStream/play()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_play()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
at fl.video::VideoPlayer/
http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()
Have you tried a super-simple <object>-style embed of
your video?
I really do think it's the Adobe-AC-JS-stuff that's messing
things up?
You could instead consider using swfobject
http://code.google.com/p/swfobject
But first I think you should try an <object>-embed to
see if it's the JS or the Flash that's messing things up. -
Problem running jar files of java in Linux
I cannot run jar files in java/jdk1.3.1_01/demo in Readhat Linux 6.2
The command is :--
[root@localhost Notepad]# java -jar Notepad.jar
java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.Class.forName(Class.java:33)
at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
at kaffe.jar.ExecJar.main(ExecJar.java:61)
[root@localhost Notepad]#
My ~/profile setting is :---
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
export JAVA_HOME=/usr/java/jdk1.3.1_01
export NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/ns4[root@localhost Notepad]# java -jar Notepad.jar
java.lang.NoClassDefFoundError: javax/swing/JPanel
at java.lang.Class.forName(Class.java:33)
at
at
at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
at kaffe.jar.ExecJar.main(ExecJar.java:61)
[root@localhost Notepad]#
My ~/profile setting is :---
PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/u
r/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
export JAVA_HOME=/usr/java/jdk1.3.1_01
export
NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/n
4Add the line:
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar
Then, run the command "source ~/.profile" and then the jar file should be able to run.
Bhav -
Running swf file within a dreamweaver page
Hi all ive been really struggling in getting my web shot gallery to run with my dreamweaver page on my site, ive managed to get it running on its own on my server but soon as i put in my site it does not run, i only get a white screen
www.gazell.co.uk/renault.html
thats the white screen but if you navigate on the left go to photos then renault the actual gallery works but not with the page i would like
please advise ThanksHave you uploded al lscripts associated with the SWF? Auxiliary SWF assets such as palyer skins? Was the gallery created relative to the same root directory as your site? One problem I definitely see is the use of spaces in file names, which could lead to names being truncated or misinterpreted....
Mylenium -
Problems running jsp files with tags on tomcat 4.0
hi,
i had some jsp1.1 stuff running on tomcat3.3.
last week i moved to tomcat 4.0 , changed the tags to fit jsp1.2 and... everything is wrong now. while trying to run jsp with tags i get an error message (same for all files):
---->
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: (class: org/apache/jsp/djsp$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for function call
<-------
the jsp files with no tags and servlets are running ok.
I NEED YOUR HELP!!!cyclid,
i have the same environment setup and the same troubles. after searching the forums, it seems that there are others with the same, if not similar issues, yet no solutions. if you find the solution to this one, could you please post it. i would really appreciate it since i have been on this one for several days with no success. i even tried the helloworld jsp/custom tag examples from a jsp profession book that i have and that won't work.
Anyone out there,
if you have any idea why this problem exists, any solutions, ideas would be appreciated.
thank you,
navesink -
Problem With Swf File. Please Help!!!!
Hi! I recently got adobe flash cs4 and i tried to create swf wallpaper (flash lite 1.1), so everything looked good, untill i opened the file. The problem is its constantly blinking, like its refreshing with every second or frame or something. Then i transfered it to my phone and theres no change. I had the same problem with CS3...I attached the sample, if someone cares to see...Please can somebody help me??? Thank you!
I think (at a first look) that you should put a stop() command at each frame of your movie.
Playhead is running through your movie from one frame to another and back to beginning if you don't stop it with stop() command.
What I mean is:
in frame one of your movie put ActionScript: stop();
in frame two of your movie put ActionScript: stop();
etc.
If navigation through your movie is linear, like some animations then don't put this AS in frames, but it seems to me that this will solve your problem.
For more (if this isn't helping) upload your movie along with ActionScript. -
Problem running batch file or OS command on XE database
Hello, I´m trying to do the following, run a OS command from the database, especifically a 10g XE database and Windows XP sp3, since the database itself does not provide a Host command I did a C program and compiled it into a dll and then running an external procedure as a database Library. if I try something simple like creating a txt file it works just fine.
the problem is when I try to run an export.
when trying this:
exp username/password file=file.dmp log=log.log owner=user
I get this error
ERROR: ORA-12560: TNS:protocol adapter error
so, looking into that error over the internet someone suggested to put the @db , so I tried the following
exp username/password@DB file=file.dmp log=log.log owner=user
which I got from the TNSnames file, but then when I run the export on the database with a procedure it just hangs, checking the session it has the event "HS message to agent".
any ideas why I'm getting that error? and what can I do to resolve it?
thanks in advance
Edited by: ceschamo on 16-Sep-2011 15:38ok, lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-SEP-2011 9:16:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (EXTPROC_FOR_XE KEY =)))
LISTENER STATUS
alias LISTENER
TNSLSNR version for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 19-SEP-2011 7:04:07
Activity Time 0 days 2 hr. 12 min. 18 sec.
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameters C: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ network \ admin \ listener.ora
Listener log C: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ network \ log \ listener.log
Receiving Endpoints Summary ...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (PIPENAME = \ \. \ Pipe \ EXTPROC_FOR_XEipc)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = ComputerName.Domain) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = 127.0.0.1) (PORT = 8080)) (Presentation = HTTP) (Session = RAW))
Services Summary ...
The service "CLRExtProc" has 1 instance (s).
The instance "CLRExtProc" with status UNKNOWN, has 1 handler (s) for this service ...
The service "PLSExtProc" has 1 instance (s).
The instance "PLSExtProc" with status UNKNOWN, has 1 handler (s) for this service ...
The service "XEXDB" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
The service "XE_XPT" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
Service "xe" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
The command completed successfully
And lsnrctl service
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-SEP-2011 9:18:01
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
Services Summary ...
The service "CLRExtProc" has 1 instance (s).
The instance "CLRExtProc" with status UNKNOWN, has 1 handler (s) for this service ...
Manager (s):
"DEDICATED" established: 0 refused: 0
LOCAL SERVER
The service "PLSExtProc" has 1 instance (s).
The instance "PLSExtProc" with status UNKNOWN, has 1 handler (s) for this service ...
Manager (s):
"DEDICATED" established: 1 refused: 0
LOCAL SERVER
The service "XEXDB" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
Manager (s):
"D000" established: 0 refused: 0 current: 0 max: 1002 state: ready
Pid: ComputerName, <machine: dispatcher 2672>
(ADDRESS = (PROTOCOL = tcp) (HOST =ComputerName.Domain) (PORT = 49177))
The service "XE_XPT" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
Manager (s):
"DEDICATED" established: 104 refused: 0 state: ready
LOCAL SERVER
Service "xe" has 1 instance (s).
The instance "x" with status READY, has 1 handler (s) for this service ...
Manager (s):
"DEDICATED" established: 104 refused: 0 state: ready
LOCAL SERVER
The command completed successfully
Maybe you are looking for
-
Front Row .mov - audio only
Hi guys, i've been trying to watch some .MOV files in Front Row and it has issues with some only playing audio. As far as i can deduce, with basically nil knowledge about computing, the common theme with files played in Front Row, playing audio only,
-
No audio from iPad Mini over Pioneer AVH-P2400BT car stereo
I purchased a Pioneer AVH-P2400BT in December and had it professionally installed. I use my iPhone 4s (iOS 6.1) with the Pioneer CD-IU51V cable to listen to music daily in the car. All works great! My problem is is that I also have an iPad Mini (iOS
-
Projected on hand quantity calculation logic
Hi , I am trying to extract information for projected on hand quantities. Here were my findings 1. MTL_SUPPLY_DEMAND_TEMP this table has one column called ON_HAND_QUANTITY which stores Projected on hand quantity based on accumulating supply and Deman
-
I have installed the jakarta FileUpload. I have spent a couple of days trying to get the sample file upload to work. Did web search and forum searches. However could not find any solutions to my error. My FileUpload.java package com.upload; import or
-
i guess this is because of flash...it this correct?