Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash Embedded Issue Transparent



Hi,,I need some help figuring out how to make the generator to allow my .swf file to remain transparent.. (aka: wmode=transparent). When I paste the code on the object, my transparent background turns white.. What am I doing wrong?? thanks!Sincerely,Chuck http://www.BubbleLoonz.com



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 08-03-2006, 11:04 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Ok 5 Post On This Issue. TRANSPARENT BG IN FLASH
Ok goto www.xeofreestyle.com
You will discover that the background is a jpg. (normal BG for an html site. That BG is all the way across behind his flash movie. I mean the BG continues with the BG of the flash movie getting in the way. His movie has a trasparent background. They also have this effect on MSN (the rhino that pops out at you) Can someone help me on this issue of transparent BG. PLEAAAAAAAASEE much needed right now.

Transparent Background For Embedded Swfs (not Html)
i'm bringing external swfs into my main movie and would love for the content of these to be visable without haveing a flat colour background. is this possible?

thanks.

Embedded SWF Issue
Here's the link:
www.sandmanmedia.com/testing/sandmanmedia2.html

How can I get that blue background graphic evenly on both sides of the embedded swf?

I've basically made two tables in dreamweaver. One for the swf and one for the blue graphic

Sandman9

Transparent Gif / PNG Issue
I have a website I'm working on with a company logo on the top. Its made up of a logo and text all of which have a drop shadow. Using ImageReady I sliced it into 3 parts. The top two are solid gifs while the bottom part has to have a transparent background as each section has a differant background color and there cannot be any jagged pixels around the bottom part of the logo.

I did a test creating all as transparent gifs and the other with a transparent .PNG file. The PNG version works perfectly in firefox, but in IE the transparent part of a PNG has a blue tint. The gif version looks perfect for the solid slices, but the text and logo look pixelated because of the drop shadow to transparent.

Does anyone know how to fix this? I've tried photoshop, ImageReady, Flash. The client needs the logo as a pixel based as it is transparent. Can someone please help?!

Thanks.

Desperate For Help With Embedded/var Issue
im working on a project for a client that has kinda surpased AS knowledge. i built him a flash site that uses a label based navigation (on release goto and play "label"). He then decided that he wanted to use some html from his old site. so i built a header in flash and made a framed html page with my swf header and his old content loading in the mainframe.

main webpage= http://216.147.53.243/main.html
header page = http://216.147.53.243/dheader.html

I need help combining the code for the variable part with that from the orginal with the fixed embedded issue. Im attaching both .htmls. can anyone please help me combine thm

Desperate For Help With Embedded/var Issue
Theres a reason why im online friday night of my birthday weekend. I have a site due monday and have no clue why its not working. The site is 2 basic parts first the main movie and then a html page with a flash header in it wit buttons that point back to the main movie.

My problem is simply i can't get it to work. it works sometimes when i use this code
Quote:




<script language="JavaScript">
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=100% height=100% id=urlTest align=middle><param name=allowScriptAccess value=sameDomain /><param name=movie value="main.swf'+document.location.search+'" /><param name=quality value=high /><param name=bgcolor value=#ffffff /><embed src="main.swf'+document.location.search+'"'+'quali ty=high bgcolor=#ffffff width=100% height=100% name=urlTest align=middle allowScriptAccess=sameDomain '+'type="application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer" />')
</script>




but when i try to edit it to fix the embedded issue it doesn't work at all, heres what i was trying

Quote:




<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>main</title>
<style type="text/css">
<!--
body {
height: 100%;
width: 100%;
margin: 0;
}
-->
</style>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
First Name Last Name Email Tel Number Comments -->
<!-- saved from url=(0013)about:internet -->
<a href="http://216.147.53.243/main.html?frameName=mark"></a>
<a href="http://216.147.53.243/main.html?frameName=info"></a>
<a href="http://216.147.53.243/main.html?frameName=contact"></a>
<a href="http://216.147.53.243/main.html?frameName=links"></a>
<a href="http://216.147.53.243/main.html?frameName=about"></a>
<script language="JavaScript">
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=100% height=100% id=main align=middle><param name="allowScriptAccess" value="sameDomain" /><param name=movie value="main.swf'+document.location.search+'" />
<param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffffff" /><embed src="main.swf'+document.location.search+'"'+'quali ty=high scale=noscale bgcolor=#ffffff width=100% height=100% name=main align=middle allowScriptAccess=sameDomain '+'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
</script>
</body>
</html>




Any ideas? i dont want to have to spend tmrw doing this also

Embedded Fonts Issue
Hello everybody. I have a little concern about embedded fonts in AS3. I hope someone knows the answer. Actually I have two different version of my code: the first one works, but not the second one. What I really would like to know is if there is a way to make the second example work.

******* FILES ********

I have 3 "swf" files and 1 "as" file:

- MovieMain.swf
- MovieFont.swf
- MovieTextfield.swf

- MovieMain.as (base class of MovieMain.swf);


******* CONTENT ********

- MovieFont.swf: embedded font with class name "dematFont";
- MovieTextfield: 1. base class "MovieTextfield".
2. Dynamic textfield with instance name "sampleTextfield";
- MovieMain.swf: base class "MovieMain.as";

******* WHAT IT DOEs ********

- MovieMain.swf loads MovieFont.swf.
- Once MovieFont.swf is loaded, "dematFont" is registered on the global fonts list, _mainTextFormat.font gets the value of the embedded font, and MovieMain.swf loads MovieTextfield.swf.
- Once MovieTextfield.swf is loaded, it is added to the display list using addChild. The textfield inside it "sampleTextfield" gets _mainTextFormat as its TextFormat value;


******* PROBLEM ********

The code version 2 does not display the value "New Value" on the sampleTextField. The difference between both code version is highlighted on both with comments "//Difference". Is there any explanation about the reason that prevents the second code version from working and is there any way to solve this problem using the instance created with the base class MovieTextField? Thanks for reading this. Next you'll see both version codes:



******* CODE: MovieMain.as - Version 1 - This one works *******


Code:
package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var textfieldMovie:MovieClip = e.target.content; //Difference between both code versions

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}
******* CODE: MovieMain.as - Version 2 - This one does not work *******



