Red Block Blocking My Swf
Hi Everyone, I have a flash file and basically they are slides of different things. For some reason, my first slide shows up with a red block over it. I have tried re-saving the png in photoshop, re-importing it into my library and still nothing.
So, if I go into my library, and double click the imported png I want to use, I see that the compression is set to JPEG(Photo) instead of the lossless option. So if I try the Lossless option, it works fine in IE but of course the swf takes on an enormus filesize. If I have the first option, it just shows a red block. what is wrong with my swf!??
I have also tried this with different formats and it still does this.
Does flash have a limit on width and height before it just stops showing the photo file?
Example (please use IE because of course in firefox it works):
Clicky Clicky
SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jan 28, 2008, 13:06
View Complete Forum Thread with Replies
Sponsored Links:
Swf Blocking
Hai everybody
Actually I dont know in which section I can put my doubt?
My problem is I have a full flash site .The swf file is working properly .But some links are not working while it is testing in internet explorer.It works when testing in Mozilla.The swf is in flash palyer 6.Please help me to find out what is the problem with internet explorer.
regards,
naz
View Replies !
View Related
Mc Blocking Mc Below...
I use this code to drag a window in the flash:
Code:
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
startDrag(_parent,false,1,1,400,400);
}
}
The problem is if the window is over something, like a scrollbar, it's draging ANS scrolling at the same time (if the mouse is pressed over the windows titelbar + the scrollbar, you understand..). If I would use a button as a titlebar it wouldn't be a problem but I just don't wanna.
Think there is a solution? If (window is over) things won't work since it's hundreds of windows and scrollbars. And windows with scrollbars in them..
View Replies !
View Related
Blocking Buttons?
Hi!
I have an SWF loaded into Level 1, completely (visually) covering the Level 0 movie... but level 0 has buttons on it that are still active when I pass over them in the Level 1 movie...
Can I somehow make the buttons in level 0... invisible so they can't be hit while Level 1 is up?
Hope that makes sense...
THANKS!
Ben
View Replies !
View Related
Stopping Pop-up Blocking
Has anyone got any javascript that will get around a firewall stopping you launching your Flash site in a new window? Can't seem to find any that will do the job.
When used within Flash to launch a new window then it works fine but if in the HTML then it is blocked by the firewall, in my case Zone Alarm Pro.
I have already tried these scripts:
a href="javascript:window.open('flash26.html',new Date().getTime(),'width=600,height=450'); void(0);"
AS WELL AS:
function winopen(){
var targeturl="flash26.html"
newwin=window.open("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
a href="javascript:void(0);" onClick="winopen();"
Thanks for any help.
View Replies !
View Related
Blocking Key Presses
Hey!
Does anyone know how to stop certain keys from being active? I have some text fields and I want to make the "" key {code 220} inactive.
I have tried...
Key.removelistener(220);
I also tried using a if statement but even if I detect it how do I remove it from the text field?
onClipEvent(KeyDown){
if(Key.getCode()==220){
--> remove last keypress?
}
}
.. any suggestions?
View Replies !
View Related
Blocking Sites
I would like to know... is there some form of script... that allows you to block certain sites from linking from your site... and if they try and link it wont work?
Also is there a script.. that if someone downloads the flash from your site.... and uploads it to their own.... that the flash wont work..?
If you have any info... or anything at all about this.. it would really help.
Thank You
View Replies !
View Related
Blocking Menu
Hi All,
am having a problem ... how can I disable the options of Loop Play Zoom etc in the menu that showsup when a flash file being played in the web browser is right clicked???.
I've tried fscommand("showmenu",false);
its not doing any good plz help..
View Replies !
View Related
IP Blocking/Allowing
Well, I would just like to consult the fine people of this forum about how to be able to block and allow certain IP adresses in flash so that people don't try to defy my made-up copyright. I have seen this in some places, and I was wondering if anyone knew how to do this.
View Replies !
View Related
[F8] Stopping The Blocking
Quick question - it's (WTF) half two at night
How can I stop flash player from block access to a url. Can this be done with AS?
Example:
Adobe Flash security (sumfing like that)
Adobe Flash player has stopped a potentially unsafe operation.
__________
Could I stop this with Action Script.
Any help is great.
Alstertheonly
*night, night*
View Replies !
View Related
Firefox Pop-ups Blocking From SWF
I have an SWF that pops a new browser window when the user clicks a button within.
However, it always triggers Firefox's auto pop blocker.
Any way around this?
I've noticed slide.com's swfs use real HTML buttons underneath, but they do the <a href="wwww" target="_blank">
It's the same concept, but they get past the pop-up blocking. How can I do this within the SWF though without having to make external HTML?
View Replies !
View Related
Blocking A Button
I have a flash movie that is basically a scrolling nav. When the nav is scrolled to the right, it goes behind a header and is hidden. The problem is that when it is behind this header, you can still click on it. Hopefully the attached file will clear any questions up. Thanks for your help.
View Replies !
View Related
Blocking Buttons
In a scene I have a number of buttons. To start with I want them to be blocked. I've used:
for (i=1; i<20; i++) {
_root["button"+i].enabled = false;}
To another button I've attached this script to make them active again:
on (release) {
for (i=1; i<20; i++) {
_root["button"+i].enabled = true;}
}
It all worked fine until I added a new button, "button10".
Is there a problem beacuse "10" consists of two figures or is there another problem? Maybe there is an easier way to do this, locking and unlocking buttons in a scene?
/Thanks!
View Replies !
View Related
Blocking The <li> Tag In Flash...help
Ok this is so much easier than it sounds. For some reason, I never know the easy stuff. I have 1 variabled called input. It's an input textbox. I also have a button. How would I make it when the button is pressed, if the textbox contains the word(s) <li> or </li> in it, the variable shows, "Denied"?
View Replies !
View Related
Blocking The <li> Tag In Flash...help
Ok this is so much easier than it sounds. For some reason, I never know the easy stuff. I have 1 variabled called input. It's an input textbox. I also have a button. How would I make it when the button is pressed, if the textbox contains the word(s) <li> or </li> in it, the variable shows, "Denied"?
View Replies !
View Related
Blocking Buttons
I was wondering how you disable half of a button (For when half of it is hidden) I have been doing this cheap fix but want to know the proper way... Basically what I have been doing is putting a selectable dynamic textbox in front of the blocked button. So the cursor changes to a "I"
Is there a better way?? Even can I change the default "I" to an arrow??
Thanks
Adam
View Replies !
View Related
MovieClip Blocking Layer Below
I have a file with 13 layers as of now. Each layer has a movieclip with an transparent backgound, yet one movieclip is blocking the layer below. Yet if I reverese the order of the layers then the other layer seems to be blocked. Any ideas??? Thanks,C
View Replies !
View Related
Somthing Blocking Flash?
Hi everyone,
has someone ever had the Problem that his Flash film (with link) didnt work cuz of some javascript elements in the same php file?
I made a little film with a link in it ... the link triggers a javascript for a popup with "geturl bla bla" it worked fine in the beginning ... then the site became more complex *grrr* ... and now it doesnt work any more and i just cant see the fu..ing problem ... sorry ... its really makin me mad ... under the film is a normal textlink with the same linktarget that works fine.
The only script in the film is:
on (press) {
getURL ("javascript: popUpSMS('http://bla bla bla')");
}
Im not going to post the php source cuz its to big and full of includes ... i dont think that would help anyone.
If someone wants to have a look at the film, here is the link to the site www.noisy.de ... the flashfile im talking about is on the right side with a big SMS written on it.
If anyone had the same problem I would be glad if she or she could give me a hint
Thanx
Timtendo
View Replies !
View Related
Masks Blocking My Actionscript
Hi,
I'm trying to call to a movieclip using it's instance name. When the movieclip that I'm calling to is under a mask, the script won't work. Doesn't seem to be able to recognize the movie clip under the mask.
Is this the nature of the program?
Am I doing something wrong?
Workaround?
Thanks!
-ec
View Replies !
View Related
Blocking Key Events In Case Of CBT
Hi,
I have a CBT made and want the entire navigation to be possible by mouse as well as by keyboard.
For navigations I have assigned a key on the key board. This I have done by using "if(key.isDown())" ok
Now when I press M the Menu bar slides in and is available, but while the menu is page is loaded if by mistake I press any other key then even that functionality takes place like for example when the menu page is loaded and I press the RIGHT arrow key then the next slide is shown, if I press the s key the sound slider pops up. if I press the G key then the glossary page gets loaded. and so on.
Is there any method by which I can deactivate these key as I can do in case of buttons.
View Replies !
View Related
IE Blocking My Flash Movie
É have made a small movie in flash and i have imported it in Dremweaver but when i preview it in IE the browser blocks the movie(deu to safety setting of the program).É dont want my viewers to have to change their IE settings to view the movie so what can i do?
Please Help
View Replies !
View Related
XP SP2 Blocking Local ActiveX
I've just installed XP SP2. And IE is blocking local ActiveX. I do a lot of work where I'm constantly having to locally preview HTML that includes flash. Now I get the infuriatingly mis-named information bar every single bloody time.
How can I stop this? Firefox isn't an option unfortunately. And I've tried changing the security settings in IE but to no joy. Searched for solutions too, but can't find anything decent. What can I do?
thanks
mark
View Replies !
View Related
IE Blocking Flash (Active X)
A new security release by our friends at MicroSoft has thrown a wrench into Flash development. The latest "security patch" for Windows/IE now disables the <embed> and <object> tags, forcing users to "Click to Activate" the Flash content. There is a JavaScript workaround located here: Active X Workaround.
Thought you might be interested.
View Replies !
View Related
IE Blocking Flash Content
Hi All,
There may already be some help on the forums for this, but I thought I'd add my version of the solution here as I found it quite easy.
The problem:
The latest "security patch" for Windows/IE now disables the <embed> and <object> tags, forcing users to "Click to Activate" the Flash content.
The solution:
Create a file called "foo.js". Add the following code to it:
Code:
function RunFoo()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="245" height="400" id="navigation" align="middle">');
document.write('<param name="movie" value="navigation.swf" />');
document.write('</object>');
}
Obviously replace the entire "<object classid="clsid:d27cdb6e......>" with the object tag that you would normally use. Just happens that my movie wants these width and height values etc.
Next, change the "navigation.swf" bit to what ever your movie is called.
Save the file.
Now you need to add some code to your HTML page that the flash movie is going into.
Add the following line into the <HEAD> section of your HTML:
Code:
<script src="foo.js" type="text/javascript"></script>
Now replace all the <object> stuff you had originally, in my case this:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="245" height="400" id="navigationcontact" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="navigation.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="navigationcontact.swf" quality="high" bgcolor="#ffffff" width="245" height="400" name="navigation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
With this:
Code:
<script type="text/javascript">RunFoo();</script>
And that's it! Just upload the .js file and your new HTML file and you should be good.
All the best,
O.
View Replies !
View Related
Blocking OnPress, OnRelease Etc
Hi there
I have a game for which i would like to produce a demo.
The game involves lots of draggable items which i will drag about by code in the demo.
I need to be able to block the user clicking or dragging anything in the game whilst the demo is playing. The game is rather complex (about 8000 lines of code) so i would rather not have to deactivate all my classes individually.
I could put one big transparent movie over the top with empty events on it to block stuff - but this would mean that the user get a 'mouse over' cursor all the time.
Can anyone think of a way to block interaction with movie clips in a similar way. I basically need a blanket technique for stopping all user interaction in a movie.
Thank you
View Replies !
View Related
Blocking Keyboard Keys
In the flash movie I have assigned or blocked all the keys on the keyboard except for; Tab, Command Q, Command H (hide), F9, F10, F11, and F12
I have created a game in Flash to be played installed on a computer. It is for kids so I don't want the focus to move away from the movie unless a three key combination is pushed, or QUIT is clicked in the game. Any ideas. I can have a wrapper made in a C++ to accomplish this, but would rather keep the game all actionscript.
Do you have any suggestions or help?
Thank you very much.
http://www.babyfungame.com/BabyFunGame-Demo.html (web demo is fine)
View Replies !
View Related
Allowing & Blocking OnRelease
I'm working on a game, but I seem to have run into an issue.
I would rather not post the fla, and I think it might be too large anyways, so if you PM me, or email me (sunlis8930@hotmail.com) with your email, and I will send you the fla.
The problem is, once red has gone, it's blue's turn, but red is still clickable.
Also, the moveline won't move to the selected player, for whoever goes second.
I think the problem is, the walk button doesn't work for some reason, since the followLine variable doesnt change onRelease the second time.
See the example here
I don't think I explained this very well, so please, feel free to ask for clarification.
Sunlis
View Replies !
View Related
PNG Transparency Blocking Lower MCs?
So basically - Each lever is a PNG animation cycle that consists of full bleed frames that are the lever + transparency. All 10 levers have the same base class attached, and they all have the same timeline structure (hit area with mouse click handler on first frame only).
Why does the top most lever block the rest? If I move another lever above it, that lever will be the only one to respond to the mouse. I was under the impression that using a hit area MC would solve the stacking and transparency woes and allow for layered levers.
BTW ignore the pause before the panel slides out - The background image gets loaded the first time you trigger the panel.
Here's the code:
ActionScript Code:
package com.morrison.project {
//import classes
import flash.display.MovieClip;
import flash.events.*;
import flash.utils.Timer;
import fl.transitions.Tween;
import fl.transitions.easing.*;
//
//Other Main Timeline imports go here! Don't forget!
public class ProjectLever extends MovieClip {
//---------------------------------VARS
//numeric identifier
public var nID:Number = 0;
//is lever playing anim
private var bPlaying:Boolean = false;
//is lever on
public var bEnabled:Boolean = false;
//timer for hit area handler
private var tTimer:Timer;
//
public function ProjectLever() {
//enable as button
this.leverHit_mc.buttonMode = true;
//hit area for up state
this.leverHit_mc.addEventListener(MouseEvent.CLICK, mouseClickHandler);
//timer for hit area handler
this.tTimer = new Timer(100, 1);
this.tTimer.addEventListener('timer', timerHandler);
}
//set identity of lever
public function setID(n:Number):void {
this.nID = n;
trace('lever setID - '+this.nID);
}
//
//get identity of lever
public function getID():Number {
return this.nID;
trace('lever getID - '+this.nID);
}
//return lever to up state
public function goToUp():void {
this.gotoAndPlay('pullUp');
//start checking to see if back up
this.addEventListener(Event.ENTER_FRAME, this.checkIfUp);
}
//
//method to check if lever is down
private function checkIfDown(e:Event):void {
trace('current label = '+this.currentLabel);
if (this.currentLabel == 'down') {
trace('lever is down');
//remove check
this.removeEventListener(Event.ENTER_FRAME, this.checkIfDown);
//dispatch event to tell parent to load panel
(parent as MovieClip).leverDown(this.nID);
}
}
//
//method to check if lever is up
private function checkIfUp(e:Event):void {
trace('current label = '+this.currentLabel);
if (this.currentLabel == 'up') {
trace('lever is up');
//remove check
this.removeEventListener(Event.ENTER_FRAME, this.checkIfUp);
//add mouse handler back to hit area using timer delay
//this.leverHit_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
tTimer.start();
}
}
//
//mouse click handler
private function mouseClickHandler(e:MouseEvent):void {
//only allow if enabled
if (this.bEnabled) {
trace('press - '+this.name);
//if not currently playing animation
if (this.currentLabel == 'up') {
this.gotoAndPlay('pullDown');
//check to see if on down state yet
this.addEventListener(Event.ENTER_FRAME, this.checkIfDown);
}
}
}
//listen for timer to fire
private function timerHandler(e:TimerEvent):void {
//add mouse down handler back to hit area
trace('timer');
//hit area for up state
this.leverHit_mc.addEventListener(MouseEvent.CLICK, mouseClickHandler);
//enable as button
this.leverHit_mc.buttonMode = true;
}
}
}
View Replies !
View Related
Blocking Flash Selective
we want to block flash player for most users on citrix presentation server. Also Powerfuse is on te citrix box.
With Powerfuse it is possible to block per user but i dont know what to block.
Is flash based on activex controlls? If so is it then possible to block it with content scanners on the ISA server.?
Thanks in advance Gerrit
View Replies !
View Related
Blocking A:hover Tags
I've got some text "menus" made up of css styled html enabled text fields. They work fine. Sometimes there is a semi transparent MovieClip that floats above them that has some onRollOver, onRelease, etc. events defined.
I've noticed that the semi-transparent button stops the propagation of most mouse events to anything below it. But the a:hover and a:active states of the text fields still reacts to the mouse being over/clicking the text. The actual link doesn't work or call the asfunction.
So does anybody know an easy way to block that from happening?
View Replies !
View Related
How To Prevent Blocking Of Popups
Since a recent Firefox update I've noticed that the included popup blocker is now doing its job a little too well. It now blocks all popups that are launched from my SWF. Of course you can still get to the new window by selecting "allow for this website", but this is not very user-friendly.
I think that Firefox blocks all popups unless it thinks that they are a direct result of a mouse click. When you make an event handler with on (release) { } and launch the new window from there, it will not be blocked. However, when you dynamically create that event handler, by declaring <myMovieClip>.onRelease=function() { } somewhere midway, it will be blocked. I've tried to avoid this by calling a JavaScript function which in turn opens the popup, which also doesn't give the intended result.
Obviously the popup blocker is just doing its job, but in this case I just want to have some way to create a new window from a MovieClip, and have it not blocked.
View Replies !
View Related
Firefox Blocking Pop Up Window
Hi,
I have a Flash movie that loads an html file with a link that should open a new window when clicked. The problem is that Firefox blocks the new window from opening, and I don't know how to solve it. Unfortunately, I have no access to the HTML page where the Flash will be included, so I couldn't use Javascript in that HTML page.
This is the code in the HTML file that is loaded into the Flash movie:
<p>This is the company that makes Photoshop:<a href="
View Replies !
View Related
Blocking A User From Guestbook
Hello everyone,
I hoping someone could answer my question:
How would i go about preventing a specific user/email address/IP address from writing rude comments in a guestbook? Is there a way to block out that person completely?
Thank you!
(x-mas is coming up!..yay!)
View Replies !
View Related
HELP My SWF Is Blocking The Buttons On My HTML
to all flash masters
I have a problem with placing my swf over an HTML file
here is my link:
http://home.pchome.com.tw/home/comeandgetme/player.html
As you can see my buttons are being blocked by my transparent swf file.
Can anyone tell me how to fix this problem?
My swf is inserted onto a DIV layer and my HTML link buttons are also on a DIV layer.
please help~~
View Replies !
View Related
Browser Popup Blocking
Hi,
I am using text rendered as html in a text field. The text is loaded in from php. If the text contains a _blank targetted link and it is clicked then ie and firefox will block the _blank window as a popup. This doesn't happen with the getUrl function but this is cannot be placed in free text, can it?
Is there way round this as I am just trying to do a normal link, not a popup.
thanks
ash
View Replies !
View Related
Flash 8 And IE Blocking Active X
OK. So I have a website with some flash buttons added. When I open the website in Internet Explorer, it blocks the buttons saying there is some ActiveX script. The problem is: Other websites with flash buttons are not being blocked. Just my buttons. How did the other websites bypass that? (BTW the IE security setting is on default)
Thanks for your help guys!
View Replies !
View Related
Help Blocking Buttons On Level 0
Hi everyone,
I´ve made a site with several buttons that load other .swf on level 1 which cover the entire stage, but the buttons that are on level 0 can still be clicked on. Is there anyway to block these buttons while the level 1 .swf is playing? Any help is more than welcome.
View Replies !
View Related
Firefox Blocking Pop Up Window
Hi,
I have a Flash movie that loads an html file with a link that should open a new window when clicked. The problem is that Firefox blocks the new window from opening, and I don't know how to solve it. Unfortunately, I have no access to the HTML page where the Flash will be included, so I couldn't use Javascript in that HTML page.
This is the code in the HTML file that is loaded into the Flash movie:
<p>This is the company that makes Photoshop:<a href="http://www.adobe.com" target="_blank">Adobe</a></p>
Is there anything I can do to make it work?
Thanks for your help
View Replies !
View Related
Blocking On Asynchronous Calls
Hi,
I am loading XML data and want to stop my function returning until it has loaded. I came up with this:
ActionScript Code:
function Initialise():Boolean
{
var xmlVal:XML = new XML();
xmlVal.load("http://blah");
var bLoadedOK:Boolean = false;
var bFinished:Boolean = false;
xmlVal.onLoad = function (bSuccess)
{
bFinished = true;
bLoadedOK = bSuccess
}
while (!bFinished); //block until loaded
return bLoadedOK;
}
However, this doesn't work, because onLoad never gets called. It appears that xml.load() isn't truely asynchronous at all, and doesn't get called while my script is sitting in the loop.
So my question is, is there any way to do this? Or am I going to have to ugly global functions and variables everywhere to denote state changes?
View Replies !
View Related
Movie Blocking The Stage...
I'm building my online resume, and the way I've built it, when you mouse over items in it text appears to the right telling you more about that skill, but when you mouse over my past JOB experience, another movie appears in the middle of the screen telling you far more about my job duties and what I did there.
Problem is, this movie (jobDesc) is BLOCKING the other movies (even when it's not visible) so you can't mouse over them, an I'm not entirely sure what to do about it.
Is it possible (and this would be a totally new technique for me) to actually place and remove the jobDesc movie onRollOver and onRollOut so it's not blocking the stage when it's not in use?
View Replies !
View Related
Layers Above Buttons Not Blocking Button
i have a button on a bottom layer, above it i have an mc that is tweened to come in over the button..
however the button's action and cursor still happeen when i mouse over the button even when it's obscured by the mc symbol above it?
how do i 'block' the button underneath the mc?
View Replies !
View Related
Are Scrolling Script Blocking The Actions?
Hi,
thanx for reading this!
Within a movieclip I have buttons that is supppose to react on rollOver or on onRelease. I am using frame labels like this:
on (release) {
_root.gotoAndStop("labelName");
}
It still doesn+t work. Is it because the clip is involved in a srolling script on the main timeline? And in that case, how should I solve the problem?
I should add that it doesn+t matter wether the target frame is on the main timeline or at another level.
regards
ikaros
View Replies !
View Related
ScrollPane : Drag Blocking Events
Hello, I have finally managed to get my dynamic movie to build itself inside a scrollPane, and I can drag it around and scroll as I wanted...however, there are movieclips pretending to be buttons inside spContentHolder that now won't catch mouseevents with the scrollPane drag on. Years ago when I used to develop with ToolBook there was a "forward" function that allowed events to pass up the hieratchy, does anyone know if there is a Flash equivalent or even a different way to achieve this,
Lee in the Torrible Zone
View Replies !
View Related
|