ActionScript 2.0 :: Trying To Hide Loaded SWF From XML Into Flash
Mar 24, 2009
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.
View 3 Replies
Similar Posts:
Oct 6, 2009
I've found lots of answers on making a button visable after a swf has loaded but not a flv. I am preloading an flv, well 20secs of it, then it starts playing. But I have a 'play' button on the stage and it sits there tempting people to hit it whilst the preloading bar works its magic preloading the flv. I want the button to be visable only after the flv has loaded or at least until it starts to play.[code]
View 2 Replies
Oct 7, 2009
I'm loading data into a Flash application via XML, which is in the same directory as the swf file on the server, and would like to prevent the XML from being viewed in a browser. I was assuming I could set the XML's permissions to allow Owner and Group read and prevent Others from reading (UNIX 770), but when I do that the XML won't load.
I thought about using an .htaccess file but I don't want a password dialog to pop up when the swf requests the XML. Is there a way of doing this via permissions?
View 1 Replies
Jan 8, 2010
I'm trying to hide the progressBar after the video loaded completely. To do that i use this line:
ActionScript Code:
my_FLVPlybk.bufferingBar._visible = false;
trace(my_FLVPlybk.bufferingBar); // outputs undefined
The problem is i can't reach to the reference of the bufferingBar. So i can't hide it.Is there a way to hide the bufferingBar?
View 0 Replies
Jun 22, 2006
how to hid the preloader is the external swf is already loaded...?
View 4 Replies
Apr 15, 2011
Myapp loads an external swf and adds it to MovieClip.External swf movie has elements that are placed outside the stage (they go on the stage during swf playing). But after loading that elements are visible in the main MovieClip.In other words, it looks like the whole space outside the stage is visible as well as the stage.How to hide elements outside the stage of loaded swf?
View 1 Replies
May 27, 2003
On the stage I have a mc called "content"Inside another mc I have a button that loads a swf into "content"
on(release) {
_root.content.loadMovie("file.swf", 0);
On the first frame of the main stage I have this action:
[code]....
View 1 Replies
Aug 31, 2009
I'm loading a dozen or so external .swf movies in the 1st frame of my movie in the timeline which are to be initially hidden and shown to display page content when necessary along the rest of the timeline. My problem is that when I load them in, they all automatically display on the 1st frame. Here's is the code I'm using:
Code:
var keyC:MovieClip = createEmptyMovieClip("keyC", getNextHighestDepth());
keyC = loadMovie("data/Key C.swf", keyC);
keyC._visible = false;
[Code].....
It's as if the _visible commands aren't working in the 1st frame but are in the rest of the timeline. Perhaps I need to use an onLoad method to wait until each MC can be manipulated this way?
View 9 Replies
Sep 12, 2011
I 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]...
View 3 Replies
Dec 6, 2004
hide movieclip A when a loaded swf B overlaps that movieclip? movieclip A = level0. loaded swf B = level1
View 3 Replies
Jan 13, 2010
I have a button called myBtn.
In my actions in Frame 1, I have tried both[code]...
View 6 Replies
Feb 28, 2010
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 Replies
Jun 9, 2010
I am loading a SWF in an HTML page the following way (using JavaScript)[code]...
View 2 Replies
Mar 10, 2010
i 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]
View 2 Replies
Jul 22, 2010
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.
View 4 Replies
Feb 14, 2011
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 Replies
Jan 27, 2012
I 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 Replies
Nov 16, 2007
I 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 Replies
Jul 9, 2009
I 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?
View 3 Replies
Jun 17, 2009
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 Replies
Dec 7, 2010
I 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?
View 3 Replies
Jan 25, 2011
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?
View 7 Replies
Dec 1, 2009
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 Replies
Feb 10, 2010
I 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 Replies
May 9, 2010
I 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 Replies
Apr 8, 2011
I 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?
View 3 Replies
Jun 2, 2011
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();
View 2 Replies
Aug 17, 2011
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]....
View 2 Replies
Sep 8, 2011
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 Replies
Mar 6, 2012
How make hide movie through flash vars
View 7 Replies