Code:
package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var classReference:Class = e.target.applicationDomain.getDefinition("MovieTextfield"); //Difference
var textfieldMovie:MovieClip = new classReference();

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}

Embedded Video Issue
here's what i've got:
stop();
cowVideo_mc.visible=false;

function playCow (Event:MouseEvent):void{
background_mc.visible = false;
cowVideo_mc.visible = true;

}

cow_mc.addEventListener(MouseEvent.CLICK, playCow);
what i want is for cowVideo_mc to begin playing on the cow_mc mouse event. is there an easy way to do that? i'm trying to keep all of this on one frame, so i'm avoiding a gotoAndPlay.

THANKS!
a humble flash novice

Embedded Fonts Issue
Hello everybody. I have a little concern about embedded fonts in AS3. I hope someone knows the answer. Actually I have two different version of my code: the first one works, but not the second one. What I really would like to know is if there is a way to make the second example work.

******* FILES ********

I have 3 "swf" files and 1 "as" file:

- MovieMain.swf
- MovieFont.swf
- MovieTextfield.swf

- MovieMain.as (base class of MovieMain.swf);


******* CONTENT ********

- MovieFont.swf: embedded font with class name "dematFont";
- MovieTextfield: 1. base class "MovieTextfield".
2. Dynamic textfield with instance name "sampleTextfield";
- MovieMain.swf: base class "MovieMain.as";

******* WHAT IT DOEs ********

- MovieMain.swf loads MovieFont.swf.
- Once MovieFont.swf is loaded, "dematFont" is registered on the global fonts list, _mainTextFormat.font gets the value of the embedded font, and MovieMain.swf loads MovieTextfield.swf.
- Once MovieTextfield.swf is loaded, it is added to the display list using addChild. The textfield inside it "sampleTextfield" gets _mainTextFormat as its TextFormat value;


******* PROBLEM ********

The code version 2 does not display the value "New Value" on the sampleTextField. The difference between both code version is highlighted on both with comments "//Difference". Is there any explanation about the reason that prevents the second code version from working and is there any way to solve this problem using the instance created with the base class MovieTextField? Thanks for reading this. Next you'll see both version codes:












Attach Code

//******* CODE: MovieMain.as - Version 1 - This one works *******


package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var textfieldMovie:MovieClip = e.target.content; //Difference between both code versions

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}



//******* CODE: MovieMain.as - Version 2 - This one does not work *******


