Empty SWF Files
I have published several Captivate 2 projects as tutorials on
a web page, and they have worked fine. I recently (Friday)
installed Acrobat 8 on my pc, and today, when I attempted to
republish a project that I had made some changes to, the Captivate
created the .htm file just fine, and then went through the process
to create the .swf. However, the .swf file was empty. I have
uninstalled Acrobat 8 and restarted my pc, but the trouble
persists. Has anyone had this experience? What caused it, and how
did you fix it? I am publishing to Flash (SWF), writing the files
to local drive; I have "Export HTML" checked (and no other output
option checkboxes) and have tried separately with Flash 6, 7, and
8.
In addition to installing (the subsequently un-installed)
Acrobat 8 on Friday, I had also installed Ad-Aware and Spybot
(actually, our support group did this). Would either of these
applications affect the generation of the .swf files? I'm getting
pretty panicked about now. -- Thanks, Linda
We discovered that the windows ftp program used to upload the files messed them up. Probably transfer as text or something.
Similar Messages
-
Hello there,
I have an almost empty swf file (it had controls but in the
process of debugging we stripped them out) no code. I am playing 60
instances of it in my web page.
in IE 7 (and WindowsXP/server) the CPU utilization (open task
manager) - goes to 20% and STAYS THERE. (which is really bad,
because the page is idel - nothing is happening and the machine
perf goes doen)
Is this a known issue? - Is there anything in the settings I
can change?
Cheers
-MagedHello there,
I have an almost empty swf file (it had controls but in the
process of debugging we stripped them out) no code. I am playing 60
instances of it in my web page.
in IE 7 (and WindowsXP/server) the CPU utilization (open task
manager) - goes to 20% and STAYS THERE. (which is really bad,
because the page is idel - nothing is happening and the machine
perf goes doen)
Is this a known issue? - Is there anything in the settings I
can change?
Cheers
-Maged -
Need to reference controls in an Empty swf file ?
The current beta 2 of FABridge requires you to reference any
Flash controls you might want to create dynamically via Javascript
in the Empty .swf file first (the example just uses an array to
create a reference to each control). Trouble is, if you want to
have a generic .swf file that you use for different purposes with
different controls, referencing all the possible controls will make
the .swf file unnecessarily large (which affects download
performance etc.) - can Adobe confirm whether the final release
will still require you to reference controls in the .swf beforehand
or can controls be referenced dynamically as they are needed ?
ThanksCan you provide code on how I can create a loop?
I'm not getting any error when calculating sum.
Here is what I'm trying to do, lets say I have two checks:
CHK1
Amount:200.00
Status: Issued
CHK2
Amount: 500.00
Status: Void
When calculatiing the tota for the checksl, I should see the total as 200 only because, the Check2 has been voided and it is considered zero.
I tried the following ways and it did not work:
Sum(OutboundPayment[OutboundPayment/PaymentStatus/Code=’ISSUED’]/PaymentAmount /Value)
I tried another way and even this did not work:
decode(PaymentStatus/Code, 'VOID', ‘0’, PaymentAmount/Value*100)
Please help!!!!!! -
Help!! How do you build the SWF files?
Hi, I since I am new to Flex & Flex Builder2, I have
tried to recreate an empty swf file, similar to the sample file
"EmptySwf.swf"
However, when I replace the default EmptySwf.swf with mine, I
keep getting: TypeError: Error #1034: Type Coercion failed: cannot
convert flash.display::Sprite@fda2a81 to mx.core.IUIComponent.
Steps to reproduce:
i) I am using Flex Builder 2.0.143459
ii) in the mxml file created when choosing 'Flex Project', I
add the FAbridge information as instructed
<fab:FABridge xmlns:fab="bridge.*" />
(I have also tried using <bridge:FABridge
xmlns:bridge="bridge.*" id="bridgeInst" /> )
iii) Select BuildAll and then copy to the samples folder
(overwriting the original).
iv) The error occurs in the browser.
What gives?
The FA Bridge is supposed to be an easy 'learning curve' to
get into Flex.
This is quickly pushing me away!!!!!Thanks for the prompt reply. Obviously you guys are watching
this forum keenly.
For those others that are new to Flex, I found that creating
an
ActionScript Project in Flex builder to be the way to create
a 'blank' swf file that works.
Note:
- you'll also need to add a library reference:
${FRAMEWORKS}\libs\framework.swc
- you'll still need to add the FABridge reference:
x:\somepath\\FABridge\src
Then, make your main actionscript file look like EmptySwf.as
as shipped with the samples. -
Step 1: rotating text, step: 2 publishing movie = empty swf
Hello to everybody,
and thank you for the attenction.
An easy to descipt, but hard to solve issue:
(Flash CS4).
I type some text in a flash document.
Then I rotate it with the scale/rotation tool.
Publishing my movie I have an empty swf file.
To solve this problem I had to Break Apart (Command+B) my
text two times, until I've lost text editability.
Is there a way to escape from this?
Thank you very much.
Best reguards.
Stefano Bianchi
TextProblem soved!
You know what?
You have to go in the Text propiety panel, select the "Anti
Alias" menu, and - to mantain visibility of text in the swf movie -
you have to select one of the others voices instead of the "use
device fonts" one.
Best things.
SB -
How can I control a button from one swf file to another swf file?
Hi,
I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
Now, how can I write code on my main.swf file for the button which is on my external.swf file?
Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
Thanks.Here's some example code that you should be able to adapt to your needs.
// create a new loader object instance...
var loader:Loader = new Loader();
// make the download request...
var request:URLRequest = new URLRequest("external.swf");
// add a complete event listener to the loader
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
// start the actual loading process...
loader.load(request);
// create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
var externalMovie:MovieClip;
// this function is called when the download has finished and the file is ready to use...
function completeHandler(event:Event):void {
// set the contents of the loaded movie to the new empty movieClip...
externalMovie = MovieClip(event.target.content);
// add this new movie to the display list...
addChild(externalMovie);
Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
function btnClickClose(event:MouseEvent):void { -
Delete an swf file after download
This is the situation: after a client load external content
from an http server into his flash movie, a copy of the
file for the external content (say, an SWF file) is stored
in the "Temporary Internet Files" folder.
To protect the external content, is it possible to
automatically
remove this file, after the loading is done? This should of
course be built into the client movie. Within ActionScript,
there seems to be no delete file function of any sort.
Is it possible to do it by loading a javascript or ASP page?
Any suggestions would be appreciated.Thanks for all your answers,
which have really helped me
to put things in perspective.
Let me make the situation more
explicit. I am going to use
an empty movieClip as a container.
All the Flash codes/graphics will be
loaded dynamically into this
container during run time from
a server, with user authentication.
There are two separate issues:
(1). Whether the client would
be able to access these external
contents on the server, after
cracking the container swf.
On the server side, there
are authentication routines,
so that a user must be verified
before he could load any external
contents. I can hide all related
scripts/functions on the server
side (via FMS or http server), so
that a user does not know what I
am doing. In fact, I could copy
to-be-loaded-contents into a scratch
directory just before loading,
and then the server side script
will delete these contents
after loading. So this
part should be as safe as my
authentication method, even if a
hacker has decompiled my swf.
(2). Whether the client
would be able to get hold of
the contents on his local
machines, since these
contents are loaded into
the container movieClip. This
part I am not sure. I thought
that if the files were not saved
on the disk as temp files and
if my connection was secured/
encrypted using https,
then it would be difficult for
a client to get hold of the
content swf files. But you guys
seem to be saying that a client can
still get it somehow. -
.swf files not functional in Acrobat X pro
I've started working in flash builder, making some menues and buttons to create enriched pdfs, however when I try to add them to the pdfs I get 1 of 2 outcome, neither is functional. When working with swf files I have created myself, I get an empty loading bar with the error "Error#2032: Stream Error. URL: file://PDFMedia013861/g/framework4.5.1.21328.swf"
Or I get a play button image (a default before flash activation) that takes me directly to a black or transparent window (depending on my background pref.) I have found, the file in the error refers to a file in the same bin folder as the swf file created by my application. Also, when I try to run the swf file outside of the bin folder it does not function, it simply shows white.
I have been through the support channels for Adobe Acrobat X pro to rule out the error being on the Acrobat side, but I am now unsure how to proceed if I can only construct non-functional or machine specific Flash Builder Applications.
If anyone has any insite I would be happy to hear about it, as I am fairly new to the flash development community.*Update*
I've found that if I revert back to the Flash Builder 3.6 SDK and construct the files with the same basic content the import into Acrobat is successful... Has anyone else had issues with FB 4.5 to Acrobat X compatability? -
How do you add a link to a .swf file?
Is there a way to add a link/URL to a .swf file, without embedding into the original .fla file?
Is there any way to do that with just the .swf file alone, and without actually editing the .fla or re-creating it?I won't be providing lessons, but here's the basics... to load the other swf file using AS3 you will use code like the following in the main timeline...
var my_loader:Loader = new Loader();
my_loader.load(new URLRequest("theOther.swf"));
addChild(my_loader);
addChild(myBtn); // described next but coded here
To add a link, you can create an invisible button and place whereever you like in the timeline, or if its a text link you can assign the link to the dynamic textfield via the properties panel. To create an invisible button just create a button symbol and draw a shape for it only in its Hit frame, leaving all other empty... that way you can still see the button to work with it on the stage, but it will be invisible when the file plays. You could also have the button include text or any other visual you desire if you don't need/want it to be invisible.
If you use the button approach, then you need to assign the button an instance name (I use "myBtn" for this example) Then you have to assign an event listener and event handler function for the button...
myBtn.addEventListener(MouseEvent.CLICK, clickBtn);
function clickBtn(evt:MouseEvent):void {
navigateToURL(new URLRequest("http://www.yourlinksurl.com/etc"));
The reason I addChild for myBtn after I addChild the Loader is so that it will sit above the Loader. Without that line, the Loader would have the loaded swf sitting atop the button blocking access to it.
If you plan to use a Textfield instead of a button, then you don't need the event code but you still need the addChild() line to bring it in front. As mentioned already you can link it via the properties panel field for a link. To make life simple per these instructions just assign the textfield an instance name of myBtn. -
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 -
Swf files killing me...
Morning all,
I am having an issue with users logging out of Terminal
Servers, and their profile directories won't empty/delete/cleanup
because of residual FLASH data.
I have multiple issues, but both amount to the "can't delete,
too long" message. Notice following paths:
c:\Documents and Settings\username\Application
Data\Macromedia\Flash
Player\#SharedObjects\AY5BK5S3\assets.dada.com\teams\repository\export\535
c:\Documents and Settings\username\Application
Data\Macromedia\Flash
Player\#SharedObjects\56Z2EYQY\l.yimg.com\cosmos.bcst.yahoo.com\ver\242\embed-2007-08-28- 1213\swf\yup_embed_module.swf\testMovie_config_info.sol
I can't delete these folders until I rename the .swf files to
something shorter, or just rename the folders.
Is there some way to clean these up using flash? Other tools?
Thanks,
sm00teryou can open swf with swf converter and some swf converters also provide edit functions.
As far as i know, Moyea SWF to Video Converter Pro can not only convert swf to avi,wmv,flv,mp4,gif etc, but it aslo provides some ideo editing features, abundant profile parameter setting options. http://www.swfkits.com/swftovideo/ -
Can After Effects deystroy a source swf file?
AFX is acting very odd lately, and since one of my collagues had the same problem, this is clearly not an isolated issue.
Here's what happened:
I'm working with imported swf files (doing extensive cameramovement between layers, using rasterised formats is not an option). After a while, the program starts to show some errors.
The files that worked just fine a moment ago, crop themselves at weird places, start flickering during preview, or disappear altogether.
The layers, the files are still there, but they seem to be empty. Later on, I tried to open the source files with the normal SWF player, and they also became empty!
There is seemingly NOTHING in the file, which has been clearly working a moment ago!
What's going on?Turn of the Write XMP ID To Files On Import preference.
I have seen cases in which that causes problems with SWF files. -
Flash CC exports to an empty .MOV file
I created an animation in Flash CC that I would now like to export to .MOV. I have tried different combinations of settings but the result .MOV file that is created is "empty." I tried opening the file a few different ways in different programs, quicktime, premiere, after effects. but it gives the same message that the file doesn't contain anything.
I have tried exporting it with and without the Adobe Media Encoder, without it gives me an empty file and with it gives me the message that the .MOV file could not be imported into the Media Encoder.
I am looking for a way to make the Flash file, or SWF file into a .MOV.
I also tried to import the swf into After Effects but it appeared to have lost some of the crispness and became a bit blurry.
Thanks for any help you have to offer.I can export the Flash movie as mov, all the frames are correctly exported.
Could you please give the below information?
1. Which version of Adobe Media encoder is launching when invoke media encoder from Flash CC. You can invoke the Adobe Media encoder File > import > video > Press "launch media encoder” button in select video dialog
2. Which are the Adobe software’s installed in your system (Video software’s ...... after effects premiere etc...)
3 Create one small motion tween in timeline and export as movie > Check whether the movie is exported correctly
4. Flash version number, Help > About Flash
It would be great if you can share the files. -
Hello,
Im using the SWFLoader to load a .swf file, this file is around 2,110k
I have put it in the source, embed it in variable, put the file in website and then put it in the source, but
It doesnt play it.
And in the design view it just shows empty.
Any ideas?Dont embedd it into variable only use mxml tag like this.
as
<mx:swfloader source="foldername/swffilename" height=100, width=11/> height or width according to u.try it other wise check it the flash player install or not. -
Flash Media Playback configurator swf file size
Hello,
I just start using the Flash Media Playback configurator : http://www.osmf.org/configurator/fmp/ and I am very surprised that the size of the swf file is less than 2KB. The swf file used is http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf
How did you compile it to make it so small ? It is based on OSMF ?
Usually the swf file's size of a flash video player based on OSMF seems to be greater. For example the swf file used on page http://www.osmf.org/ (http://www.osmf.org/strobe1_0/StrobeMediaPlayback.swf) is about 193KB or on page http://osmf.org/dev/1.6gm/setup.html (http://osmf.org/dev/1.6gm/StrobeMediaPlayback.swf) is about 422KB.
Thanks in advance.
ThomasHi,
Thanks for the quick reply Gelu. I emptied the cache of my web browser and had a look at all http requests (with Charles proxy and Firebug) sent when loading the page http://www.osmf.org/configurator/fmp/. The only .swf loaded I can see is http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf.
Is there another cache involved ?
Thanks,
Thomas
Maybe you are looking for
-
Deploying computer certificate to the Personal Computer Store using Group Policy
Hi, can someone please confirm if the only way to deploy a computer cert to the Personal store under the Computer branch (Not User branch) is to use an auto-enrollment template & corresponding GPO? I can see that in group policy you can deploy other
-
I just redeemed 100.00 on itunes and am trying to make an in-app purchase on a game and it let me make one purchase, when i went to make a second purchase a message popped up telling me to contact itunes support, not sure why??
-
Client exported a business prior to making modifications. The modifications were not going well, so they restored by importing the business area. During import, the selection was made to rename the existing objects. So now there are 2 BAs "BA" and "B
-
*sigh* Where to start? A couple of days ago I made the huge mistake of deciding to reformat my hdd's and "start fresh" as my computer had been developing some issues over the past few months. I'll spare you the horrid details of my struggle to get Wi
-
New update took away sound and video tops after 11 sec
Today 4.8.2012 i installed new update and after that i lost all sound on flash and youtube and other flash videos frozes after 11 sec. Yesterday everything work perfectly. My version is 11,3,31,222 I have windows 7(32bit) and i am using chrome. Any i