How to hide a SWF file on a Stage?
Hi,
I am loading my SWF file onto stage. Later, I want to hide it. For movie clips, I am using the following code:
TAC_mc.visible =false;
But I can't do the same to my SWF file.
Countdown.swf.visible = false;
Please do help.
if you're adding a swf file by loading it, you can use its loader to hide it.
Similar Messages
-
Embed .swf file or how to hide your .swf file on the web for protection
Hi, is it possible to hide your .swf file so that it can not be taken. Is there a way to protect it? if someone please post the chain of commands on how to do this.
http://www.google.co.in/#hl=en&source=hp&q=swf+encryption+software&oq=swf+encryption&aq=2v &aqi=g2g-v8&aql=&gs_sm=e&gs_upl=848l6367l0l9310l22l20l3l2l2l0l324l3334l1.4.7.3l15&bav=on.2 ,or.r_gc.r_pw.&fp=bdf9e41683b1cd0a&biw=1024&bih=609
-
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 hide the portal file shares on Windows
Hi,
Does anybody know how to hide the default file shares created by SAP NW 04 in windows?
In other words: what I'm trying to accomplish is renaming the sapmnt share and saploc share (both on the E:\usr\sap\ folder) to sapmnt$ and saploc$.
I know how to do the Windows part, but where and how do I configure the SAP Web AS part?
Regards,
Steven DijkmanHi guys,
Thanks for all the feedback. However, this still does not fully work.
I tried hiding the folder but it in fact only hides the folder, not the share itself. I'm trying to do the opposite, hiding the share (making it an administrative one) whilst not hiding the folder. With the folder hidden, the startup framework (NW 04 EP6 SP12) does not work.
By the way: checking / tightening access is not an option: security architects dictate what needs to happen here and unless I have VERY good reasons I should comply to what they say: change saploc to saploc$ and change sapmnt to sapmnt$.
If anybody has anymore thoughts, I'd be very interested.
Cheers,
Steven Dijkman -
How to Preloading a swf file in one application
hello friends,
How to preload a swf file in one application??
i have two panel in one panel i given login screen and In second panel there is one module i have to show this panel which is visible="false" when user logged in but i have to preload this module in second panel when the user is doing logi. and when user logged in that time i have to show the second panel hiding the first panel.
so how to do this i m not getting can anyone help me??
Thanking you,
Gajanani have created a jar file.Now i want to reuse this
jar file in another java program.Could anyone please
guide me with the steps of how to reuse a jar fileput your jar file in class path and import the class which u want to reuse in your code so that u can access all the methods in that class in ur code. -
How can I associat ".swf" files with flashlite 2.1
How can I associate ".swf" files with flashlite 2.1? When I
install flash lite 2.0,it can do ---- click .swf files system can
autoly use flashlite to play.But now I install flashlite 2.1,it
lost this ability return as "unknow files formate".
Now,how can I reassociate ".swf" with flashlite 2.1?
first: I must use flashlite 2.1.
second:I must click .swf file directly.
I know another way to open :open the player and then find the
.swf,and open it. But ,unfortunately,I can not use this way to
open.Now I will be looking for another way.unfortunately, the 2.1 developer edition you have installed
has not overwritten the original version integrated into the
symbian OS by the manufacturer. This means that the only way to
open the 2.1 files is to open the 2.1 player from your apps menuu,
and click on the swf file. You will only get direct access if the
updated player is in a firmware update for you handset.
Matt
http://www.outside-media.co.uk/blog -
I'm looking for opinions on preloaders. When do you use a preloader? How large must a swf file be before you to put a preloader in it? I am working on a small program that is 80kb in size right now and I'm not sure if I should add a preloader.
About 500kb, you should use a preloader.
Below? It depends on your file. If everything is on frame 1 , maybe it's better to use one.
You can test it with "Simulate Download" (Control - Test Scene -> View - Simulate Download) -
How can I convert .swf file to exe file?
thanks
Hi
Thank for your choise.
If showing only white screen, please download the lastest version, v2.03.
http://www.bullrushsoft.com/download.html
This problem occurs in Win7 sp1, especially IE has been upgraded to v10.
Our SWF to EXE Converter must need the FlashPlayer plugin for IE, it 's not a atandalone program.
So it only 880KB.
Our online converter is the adobe flash player exe, it can be embed the swf into, and standalone, so its size > 4MB.
More details, please visit http://www.bullrushsoft.com/online.html
Best Regards.
2013-08-11
Bullrushsoft Support Team
From: mmshahid73
Date: 2013-08-11 02:52:01
To: Sandro_brs
Cc:
Subject: _How_can_I_convert_.swf fileto_exe_file?
Re: How can I convert .swf file to exe file?
created by mmshahid73 in Flash Ad Development - View the full discussion
Hi, I used bullrushsoft SWF to EXE converter, but the created EXE file showing only white screen, i think i need to add flash player also but i don't know how to add flash player duriing swf to exe conversion.
Because when i converted swf into exe from my pc, it showing size 880 KB where swf file size is 413 KB, onthe other hand, I convert the same online which is playing correctly but the converted file size is 4.57 MB.
Am i right?
Kindly help
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5583680#5583680
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5583680#5583680
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5583680#5583680. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Flash Ad Development by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
How do I script SWF files instead of JPG files in XML loader?
I have a SWF loader (greensock.com platform) and a thumbnail image scroll underneath it made of small image buttons. Each image button has a link which loads a new SWF file into the SWF loader above. Here is the code for each button which loads the bigger SWF file into the loader above:
Button3.addEventListener(MouseEvent.CLICK, Button3_PlayPopUp);
function Button3_PlayPopUp(event:MouseEvent): void {
//setting the sourceVar
sourceVar="3.swf";
//making the SWFLoader load
//as setting the soureVar after the SWFLoader is created won't do anything unlesss
//I also re-create the SWFLoader with the new sourceVar when the button is clicked
loader_howToLoader2.url = sourceVar;
loader_howToLoader2.load(true);
Then I decided to load all button via XML loader. I followed the tutorial on XML loaders which deals with loading jpg images and assigning URL links to them in the following manner first in XML file:
<image src="appThmb_imgs/appThmb_imgs117x175/A-illuminatorUpLit_117x175.jpg" title="UpDownGlowingVase" url="http://www.888acolyte.com"/>
and then in AS3 like this:
var xmlLoader:URLLoader = new URLLoader();
thisOne.link = imageList[item].attribute("url");
function clickScrollerItem(e:MouseEvent):void {
//trace("clicked item " + e.currentTarget.itemNum + " - visit url: " + e.currentTarget.link);
var urlRequest:URLRequest = new URLRequest(e.currentTarget.link);
try {
navigateToURL(urlRequest);
catch (e:Error) {
// handle error here
trace(e);
My question is: How do I apply the code to each individual small thumbnail button to load a bigger image into the SWF loader above? Do I have to add something to XML file or this way it will never work with jpg images? Can url in XML file set the source var (//setting the sourceVar), since they are all individual and then somehow apply the making SWL loader to load part (//making the SWFLoader load) as a standard somewhere in the AS3 code?O.K. Here is my COMPLETE function.
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
function LoadXML(e:Event):void {
trace("xml load complete");
xmlData = new XML(e.target.data);
//trace(xmlData.image); //we'll see each image xml element listed in the output panel with this xmlList
buildScroller(xmlData.image); //rather than trace the xmlList, we send it to our buildScroller function
//build scroller from xml
function buildScroller(imageList:XMLList):void{
trace("build Scroller");
//var scroller_x:int=0;
for (var item:uint = 0; item<imageList.length();item++) {
var thisOne:MovieClip = new MovieClip();
//thisOne.img_width=imageList[item].attribute("width");
//outline
var blackBox:Sprite = new Sprite();
blackBox.graphics.beginFill(0xFFFFFF);
blackBox.graphics.drawRect(-1, -1, 86, 128);//-1,-1 places rectangle 1px left and up.86, 128 draws rectangle 1px wider on all sides of placed image dimenstions of 84x126
thisOne.addChild(blackBox);
//scroller_x += thisOne.img_width + 20;
//var currentX = currentImageWidth+spaceBetween;//modified line to adjust variable thumb widths
thisOne.x = (84 + padding) *item;//84 is the width of the loaded images and 15 (which was before paddign var) is the padding
//thisOne.x = scroller_x;//modified line to adjust variable thumb widths
thisOne.itemNum = item;
thisOne.title = imageList[item].attribute("title");
thisOne.link = imageList[item].attribute("url");
thisOne.src = imageList[item].attribute("src");
thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
//trace(thisOne.itemNum, thisOne.title, thisOne.link, thisOne.src);
//Loading and Adding the Images
//image container
var thisThumb:MovieClip = new MovieClip();
//add image
var ldr:Loader = new Loader();
//var url:String = imageList[item].attribute("src");
var urlReq:URLRequest = new URLRequest(thisOne.src);
trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
ldr.load(urlReq);
//assign event listeners for Loader
ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);//tells us when the loading is complete
ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);//tells us if there are any typo errors when the loading is complete
thisThumb.addChild(ldr);
thisOne.addChild(thisThumb);
//create listeners for this thumb
thisOne.buttonMode = true;//makes boxes act as buttons
thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem);//makes boxes act as buttons
thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem);//traces the title when the mouse is over the bounding box in the Output Panel
thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem);//traces the title when the mouse is out the bounding box in the Output Panel
//add item
scroller.addChild(thisOne);
But I am not sure if I expressed myself clearly. All what you have indicated happens. Images are being loaded and url strings are working. I can not figure out how to tweek the code so instead of url specified in xml file I can load swf image into the SWF loader on the same screen? -
How to call a .swf file in another .swf file?
Hi all,
I am new to flash and ActionScript3.0. Presently, I am using
flash CS3 and the code I need is in ActionScript 3.0.
Suppose, I have a .swf file(viz., file1.swf). Now, i am
developing one more .swf file(viz., file2.swf), in which I need
to execute file1.swf when a CLICK event is listened on button
present in second file(i.e., file2.swf).
In how many ways, we can get this.
And, please I need code very urgently.
Help me.You use the Loader class to load external content like swf's
or images. If
you click the main entry for Loader Class in the AS3 help,
there's an
example of loading an external swf.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
How to tell a swf file in web was made by flash or flex?
the swf file in web, how to tell it was made by Flash or
Flex? accurately!Im not sure, but I would think that right now the main way to
tell the difference would be to find out if it requires Flash
Player 8.5 or not. Currently, Flash swfs only go to 8.0. Another
way is to look at the source of the HTML file. I notice that Flex
puts an incredible amount of code into the HTML file.
Thia -
How to load External swf file in AIR
I try this code its working in computer but when I publish this file in .apk or .ipa , my external swf file is not opening
(I include my external file as well)
places_btn.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
function newvid(event:MouseEvent) {
trace("you clicked me");
var loadit = new Loader();
addChild(loadit);
loadit.load(new URLRequest("scene02.swf"));thx boss its working great
I have 3 scenes; load scene code is working great
1. How can I unload the scene?
2. Can I unload all scenes or one by one?
can I unload some think like this
Load scene 2 , unload scene 1 and scene 3
Load scene 3, unload other all scene
i try this
load2.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
function newvid(event:MouseEvent) {
trace("you clicked me");
var loadit = new Loader();
addChild(loadit);
var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
loadit.load(new URLRequest("scene02.swf"), _lc);
loadit.unload();
load3.addEventListener(MouseEvent.MOUSE_DOWN, newvid1);
function newvid1(event:MouseEvent) {
trace("you clicked me");
var loadit = new Loader();
addChild(loadit);
var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
loadit.load(new URLRequest("scene03.swf"), _lc);
loadit.unload("scene01.swf scene02.swf"); -
How to hide the alternative file metadata
Hi all, I'd like to hide the alternative file metadata from my custom profile, how can I do this without having to write a custom component for it?
Thanks,I put that rule as global since I needed this in Standard. However, in the custom profile I do need to show the alternative file and I thought I could get it done by just reversing that rule in the custom profile but it hasn't work, anyone knows how I can bring the alternative file again just for the custom profile?
I've tried so far in the custom profile side effects:
<$dpPromote("createAlternateFile", "1")$>
<$dpPromote("suppressAlternateFile", "0")$>
<$dpPromote("alternateFile:isHidden", "0")$>
<$dpPromote("alternateFile:isEdit", "1")$>
<$dpPromote("alternateFile", "1")$>
None has work, thanks in advanced for any help on this. -
How to make transparent SWF files ???
Hi all, plz i have 2 questions ,,, First, how can i remove
the title menu from the swf file so when i lanuch it (( locally not
in a browser )) the upper bar which has the min,max,close buttons
hidden,,, is that possible ??????
Second, Is it possible to export a transperent flash movie
??? for example i want to make a flash movie in the shape of a
circle ,, so when any one open the swf file just the circle appears
without background or frame for the window,, Can i do this with
flash ???
Thanx alot...On Sat, 9 Feb 2008 08:17:13 +0000 (UTC), "Ghost Of Death"
<[email protected]> wrote:
>Hi all, plz i have 2 questions ,,, First, how can i
remove the title menu from
>the swf file
I don't remember exactly, but you need to find a doc about
fscommand
paramers. There is such doc somewhere at Macromedia / Adobe
websites.
I saw it some time ago. The is a parameter like "mainmenu" or
so,
which can be "true" or "false". As far as I remember there
was such
thing.
> Second, Is it possible to export a transperent flash
movie ???
Flash movie itself is "transparent" uless an explicit
background shape
is used. It is another question how to make Flash Player box
to be
transparent. Web browsers support so called windowless mode,
but Flash
Projector (SAFlashPlayer.exe) - does not.
Personally I use my own projector, written in Delphi, which
uses
special third-party component, supporting windowless mode.
There are
other tools, supporting it. Try to search Google for
"TFlashPlayerControl". -
How can we compress SWF files and optimize tool?
I need to reduce SWF file size up to 70%, quality will not be sink.
Is this possible in adobe software? please help...Iam working on banner production, is their any better software/tools for SWF optimization/compression?
I got one SWF and FLA from other creative team, SWF size is below 50 KB look's better quality, I have changed some small amends, when i was exporting it from FLA... the SWF file weight goes to 90KB, i compressed image quality then, expoted again... the file size goes to 70KB. how can i do 50KB in better quality.
Thank you for your help!
Maybe you are looking for
-
View creation - filtering receiving time intervals
I want to create some new views for my team. We handle e-mails in shifts (most of the time there are 6 of them) so in each hour it looks like the below (we use 24 hour clock from 14:00 to 21:59 so 2PM to 10PM): 6/1 - 14:00 - 14:09 // 15:00 - 15:09 //
-
Need suggestion on implementing JMS message error recovery
Hi, Our application has a JMS topic where we publish application events. Now, there can be scenarios where the consumers cannot process the message due to some infrastructure issues and would error out. We need a way so that those messages can be rep
-
LR3 won't print to my printer with postscript driver
System config below. Can print to USB attached Epson R1800 no problem. Can print to network attached HP2840 with the PCL drivers (though it comes out in black and white not colour). Can not print to HP2840 using Postscript drivers through either its
-
HR-ABAP--infotype for the event
Hello Gurus, I have the event type as FMLA .I have got the infotype for this event as P0672. Can you please tell me the infotype for this event type OFLA . Thanks,
-
on my ipad when i try update my apps my apple id email is changed from my icloud to my ymail. all though i have never used or registed with my ymail email i only have my icloud email listed in my account