package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var classReference:Class = e.target.applicationDomain.getDefinition("MovieTextfield"); //Difference
var textfieldMovie:MovieClip = new classReference();

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}

Embedded Fonts Issue
Hello everybody. I have a little concern about embedded fonts in AS3. I hope someone knows the answer. Actually I have two different version of my code: the first one works, but not the second one. What I really would like to know is if there is a way to make the second example work.
******* FILES ********
I have 3 "swf" files and 1 "as" file:
- MovieMain.swf
- MovieFont.swf
- MovieTextfield.swf
- MovieMain.as (base class of MovieMain.swf);

******* CONTENT ********
- MovieFont.swf: embedded font with class name "dematFont";
- MovieTextfield: 1. base class "MovieTextfield".
2. Dynamic textfield with instance name "sampleTextfield";
- MovieMain.swf: base class "MovieMain.as";
******* WHAT IT DOEs ********
- MovieMain.swf loads MovieFont.swf.
- Once MovieFont.swf is loaded, "dematFont" is registered on the global fonts list, _mainTextFormat.font gets the value of the embedded font, and MovieMain.swf loads MovieTextfield.swf.
- Once MovieTextfield.swf is loaded, it is added to the display list using addChild. The textfield inside it "sampleTextfield" gets _mainTextFormat as its TextFormat value;

******* PROBLEM ********
The code version 2 does not display the value "New Value" on the sampleTextField. The difference between both code version is highlighted on both with comments "//Difference". Is there any explanation about the reason that prevents the second code version from working and is there any way to solve this problem using the instance created with the base class MovieTextField? Thanks for reading this. Next you'll see both version codes:

******* CODE: MovieMain.as - Version 1 - This one works *******

Code:

package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {
var textfieldMovie:MovieClip = e.target.content; //Difference between both code versions
addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}
******* CODE: MovieMain.as - Version 2 - This one does not work *******

Code:

package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("MovieTextfield"); //Difference
var textfieldMovie:MovieClip = new classReference();
addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}

Embedded Video Issue
So I've created a video that is 45sec long in Final Cut. I export it as a quicktime move using mpeg-4 compression at 50% quality. The movie comes out looking great and its only 1.3mb compaired to 15mb uncompressed.

When I import the video into flash it supposedly compresses it even more using the sorenson codec but the movie comes out looking like crap and the published swf is now 3.5mb, compaired to the original 1.3mb size of the .mov file

Does any one know what the heck is going on?

AS3 - Embedded Fonts Issue
Hello everybody. I have a little concern about embedded fonts in AS3. I hope someone knows the answer. Actually I have two different version of my code: the first one works, but not the second one. What I really would like to know is if there is a way to make the second example work.

******* FILES ********

I have 3 "swf" files and 1 "as" file:

- MovieMain.swf
- MovieFont.swf
- MovieTextfield.swf

- MovieMain.as (base class of MovieMain.swf);


******* CONTENT ********

- MovieFont.swf: embedded font with class name "dematFont";
- MovieTextfield: 1. base class "MovieTextfield".
2. Dynamic textfield with instance name "sampleTextfield";
- MovieMain.swf: base class "MovieMain.as";

******* WHAT IT DOEs ********

- MovieMain.swf loads MovieFont.swf.
- Once MovieFont.swf is loaded, "dematFont" is registered on the global fonts list, _mainTextFormat.font gets the value of the embedded font, and MovieMain.swf loads MovieTextfield.swf.
- Once MovieTextfield.swf is loaded, it is added to the display list using addChild. The textfield inside it "sampleTextfield" gets _mainTextFormat as its TextFormat value;


******* PROBLEM ********

The code version 2 does not display the value "New Value" on the sampleTextField. The difference between both code version is highlighted on both with comments "//Difference". Is there any explanation about the reason that prevents the second code version from working and is there any way to solve this problem using the instance created with the base class MovieTextField? Thanks for reading this. Next you'll see both version codes:


******* CODE: MovieMain.as - Version 1 - This one works *******


Code:
package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var textfieldMovie:MovieClip = e.target.content; //Difference between both code versions

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}
******* CODE: MovieMain.as - Version 2 - This one does not work *******


