Way To Hide Swf Path
Feb 8, 2011Is there anyway to hide .swf path showing up from webpage??
View 6 RepliesIs there anyway to hide .swf path showing up from webpage??
View 6 RepliesHere's what i'm trying to do: Hide a MC depending on the path variable as:
[Code]...
Well that doesn't work, for some reason, i can't use a string as a multiple level path..
Just wondering if there is a way to hide the tweening path (ie motion path) of a motion tween animation when scrubbing. I have a number of objects in motion and while I am scrubbing the animation, the tweening path is kind of distracting so I would like to hide them. Is there anyway to show/hide the tweening paths?
View 3 RepliesSo I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below
Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....
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]...
the same class is passed to the mxmlc compiler in SWF library as a symbol linkage class and again in a source-path. But the compiler uses the definition from the source-path so creating new instance of that class won't create new instance of the library symbol. How do I tell the compiler to prefer the definition linked to the symbol (the one dfrom SWC)?
I have my design assets in an FLA file and they are linked to classes (e.g. [URL]. Then I export those assets to a SWC library and pass it to the compiler. Now when I create an instance of the class (new MyAsset();) it will be a new instance of the library object.
But there are other classes too in the source folder (e.g. "com.myproject.model.*" so I need to pass the source folder to the compiler too. And that is the problem, now the compiler will use the MyAsset.as definition from the source path, not from the SWC where it is assigned to the library object so if I create new instance of MyAsset now it won't duplicate the library object.
I was wondering if it possible to write up some AS that will take line paths that you have drawn and convert them into a Path object? For example say you drew a jagged line from left to write, would there be a way to have AS convert that into a Path object.
View 11 RepliesIs it possible to draw out a path in the flash editor, set its visibility to hidden, and use this path data to animate objects in AS3?
View 1 Repliesi have a quick question what is the syntax if u want to use parametrs to define a path inside a path? i mean:
[CODE]...
does anyone know.... it's very important!
This is a head scratcher. Why would a root relative path cause a Security Sandbox error.. but an absolute path to the exact same path work fine..
[Code]...
I am displaying some flash content on a fairly standard page. This works really well when the flash, xml file and html page are sitting together in the same directory.url...However, I want to display that same content in another page which is deeper inside the site but outside of the directory that houses the .swf and .xml files as well as the assets.[code]The js files are loading properly but the flash content is not, so I could use a little help getting that sorted out.
View 1 RepliesWhat does _level0,_parent and _root mean in flash?What's the difference between absolute path and relative path?
View 1 RepliesI am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.
View 2 RepliesI am new to Flash and ActionScript 3.0 environment. I don't have any knowledge in depth with Flash and ActionScript 3.0. I am using the flash(.swf file) in my Java application. Now, this .swf file is to be placed in the server system. While I am working with these, I faced an error. Here, my issue/problem(s) starts....
1.)With the help of URLRequest & URLLoader classes, I am loading a jpg file dynamically onto the stage using the following code:
[Code]...
I made a flash project that I published as an exe file. this project calls a number of external flv files. Now, I want to hide these files, because it's my own work and I don't want anyone to steal it, how can I hide these files?
View 3 RepliesI have an AdvancedDataGrid with a ArrayCollection as its dataProvider. For instance i have a CheckBox that allows me to show or hide certain rows in the AdvancedDataGrid.
View 1 RepliesI have many layers and would like to hide or shut one off so it does not Publish. How? When I hide the layer in the timeline, it dissappears from the timeline, but still Publishes...
View 2 RepliesI have a Movie Clip configured as a Button and I wanted to know how to make the cursor transform into a pointer (little hand) when it's over tat movieclipBut well that was just not the point of the Post what really interests me is that when I click that MC a Pop up menu appears (another MC) but if i decide not to click any of the buttons in that menu the menu will stay there until I click another button or something and i will want it to disappear if a click it for a second time or something like that.
View 1 Replies[b]Ok why wont this work?
Trying to do a
Navigation bar button , to preloader to abour me page with a photo component.
Not on the pre loader page the bar works, only it wont disappear.[/b]
[pre]s[color=blue]iteLoader.loadMovie("AboutMe5.swf",4);
Frame_movie._alpha = 100;
loadingBar._alpha = 100;
[Code]....
it appears to be the if script thats the problem not triggering the fad or gettig red of the pre loader altogether.
I have 20 movieclips and when one is clicked the other nineteen must dissapear. This is my code,
function What_I_clicked(event:MouseEvent)
{
hidemc(event.target.name);
[Code]....
Because of SEO considerations I am trying to use flash as little as possible in my site. I need it though for uploading files. I like to have an accurate progress bar and I find flash is great for this.Anyway once my file is uploaded, successfully, I would like the flash to go away (either exit or hide itself) and reveal an "Add To Basket" button underneath which is written in HTML.Failing that, is there a way to get flash to change a CSS style of an object so I could have my Add To basket button hidden and then made visible when the flash tell it?
View 1 RepliesI'm using this code to play flv [code]...
But I want to hide all icons (Play, Stop, timeline and scroll bar), how can I do that?
I have a funny situation there are two texts first in blue color and second in white color, images with alternate colored box(white then blue then white so on) is moved on these textsnow when white box cover white text then text hides or blue box cover blue text then blue text hides.
View 1 RepliesI 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 am loading a SWF in an HTML page the following way (using JavaScript)[code]...
View 2 RepliesI am creating Air (AS3) project. It will be have own system of protection. All data from the server to the application and back is encrypted. I use a secret key which is registered in a server-side scripts and in the application. If a hacker decompiled the app, it can find out the secret key. The secret key is the string (constant). I do not want to make obfuscation for my application.
How can I hide this secret key? Can I obfuscate only it? Can I obfuscate separate AS3 class with secret data and then access to it from the main code when needed?
I am working on a project that uses PHP , as3, and possibly some AMFPHP.
The project allows users to upload and download images among other things. I have been trying to gather as much info about making things as secure as possible. I've got some good advise about using .htaccess files, and a few other tricks.
My main question at the moment is how to hide the "path" info from and to the PHP / assets / and to and from the AMFPHP sevices ...
Currently I have all the paths hard-coded in one .as that returns an object with the paths to any of the other classes that need/request it. I found this method to work well since I only need to change this one .AS , and it will branch out to the other classes that need it.
I'm not super worried about others decompiling my code, and they could probably "sniff" out the paths if they really wanted. I'm mostly concerned with allowing others easy access to all of my AMFPHP services or being allowed to parts of the site I do not wish them to be. basically I realize that things aren't gonna be 100% secure regardless, but would like to take precautions.
So to cut to the chase ... Whats the best- simplest way to obscure / hide the paths being used in a PHP - AS3 project ? ... I entertained the possibly of PHP includes or even a SQL database if need be. I rather not spend a bunch of time and money on questionable obfuscator software, unless there's a tried and true one for flash (not flex). .. and I currently do not have a SSL but don't know how critical - common this is.
I want to show a _mc on a Tuesday @ 21:00 then Hide it at 00:00here is the code
Code:
var my_date:Date;
var my_timer:Timer=new Timer(1000);
[code]......
i added this code (from another post on this forum) to a project i'm working on but can't seem to make it work. i am using a normal textarea, with the uiscrollbar. the text load from an XML file, all working fine. i'm trying to hide the UIscrollbar when it is not required, where textA is the instance name of my textarea.
[Code]...