Flash :: Hide SWF Upon Loading?
Jun 9, 2010I am loading a SWF in an HTML page the following way (using JavaScript)[code]...
View 2 RepliesI am loading a SWF in an HTML page the following way (using JavaScript)[code]...
View 2 RepliesI have a situation where I'm using the FLVPlayback component and it starts off blank, meaning that it shows the video player skin but doesn't load a movie until prompted to do so. However, the progress bar in the skin is acting as if a movie is being loaded. I'd like to make it invisible or stop it until I need it, but I can't seem to target it. I've tried the following with no success.[code]
View 1 RepliesI am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts. If I add Mouse.hide() to a preexisting script, I get the following error; line1 1061: Call to a possibly undefined method hide through a reference with static type Class. If I add Mouse.hide():void; to a preexisting script, I get the following error: line1 Label must be a simple identifier Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.
[CODE]...
I have a button called myBtn.
In my actions in Frame 1, I have tried both[code]...
I develop a game that will have to load jpg images that now i just put in the same folder where swf file is, in order to load them when it is needed. Is there a way to somehow embed all this stuf in the swf so that i will have to deliver only the swf file?
View 2 Repliesi want to make a flash with live streaming.i dont want to show the url to user and also i dont want idm to show option of download.
Here is eg but i dont Understand [URL]
I am trying to use load movie to pull in an external Flash file. ALl the external file is, is an image with a dynamic text field. My XML is
<feedbackImage xloc="100" yloc="200">feedbackHolder.swf</feedbackImage>
In Flash right after the XML loads I have
imgfeedback = myFeedback[0].firstChild.nodeValue;
feedbackHolder_mc.loadMovie(imgfeedback);
feedbackHolder_mc._visible=false
When Flash runs, the loaded swf shows up inside the holder and I am able to control the functionality of it....except I can't hide it. the _visible wont work. So I tried feedbackHolder_mc.unLoadMovie, which did hide it, but when I went to load again, the text I was trying to pass into the text box didn't show up. Basically I want this loaded and then hidden until a user gets feedback, at which time the loaded swf becomes visible. Hoping I can use the visible property.
I would like to call a swf file which takes some parameters, but I do not want those parameters to visible on the client (let's say a secret authentication token or something like that).[code]...
But the flash parameters don't seem to be making it to the swf.
I have MovieClip, created with CS5. Is there a way to hide (set visible = false) all it's children (objects which lie on movie clip) within AS3 code?
View 1 RepliesI was wondering, if I have a proprietary flash code (e.g: some cool animation which is really just client side stuff, its just example), and about to rewrite it using HTML5, is it possible to hide the code? or at least make it harder to see (unlike right click, view source, then you can just copy paste the code).
View 2 RepliesI have a question about hiding a flash button. I have 2 buttons (one for muting and one for unmuting). When I click on the mute one, I want to make it so that it hides the mute one and makes the unmute button visible and vice-versa. I have tried using the ._alpha on release for actions but its not working. I also tried using ._visible.
View 3 RepliesI have a flash map. There are 6 clickable countries on the map. When one clicks on a country I want html content to appear under the flash movie. As far as I can see the best way to accomplish this is to have all the content already under the flash movie each in a separate div, with display set to hidden. Then action script inside the country buttons calls a javascript function on the html when that button is clicked, to set display:block for corresponding content filled div. I've tried a few scripts but couldn't get it working.
<code>button_kenya.onRelease = function ()
{
flash.external.ExternalInterface.call("kenya");
};</code>
Is there anything else i should do when imbedding flash into my page so that the flash can talk to the html and call the javascript?
Is there a way to hide the controls on a flash video (flv) until the user scrolls over the video? So the page opens, the video starts playing (still no controls visable) and then when a user scrolls over the video, you then see the controls for the first time. I have searched high and low.
View 7 RepliesI have a swf file that has numerous buttons on it, and when I hover over them images appears. But when my images appears, I have other buttons (whose layers are on top of this current button layer) also appear on top of my images. I tried merging all my buttons onto one layer, but that doesn't seem to work either.
How would I be able to not make those other buttons appear on my hover state without using ActionScript?
I'm making some executable / projector files in Flash CS5. Using CS4 I was able to stop the menu appearing by using flash.system.fscommand("showmenu", "false");
It doesn't work in CS5. Is it a bug? Or a feature? It's incredibly annoying - how do I get rid of the menu without resorting to an external projector program or without having to use AIR?
I have written a modal using jquery UI and it appears at the front of a flash movie thus the html inside the modal becomes corrupt, I tried to hide the movie right before modal gets triggered and reappears after closing the modal, works well but each .hide() and .show() the flash movie gets resetted while all I want is to hide (without removing the movie) and displaying it once it is triggered to .show that modal div.
View 3 RepliesI have an .swf file (a flash animation) that is too big and unfortunately we do not have the source code (the .fla file) anymore. I need to display it in a div, and want to hide part of it.
View 2 RepliesI have a website which I am setting up. However, I want the first page (Home) not to have any sub menu. When I change the value of true to false all the other pages where I want the drop down to appear also disappear.I want other pages to have sub menu but not the home page. I have tried to change the xml path etc, but nothing seems to wor am new to xml and finding this very challenging.I have uploaded the config.xml and the layout xml's. I have also placed the index.htm and js script therelso me understand from where it is reading the config.xml.UPDATE:I checked the SWF and yes the it is pointing to the config file. What I still dont understand is that how can i remove the sub-menu from home while keeping it for other pages.
View 1 RepliesI need to be able to transmit data from a Flash browser application to a PHP file on a web server, both securing and validating the data whilst and at the same time trying to prevent unauthorised creation of the message. (I want to try and ensure that the message comes from the application, not a user sending a message via another means).
In a C++ application I would Salt the data, and send the hash of the data along with it, and then validate the hash against the data to ensure integrity and source.However, in Flash (& Java), applications can be decompiled so that the source code is viewable. So if I used this method, someone could (relatively) easily find the salt, and then create a 'valid' message of their own to send outside of the application.
Is there any way I can 'hide' this salt code to help secure the transmission? Yes, I know there are code obfuscators, but they don't fully hide the code, just add another layer.Or is there another method entirely that could be used to transmit data and validate the source & content at the PHP end?
Im using show/hide to load a 'loading' flash file whilst a form loadsThe div im trying to show contains an swf fileThis works fine in all browsers except safari, which does not show the swf file upon clicking the submit buttonIm using...
$('#form').show();
$('#loading').hide();
I have a flash file in a div. This div is set to visible (display:block;). The div has two sister divs. All three divs are controlled by custom built jQuery tabs, so when another tab is clicked, the currently visible div turns display:none;. When the tab is reclicked to set the flashes div to display:block, the flash file loses all its values that are stored (for example in a textarea, all the text gets reset, and where a element stores a path to the image, that gets reset).
I have tried other methods like width:0; height:0;, which sort of works, but as the flash file is larger than the other two divs, it is still visible underneath. So then I tried overflow:hidden; but the same issue still occurs as above (losing values).
visibility:hidden isn't applicable as there is a large white space where the flash file should be.
position:absolute; top:-800px; left:-600px; loses variables.
border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; also loses variables.
Is there any other method I can use? I have wmode=transparent aswell.
Below is the code of my flash embed:
<object wmode="transparent" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="690" height="2047" id="gdh_v3_1" align="middle">
[Code]....
I am trying to create a sprite in Actionscript 3 using Flash Professional with fixed width and height that contains a list of TextFields that scrolls up and down. I want the highlighted textfield to be fixed focus with the text that goes out of the sprites bounds to be invisible. I am new to AS3 and tried to set the width and height of the sprite but it did not work. I would do this with CSS by having a with a fixed width and height and setting the overflow property to hidden.
View 2 RepliesHow make hide movie through flash vars
View 7 RepliesI have two div layers in an html page. Is there a way to hide or show them by clicking a button in flash? I have searched online and haven't been able to find something that works.
View 1 RepliesIn Actionscript 3.0, how do I hide the mouse using:Mouse.hide(); to only hide it over a particular area or a particular object?
View 1 Repliesis it possible to hide it in mx when the text is too short to be scrolled? i read its possible with flashMX04.
View 3 RepliesIs it possible to control contents over divs and show/hide with flash as2?
View 1 RepliesI am new to flash parameters but from the research I could find so far it seems that this should be fairly simple. I have a flash file that has a movie clip in it. In this movie clip there are two movie clips. What I need to do is show a one movie clip and hide another. I basically only need to set up the reading of the flash parameter code in flash...
var imageToShow:String;
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
This is basically what I have... I'm not sure what to go on to next or if this is even correct.
Code:
if (parameter == "image1") {
image.image1.alpha = 1;
image.image2.alpha = 0;
}
I am making a flash presentation I have buttons on the top presentation that will navigate to differnt slides.The question i have is for each button I have the behaviors set to show the screen I want and hide all of the other screens.I have to go to each button and do a hide each screen one by one, I have about 40 of them. Is there a easy way to do that in bulk. I.E. If i have button 1 I want it to show only screen 1 and hide screens 2-40. Button 2 will show only screen 2 and hide screens 1, 3-40
View 1 Repliesis there a way to hide default cursor[flash]when it's opened using chrome? i can hide it using ordinary way when it's opened using firefox/IE but somehow it doesn't work when it's opened using google chrome.
View 5 Replies