Code:
package {
import flash.display.MovieClip;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;
import flash.text.Font;
import flash.text.TextFormat;
final public class MovieMain extends MovieClip {
public var _mainTextFormat:TextFormat = new TextFormat();
public function MovieMain():void {
var fontUrlrequest:URLRequest = new URLRequest("MovieFont.swf");
var fontLoader:Loader = new Loader();
fontLoader.load(fontUrlrequest);
fontLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fontLoaded);

}
private function fontLoaded(e:Event):void {
var classReference:Class = e.target.applicationDomain.getDefinition("dematFont");
Font.registerFont(classReference);
var embeddedFonts:Array = Font.enumerateFonts(false);
_mainTextFormat.font = embeddedFonts[0].fontName;
var textfieldUrlrequest:URLRequest = new URLRequest("MovieTextfield.swf");
var textfieldLoader:Loader = new Loader();
textfieldLoader.load(textfieldUrlrequest);
textfieldLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, textfieldLoaded);
}
private function textfieldLoaded(e:Event):void {

var classReference:Class = e.target.applicationDomain.getDefinition("MovieTextfield"); //Difference
var textfieldMovie:MovieClip = new classReference();

addChild(textfieldMovie);
textfieldMovie.sampleTextfield.text = "New Value";
textfieldMovie.sampleTextfield.embedFonts = true;
textfieldMovie.sampleTextfield.setTextFormat(_mainTextFormat);

}
}
}

Transparent Movie Issue
I have make a movie transparent using "wmode - transparent". The problem is:

When i view the page at 16 bit ( high color ), it displays the background faded.

Now when I view it at 24 bit or 32 bit ( true color ), it looks fine.

Anyone knows why this is happening?

Here is where the movie is located. http://www.aps.us

It's the "job opportunities" on the top right corner.

Thanks all!

Transparent FLV Event Issue
Alright community, bring your mighty brains together on this one:

I have a video shot on green screen, that I have encoded for Flash8 - with transparency - into an FLV for progressive download. The video by itself works as intended.

I am running the UI through the NetConnection and NetStream objects, so I am not using an pre-compiled clips on the stage. I launch the video from a regular movie clip button on the stage as well (which also has onRollOver and onRollOut events attached to it). I press the button to play the video and the video starts playing.

BUT

When I roll off of the button - the video stops. I also tried to TWEEN a still image of the video (alpha fade out) and then play the video. The tween worked, the video didn't play.

Am I missing something here? Can Flash not support the playing of video and running other events at the same time. Is there something more that I should be doing to be able to have this kind of functionality?

Anybody who has worked with transparent video - please let me know - I've been stuck on this for 2 days and I am about to hurt someone.

Thanks for your input people...

Wmode Transparent Issue
hello,

So I am told that in order to have dhtml elements expand over a flash moive you need to set the wmode to transparent. Only problem - when you set the wmode to transparent the flash functions and buttons are not accessible???

What can be done?

This site seems to have done it (delta )

Embedded Video / Load Issue
Hi there,

This is something that has been giving me the irrates for a while now, so I though I'd throw it out and see if I can get an answer.....

OK, so I have an embedded video in a movieclip, that I have 'exporting for actionscript', but I dont have it 'exporting in the first frame' due to the fact that it causes my loader not to display accurately. So I place the video in the second frame of the main timeline. This works fine, its embedded, and the loader loads up nice and smoothly. But, once everything is loaded, if I try to attach the movie to the stage, while staying on frame 1, it doesnt work?

I can work around this by putting everything in the 3rd frame of the main timeline, but this seems kind of silly..... its loaded, why can't I call it?

Suggestions?

Issue With Embedded Fonts And LoadMovie
Hello,
I have a main movie with a blank holder clip that I am loading an external movie into. This blank holder is sitting on even x,y coords.

In my external movie, I am embedding several fonts, not even pixel fonts, like verdana incase people do not have them. when I preview the external movie, it looks fine, fonts are crisp.

When I load it into the main movie, the fonts of the loaded movie look blurry and not crisp. What is causing this?

TextField And Dynamically Embedded Fonts Issue
I have an app that dynamically loads fonts at runtime. Most of my TextFields look perfectly fine, but a few of them don't display the text properly. On these, the text is displayed on top of the TextField, as if the top border were the baseline. What's more, when they are multi-line TextFields the text does not wrap (wordWrap is set to true). The strange thing is that there is no difference that I can see between the TextFields that work and the ones that don't. In fact, it is the same code that generates these TextFields (they are also dynamic).

When I set embedFonts to false it works fine, just with the wrong font, of course... so I believe it has something to do with this.

Wmode:transparent,interactivity Issue --- Firefox
Hello everybody,

I post a similar thread before, but maybe it was a little mixed up, after trying a menu on the server many times, i found that it has a big problem; when displayed in firefox, I mean, the transparency works fine, but the buttons (over the iframe "contents", because part of the flash menu is over an iframe) are useless. But when I put the iframe completely below the flash menu, buttons work again!... I'm not sure if this is a bug in firefox, i searched some and looks like many people have problems with using flash interactivity w/transparency in firefox., well here are the two examples I made, if someonecan help me it with be really cool, cause I already did it and client likes it, but if its never going to work i might make something different...


1)http://www.manuelhuertas.net/ozomate/ozomatemenu2.html
(this is how the menu should be over the iframe but buttons aren't working)

2)http://www.manuelhuertas.net/ozomate/ozomatemenu.html
(this is the same menu, but as I mentioned the iframe completely below the flash menu)

Transparent Background & Transparent Color In Flash Player
Hi...

I know I can make the main _root background transparent by adding awmode = transparent property to the html embedding code. But what if I want more complex effects... it´s easier if you see what I´m trying to do... visit this URL and note the flash animation -> www.chapeco-online.com.br/test . It has a transparent background and a little fade in effect done by a simple motion tweening... what if I want to motion tween from a transparent color (so the html background shows up) instead of white? Is that possible?

Thanks in advance,

Marcelo.

Strange Component / Vmode="transparent" Issue
I was placing my swf into an html file and was having the nice combo boxes not appearing, but instead turning into backgroundless input boxes> Spent ages trying to track the problem down, thought it might have been my custom skin, some weirdness with how I was supposed link up components in CS3, all sorts of things....

Finally narrowed it down to the wmode="transparent" attribute of the HTML embedd tag!

Anyhow, I'll plug in UFO or SWFobject and see if that allows me to change the wmode and keep my comboboxes.... but is this a known bug or could I be doing something else wrong?

Not The Normal "transparent Drop-down Over Text" Issue
I have a great looking drop-down menu that we created and the client loves it.

However, after getting it transparent and looking great dropping down over the html content, we discovered an issue. The menu drops down 350px over the underlying html layer but any URLs or Form objects (basically anything requiring cursor action) under the Flash layer are unusable. If you right-click in the Flash layer area (DMZ?) over the html, you get the Flash plug-in menu.

Example: ndsion.net/newsite/InquiryForm.html

I have seen this done in commercial products such as 'F-Source Drop Down Menus' (f-source.com) where the Flash layer only covers the html when the drop-down occurs, so I know it is possible, just beyond my skillz. I've tried adjusting the z-index of the enclosing DIVs but that doesn't work. The way it is now, and in many designs using flash drop downs is to have another Flash element or image in this "DMZ' area, under the flash layer but that is clunky to say the least.

Any ideas?

Flash Embedded In Flex Embedded In Flash
I have a flash 9 as3 movie that contains a flex flv player that uses an embedded flash flv player. All works great, except the main timeline of the top level flash movie, I need to unload the embedded flex/flash when someone exits the video player. Currently the player is unloaded from the stage, but the movie continues to play (still hear audio).

The flex application & flash flv player (as2) communicate via local connection. Works great standalone.

The wrapper flash movie is dynamically loading the flex application via Loader.
The main timeline contains a flvPlayer:MovieClip instance of "movieClip".

movieClip contains the actionscript to load & display the flv player via myLoader:Loader.

So... root->movieClip->myLoader

I have another movie that contains animated navigation... I need to check & see if the moviePlayer is loaded when any navigation button is clicked... if it is, unload it.

Currently I have...


ActionScript Code:
if(MovieClip(this.root).moviePlayer)
  if(MovieClip(this.root).moviePlayer.parent ) {
    trace("Deleting");
    var c:MovieClip = MovieClip(this.root).moviePlayer.myLoader.content as MovieClip;
    c.myLoader().unload();
    c.removeChildAt(0);
}
...which doesn't work.

I have a feeling that I just need to stop playback of the actual movie first? If that's true, then I need to be able to access the Local Connection (toFlash_lc:LocalConnection) of the Flex Application to fire the setPath of the flex-embedded flv player. toFlash_lc is in the swf loaded via myLoader.

So I need to be able to call a function (local to Flex) that contains...

ActionScript Code:
toFlash_lc.send('lc_from_flex', 'setPath',String(event.currentTarget.mediasource))
... or call this directly.

I'm out of things to try. Can anyone help?

Kevin

Transparent Flash Over Non-Transparent Flash Problem
we are gonna put a transparent flash Ad on a website. but this website already has some flash on its pages.

the problem is when we use <div> to put the tranparent flash float over the webpages, the transparent flash actually get coverred by the non-transparent flash, no matter how big i set the z-index value.

i have tested locally and found out transparent flash always get covered by non-transparent flash.

have anyone had this problem before?? do u know how to solve it??

Wmode="transparent" Issue
I have a combobox component in my flash movie and i have embedded it in a html file. This is the code i have used to have it embedded, so as to make the movie background transparent. Note the 'wmode' parameter which i have set to 'transparent'.


HTML Code:
<param name="wmode" value="transparent" />
<embed src="Listbox.swf" width="550" height="400" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent"></embed>
Now i cant see any of the flash builtin components contained in the movie - be it a combobox component, button component or colorpicker component. All the other custom components that i created seems to work fine. But if i remove the 'wmode' parameter from the HTML code, all the components work just fine!!!

Dynamic Textfield - Embedded Font - Embedded Characters Problem
Hi everyone,
In AS in flash 8, i'm doing the following : a font "Garamond" in my library,creating a textfielda textformat that is used on my textfieldi define the characters that should be embedded...
This last point doesn't seem to work...
This is my code (you can also check my fla) :

--
var myFormat = new TextFormat();
myFormat.font = "Garamond";
myFormat.size = 20;
myFormat.color = "0xFFFFFF";

createEmptyMovieClip("myContainer",10);

myContainer.createTextField("myText", 11, 0,0,400,500);
myContainer.myText.border=true;
myContainer.myText.autoSize = true;
myContainer.myText.html = true;

_root.myContainer.myText.embeddedCharacters = "ęąłńśźćóĘĄŁŃŚĆŻÓ";
myContainer.myText.htmlText = "test characters : : ęąłńśźćóĘĄŁŃŚĆŻÓ" ;

myContainer.myText.selectable = false;
myContainer.myText.wordWrap = true;
myContainer.myText.embedFonts = true;
myContainer.myText.setTextFormat(myFormat) ;

--
I was also trying with the following :

myContainer.myText.useDeviceFonts = true;

But without problem (otherwise I wouldn't email here, huh?)

Can someone tell me what i'm doing wrong that my embeddedCharacters don't seem to work?

Thanks in advance!
Greetz,
Dzjoepke

How Do You Define Which Character Set Gets Embedded With A Font Embedded In The Library (i.e. Korean)?
I have project that uses a shared fonts. The fonts are all contained in a single swf ("fonts.swf"), are embedded in that swf's library and are set to export for actionscript and runtime sharing.

The text in the project is dynamic and is loaded in from external XML files. The text is formatted via styles contained in a CSS object.

This project needs to be localized into 20 or so different languages.

Everything works great with one exception: I can’t figure out how to set which character set gets exported for runtime sharing. i.e. I want to create a fonts.swf that contains Korean characters, change the XML based text to Korean and have the text display correctly.

I’ve tried changing the language of my OS (WinXP) and re-exporting but that doesn’t work correctly. I’ve also tried adding substitute font keys to the registry (at: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionFontSubstitutes) as outlined here:
http://www.quasimondo.com/archives/000211.php
but the fonts I added did not show up in Flash's font menue.

I’ve also tried the method outlined here:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275
to no avail.

I know there must be a simple solution that will allow me to embed language specific character sets for the fonts embedded in the library but I have yet to discover what it is.

Any insight would be greatly appreciated.

http://www.quasimondo.com/archives/000211.php

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275

Button To Morph To Transparent On Rollover And Stay Transparent?
hi,

trying to get a button to go from a solid 100% to 0% alpha and then stay at 0% alpha, not go back to the original upstate. as they do in http://www.requiemforadream.com/

i made a movie clip that does that then put it in the upstate of the button.

problem i can't solve yet... is,

the movie clip plays immediately rather than waiting for rollover. (it plays whether i have tell target actions or not)

if there are any fla's out there available for this I WOULD LOVE it,

thanks in advance,

jane

Button Issue In Flash - Program Issue
all of a sudden when i create a button and place it on stage i cant click it to drag it, scale or whatever...instead when i hover over it it behaves as in a compiled swf file (cursor changes into a hand,...).
How can i change that to the way it was? Anyone had this problem before? It is becoming really irritating.

Difference Embedded And Not Embedded Font
Hi all,
I was wondering if anyone had the same problem I did.. I'm using a font called DS-Digital (free font) in one of my movies and well if I don't embed the font and use the textFormatter to determine my dynamic text width then everything is find, however if I use the embed font feature and determine it's with the same way then it's about 5-10 pixels smaller, which causes the text to display incorrectly..

Is there a way to fix it easily. Right now I just add 25 pixels to the textFormatter width just to be sure the font is displayed properly, but I hope there will be a different solution for this problem..

Thanks for any help..

Embedded Video + Embedded Cuepoints
I am using embedded video with embedded cuepoints.

When i put setBufferTime on 0 the cuepoints of the flvmovie will be readed good, the right moment.

If i put setBufferTime on 10 or 20 than the cuepoints will be readed 10 or 20 secs faster.

Somebody known of this problem?
And have a workaround for this?

I am using Netstream connection.
(not the flvPlayback or mediaPlayback component)

Transparent Image Not Recognized As Transparent
I am loading a PNG with transparency into a UILoader. This part works correctly, transparency and all.

Now I need to find out the rectangle that is transparent. I found the getColorBoundsRect() function, and copied the UILoader.content into a bitmapData, but when I run the getColorBoundsRect it comes back with a Rectangle that has no width or height - IE, it finds no transparent pixels.

To test, I tried using getPixel32 on an area of the image I know is transparent, and it comes back to tell me that the pixel alpha is 255?

Applicable code is attached.







Attach Code

function rightImageLoaded(evt:Event):void {
var clBD:BitmapData = new BitmapData(735,600,true);
clBD.draw((evt.target as UILoader).content);
var transparentRect:Rectangle = clBD.getColorBoundsRect(0xFF000000,0x00000000,true);

trace(transparentRect);
}

Flash 8 Pro Issue Interval Issue
Hey, I've been working on my site for a few weeks trying to get it all just right, and I'm making it import text, to text fields from external documents, I've been using loadVariablesNum() and createTextField() to post the text onto the flash document.


ActionScript Code:
//0x393c39;
       
this.createTextField("forum_box",this.getNextHighestDepth(),212,3,162,120);
forum_box.wordWrap = true;
forum_box.border = true;
loadVariablesNum ("forum_txt.php", 2);
function ftv() {
   if (_level2.forum_txt != undefined) {
      trace(_level2.forum_txt);
      forum_box.htmlText = _level2.forum_txt;
      clearInterval(ftt);
   }
}
var ftt:Number = setInterval(ftv, 100);

this function keeps looping, it is in a frame that is only called once, i tested this by placing a trace at the very begining , just to see if it would echo it to the output screen more than once, It seems my interval isn't stopped by clearInterval(). if anyone can see my issue here it would be greatly helpful.


Thanks

Is There Any Way For Flash To See Where It Is Embedded?
I have a Flash file that goes on multiple pages.. And I want it to be able to read the page its on.. (preferrably without using javascript communication)

Cause if its on page www.example.com/?page=1
it displays one thing...
if its on www.example.com/?page=2
it displays something else....

Is that possible?

Embedded Flash
Hi Guys,

I am trying to embed some flash in my site, but it doesn't seem to be working. When I type the full URL of the SWF, it comes up, but when I try to embed it it doesn't.

I am using this HTML:


Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=6,0,29,0" width="300" height="400">
<param name="movie" value="http://www.gawmir.com/music/monkeykn...troduction.swf">
<param name="quality" value="high">
<embed src="<A href="http://www.gawmir.com/music/monkeyknuts/introduction.swf">http://www.gawmir.com/music/monkeyknuts/introduction.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="100"></object>
All that appears is a white box, where the flash should be...
Does anyone know whats wrong please?

Cheers,
Mike

Flash And Embedded FLV
Hi there!
I haven't clear idea where this should be but I'm going to try here.

I made a small video with After Effects - a sign that flips. It's seem like a loop but...
When I import it into Flash (in MovieClip) and when it reaches the last "frame" the video disappears like there is one empty frame. But there isn't.
How can I make a clear loop with FLV video?

How-to?, Flash And Dhml?, To Make Flash Transparent Over A Page After It Minimazes.
Hello people, long time since I posted here.
Well, I started checking this issue today, about how to put a flash banner in the index page of a site. A flash banner that makes himself big, covering one half of the screen, then it makes himself small in a corner ('bout a tenth of the page, 1/10), leaving the rest of the page to display text. What I'm trying to do is make a big flash animation cover half the page, then, when its over, to make itself small, and leave the rest of the area to be used for text.
I think that this can be done with dhtml and flash, also using some properties of flash to make the background of the flash transparent. I found a tutorial of using dhtml, but it didn't explain nothing at all, or for beginers.
Any one knows where can I find this information/tutorial?, or how can it be done, so I do some research on that.??

thanks people,

If I didn't made myself clear, please tell me.

TranspareNt FLash
heLLo masterS! could you teLL me what shall i putt in the html to have tHe flasH transParent in netscaPe? i know it foR the i.e... but netScape?
thanKs

Transparent Flash BG
we wanna make a mediaKit and have it run as an .exe on people's desktop.

how can we give it a semi-transparent background, without the usual window edges, etc.

thanks!!!

Transparent Bg For Flash?
can someone help me? i need to know how to make the bg of the flash movie transparent.. im using MX so if someone can explain to me how to do it using MX that would be great. thanks.

Transparent Flash Ad.
'Allo. I've seen a few flash documents appear on a webpage with a transparent background. Usually an ad or something. If anyone's seen one, do you know how its done?

Can A Flash BG Be Transparent?
Hi Folks,
Can I make the background (or parts of the background) of a flash movie transparent? I'd like to be able to see the background of the html page that embeds the flash - so for example, I have a highly textured background in my html page, I want my small flash logo movie to show the texture under the logo.

Is there an easy or not-so-easy way to do this? Thanks for any help!

Transparent Flash
Hi everyone,

i guess everybody knows this so please tell me how to put a transparent flash over HTML, say, ball flying over entire html page or something? what do i do both in flash and html? thx!!!

Transparent Flash Ads
Hiya

I know this question has been answered somewhere on these boards, but the search seems to be down at the moment, and i need to get an answer to someone quickly...


How do you create those jolly irritating flash ads that hover, transparently over the rest of the page.

I've tinkered with the html settings in the embed code, but to no avail.

I'm assuming there's a component somewhere in the mix...

Cheers

Transparent Flash?
http://www.gfx-verge.de/index.php?gfxv=explosion

How is that floating flash movie done? I've seen this on a lot of websites and have been very curious as to how thats done. Anyone know?

FrankieB

Transparent Flash
Hello this may be a simple question but I do not know the answer that is why i am sking you all. I know how to make flash transparent for Internet explorer 6 and beyond as well as for other browsers buy using a param called wmode and then placing that pram in the embed code. My question is that is there a difference between IE 5.5+ on a PC and a MAC I use the latest version of IE at home on a PC and when I come to the mac lab at school they are using IE 5 and i can still see the background when ive coded it to be transparent and I cant see the background when I am home just like its supposed to.


Thanks
Asnutting

[CS3] Transparent Flash On Top
Hi i can have a transparent flash menu which grows and shrinks over the page?
i build the swf, but i need some help with the code to put it on top.
So that it does not block my html buttons under the menu.

THANKS!!!

BG Transparent In Flash? Help Plz
Brothers..
Whou to create a flash movie with background transparent?
Does a Flash movie can contain transparency once it has published on site? How to?

Help me plz...






























Edited: 04/17/2007 at 03:43:08 AM by Elisio Nhantumbo

Flash Transparent
Friends,

How Can I do a Flash with transparency so I can
see the background image ?

The Idea is very simple:

A flash object only with a text message
and I need to set this flash as transparent.

Where do I do this configuration ? In Flash or in Dreamweaver ?

Best regards

Bruno Alecrim
Rio de janeiro - Brasil

Copyright © 2005-08 www.BigResource.com, All rights reserved