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




Import Psd, Png Gif. Issue



Although I'm not an expert I've been using flash for a few years on and off. I've run into this problem before but ignored it. But I cannot let go this time.The problem is that when I import any type of bitmap image that allows for transparency (I've tried them all: psd, png, gif), flash renders the transparent sections of the image a slightly different color than the background on which they are sitting. For example, if I draw a circle on a transparent background (200 x 200) in photoshop then save it (png, gif, psd) and import it to flash, I see the circle, but I also see a very light shaded rectangle (200 x 200). It should be noted that the backgrounds I'm using are usually a darker tint, and that the lcd screen on my HP laptop exaggerates the outline/square (makes it a little more obvious than other screens I work on). I've tried importing from imageready and fireworks - the problem prevails. I would greatly appreciate any help. I've uploaded the elements of the project in a zip file to www.fulloutfit.com/roadQuill.



Adobe > Flash General Discussion
Posted on: 11/07/2007 12:17:48 PM


View Complete Forum Thread with Replies

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

Import Issue
Hi,

I imported a logo, a .png logo. Although i broke my background image in flash (cntrl+b) and that I put a layer at the top with a white square and opacity 1%, I still see that the logo is changed in shape a bit when I convert it to a movie clip or graphic, how can I solve this?

Greetz
tnx in adv

[CS3] Import Issue
Hello All,

I am hoping to find some help with this as I am new to flash.

I am currently working on a flash document were I am trying to import a SWF from another document which was created in MX2004 into my current document CS3. Every time i take the object out of the library and place it onto the stage the object will not play once i test it out.

Thanks

.mpeg Import Issue - Please Help
Hi all

I am designing a presentation which incorporates various mpegs - I have loaded 2 succesfully, but the 3rd gives me a message "1 or more files were not imported because there were problems reading them"

When I hit ok, nothing has been imported. I know thsat this specific file is mpeg 2 format...does MX have an issue with the mpeg2 format? I 've tried 2 known mpeg2 movies and neither worked

Cheers
JC

Import Loop Issue With Mp3
We are dynimically importing mp3s and using them as loops.

There is a gap between the end of the loop and the start only using mp3 files . This is a bug with flash.

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

The above states to use a different format. However we are dynimcally loading a cross platform mp3 file. I do not know another small format that flash supports loading dymimcally?
wav and aiff are to large and platform specific for dynimcally loading files.

So how to i fix this bug?

The sound has to be loaded dynimcally as mp3 or a simular file format that uses the same loadSound function.

Thanks

Video Import Keyframes Issue
I would like to import a video, where each frame is a keyframe, meaning i can copy certain frames and use them later on.

the only solution i think i have for this, is to take the video into final cut and export it as jpgs and make each jpg a frame, but i think this will make the file huge.

when i import right now, it makes one keyframe and then the embedded video part.

any help please? thank you

Flash Newbie..swf Import Issue
Ok guys, I am really hoping for a solution, and I know you can get me one.

I am trying to make a flash movie that will display little tag lines over an image I have on a web site.

I am using WILDFXPRO to make little one line text effect .swf files.

I was trying to then create the flash movie that would sit on the header image of my layout. I wanted to then import the individual .swf's I saved from the WILDFXPRO output INTO the new flash movie, and have them run one after another...OR try to figure out enough action script to load/unload them one after another.

No-matter what I try to do...I cannot get the darn things to play properly. Can anyone give me some insight as to how I would import these swf's so that they will play one after another?

Thanks in advance.

jpm226@comcast.net

Bulk Import Statments Vs. Specific Import Statements...any Performance Difference?
Lets say I have 20 classes located at nl/amsterdam/simulation/model/. Now I'm writing another class that is going to use some of those 20 classes. Is there any performance difference in the compiled swf if I import them all using a wildcard:

Code:
package nl.amsterdam.simulation.view
{
import nl.amsterdam.simulation.*
...
versus importing each specific one that I need?:


Code:
package nl.amsterdam.simulation.view
{
import nl.amsterdam.simulation.model.Tulip;
import nl.amsterdam.simulation.model.Canal;
import nl.amsterdam.simulation.model.Prostitute;
import nl.amsterdam.simulation.model.StonedTourist;
import nl.amsterdam.simulation.model.BuisnessMan;
import nl.amsterdam.simulation.model.Windmill;
import nl.amsterdam.simulation.model.CoffeeShop;
import nl.amsterdam.simulation.model.SkinnyBuilding;
...
Or is there only a difference in the time it takes to compile, not the time it takes to execute?

When Is Necessary To Use Import Statements To Import Classes?
Hi,

I'm sure that it must be necessary to use import statements in some situations, I'm finding that my code often works fine without them. For example, some instructions will say it is necessary to use import.flash.events.MouseEvent; before MouseEvent.CLICK will work, or that I must import the loader class before loading an SWF, but I'm finding that I can skip timporting and it works fine. Could anyone please explain why this it, and give me some idea of how to knew when to import and when I don't have to?

Thank you in advance!

Can't Import Import Fl.controls.ComboBox
Hi all!

I am starting learning AS 3.0 (used to use AS 2, that was sweet times ) and actually can't understand simple thing - why I can't include that package from action script?

I actually start new Action Script 3 file, and put single line in first frame


Code:
import fl.controls.ComboBox
and got errors

Code:
1172: Definition fl.controls:ComboBox could not be found.
1172: Definition fl.controls:ComboBox could not be found.
Actually thats part from the code listed at the manual and I don't have any idea, why it doesn't work.

Also when I open components window and drag combobox to scene error is not showed any more.

Any ideas how can I solve this problem without adding combobox to the library?

[Flash 8] Import, Import, Import
Last edited by Nutrox : 2005-09-18 at 06:24.
























 
Ahh!! I'm already getting a bit tired of having to continuously import classes into Flash for things like BitmapData, Rectangle, and Point etc. Is there a way I can set things up so that these classes don't need to be manually imported all of the time?

I've tried a few things including : (a) Creating extension classes, but Flash moans about class paths when I try to import something like flash.display.BitmapData into my own class. (b) Setting a class path so that it points at the class directory .. $(LocalData)/Classes/FP8/flash/display/ .. but that doesn't work either (I know why, but it was worth a shot). (c) Importing the entire class package .. import FP8.* .. but that causes errors with a tonne of other classes. import FP8.geom.* etc works though, but that doesn't really help.

Am I just missing something obvious here, or is there no way around this?


Si ++

[CS3] Still Having Clock Time Zone Issue---and Dynamic Text Box Issue
I'm trying to do a clock that displays another time zone. The problem I'm having is that instead of running on a 12 hour clock, its on a 24hr one.

any insight as to how I can change the time?
Currently the clock is displaying
23:00p-Jul.22

I want it to display 11:00p-Jul.22

var dayText:String;
var dateText:String;
var monthText:String;
var AmPm:String;
_root.onEnterFrame = function() {
var myDateate = new Date();
//var sec:Number = myDate.getSeconds();
var min:Number = myDate.getMinutes();
var hour:Number = myDate.getHours();
var day:Number = myDate.getDay();
var date:Number = myDate.getDate();
var month:Number = myDate.getMonth();
//var year:Number = myDate.getFullYear();
//sec = sec<10 ? "0"+sec : sec;
min = min<10 ? "0"+min : min;

//AM/PM
if (hour>12) {
hour = hour-12;
AmPm = "p";
} else {
AmPm = "a";
}


//day
if(date == 1 || date == 21 || date == 31) {
dateText = date+"";
} else if(date == 2 || date == 22) {
dateText = date+"";
} else if(date == 3 || date == 23) {
dateText = date+"";
} else {
dateText = date+"";
}

//month
if (month == 0) {
monthText = "jan";
} else if (month == 1) {
monthText = "feb";
} else if (month == 2) {
monthText = "mar";
} else if (month == 3) {
monthText = "apr";
} else if (month == 4) {
monthText = "may";
} else if (month == 5) {
monthText = "jun";
} else if (month == 6) {
monthText = "jul";
} else if (month == 7) {
monthText = "aug";
} else if (month == 8) {
monthText = "sep";
} else if (month == 9) {
monthText = "oct";
} else if (month == 10) {
monthText = "nov";
} else if (month == 11) {
monthText = "dec";
}

//display
dateDisplay.text = hour+":"+min+ AmPm + "-" + monthText+"."+ dateText;
};

Import Via "import To Stage"
I opened a new AS2 document in Flash CS3

I designed a clip which I saved as an fla and exported to an swf file.

Now I imported the swf onto the stage but all that has happened is that the seperate swf componens are on the stage and not the complete clip?

Complex Audio Issue..or Maybe Just Syntax Issue
what's up peoples. I'm building a new site for my studio and having some audio issues i can't explain very well, so here goes:

I've got an external .swf successfully loading into _level6 of my project with it's own audio. and from reading thse forums, i know that if i want to control the audio independently of other audio, i need to attach the sound object to a seperate movieclip, which i'm doing and I can control the audio just fine. However, when i click to load in a dynamic image into a dynamicly loaded movieClip, the volume button no longer works. Both the soundobject's mc and the dynamic mc's are being loaded into the nextHighestDepth() so i don't think one is kicking out the other. Here's what i've got:

Code to attach the soundObject when the section starts:

Code:
this.createEmptyMovieClip("soundstage6",this.getNextHighestDepth());
work_sound = new Sound(soundstage6);
work_sound.attachSound("myaudiofile");
work_sound.start(0, 999);
Code to control the volume:

Code:
this.testVol.onPress = function () {
this._parent.work_sound.setVolume(0);
}
Code that loads in my dynamic images:

Code:
this.testLoad.onPress = function () {
_root.attachMovie("infoClip", "infoClip", this.getNextHighestDepth(), {_alpha:0, _x:491.1, _y:193.9});
}
that testLoad button does severl other things when clicked, but when i comment out that particular line of code, the volume control button contines to work. I'm sure this has something to do with the fact that all of this is occuring on _level6 but i have no idea why or how to fix it!!!

Anybody have any ideas? Sorry for the long and complex explination!!

Mac Textinput Issue + New Player Fullscreen Issue
Please inform me if I am a total idiot,... but it appears that holding down backspace while in a TextInput on a mac will only delete one character rather than deleting chars as long as the button is held down. I have tried making the simplest project consisting of only a base sprite and a textinput, and it fails (i thought i may have been preventing the event from bubbling or something.) I tested the movie on PC and holding down backspace works fine. Is this a known issue? and so I just have to extend textInput?...

Also, it seems like when coming back from fullscreen in a swf embedded on a page causes some flickering of the swf content upon resizing the browser window, 3 people I know have also encountered this problem.

Thanks for any help,

Chris Laan

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.

Level Issue Or Version Issue?
hi,

wondering if anyone knows why this movie here:

http://www.pixel360.com/dev/zoompan.html

works fine as it is, but when loaded into another movie, into an MC called 'blankmc1' it will drag, but not zoom?

Also when i try exporting it as AS 2 and Flash8 the zoom handle sticks to the top of the screen?

source here:
----------------------------------------------
http://www.pixel360.com/dev/zoompan.fla

weird?

Help With Crash Issue/actionscript Issue
Hello all,
My name is Josh and I want to say thanks for even reading my post, I appreciate any help I can get. I am here at work trying to edit a flash intro I bought from templatemonster (no im not a newbie, but this is the one my boss really liked, so what he wants he gets). Im trying to edit it here and i first opened it in Flash 8 which is what i normally use. So, im editing it and usually after I edit a few things I would like to get a glimpse so i test the movie real quick. Well, everytime the "export movie" dialog box came up, it stops at about a little more than half way and the box goes away and NOTHING comes up. IT doesnt freeze, but my test movie doesnt show like something usually would. So i tried installing/uninstalling it to no avail. Finally my boss went out and purchased flash cs3 and we installed that. So im editing it again, and went to test movie, and this time it gets 3/4 way done and "flash has unexpectedly quit" etc etc. So im starting to think its something with the actionscripting maybe?? i dont know but im really frustrated and need some help here. And also, even if I tried to just plain export the movie to swf, crashes too!
Thanks everyone!
-Josh

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

Import Jpg,bmp Into Swf
Hi
is ther a wey to import jpg's or bmp's into a swf movie?

thanks

CHE

Import ?
I'm trying to make some icon type grafics.
that are like "squarey".
and I tried to make a .bmp file with paint
and then import it in flash, but once imported the pictures becomes blurry.
does anyone know what is the best way to do this?

Import MP3 ?
Hi,

does someone know if it is somehow or other possible to import an external MP3-file into a flash movie, without turning this MP3 first to an swf-file ? (As I'm building an MP-3 player...)

thanx
j

How Do U Import A Jpg?
hey i just got flash mx and i was just wanting to know how u can import and jpg image with out it going blurey?

Dxf-import
Hy,
I have a problem with the import of dxf-files from Autocad. It doesnt work with dxf 12,13,14. Flash abort with unknown error. I moved my drawing to 0,0,0,- no result.
Any solutions??

Leins

Import Swf...
seems like a simple problem, but i cant get it. i loaded an external swf into my main movie. the main movie can change the variables in the external swf or call any functions from it. im sure protect from import is unchecked and my paths are right. any other ideas?

Best Way To Import A Bmp?
I need to make an animation at a really small file size, which contains a c ouple of b&w pictures in it . the pictures won't be moving. they'll just appear on screen for a few seconds.
Do u guys know what the best way is to bring a pic into flash???

regards,
mnky

Import Jpg
Is there any way to import jpg files into an application on the remote server and get them vectorized for use and manipulation within the flash player?

thanks,

Help With AVI Import
how do i import AVIs into flash? I encoded them with winmorph. and can I tween them and pause and resume them?

Import From Web
Need to know how to download a flash file from the web.



Thankyou,

Tracy James tracyjame@aol.com

MP3 Import
Anyone know why Flash has problems reading (and importing) some MP3s and not others? I can import some that I found on Kazaa to the library, but a whole bunch that I ripped myself can't be imported. They're all at 44.1kHz, but the bitrates vary among the ones I try to import. Does Flash prefer a certain bitrate?

.swf Import?
how do I play a .swf in my new flash site

like: I got a logo and converted it to .swf
now, I want to play that same logo in my new .fla
can I just make a frame like in HTML ? sure hope so
thx for advise

www.TheNymf.tk

Import AVI
I've an AVI file from 2 seconds, and would like to convert that to a flash file to offer it on my webpage.
How can that be done in Swish?

Thanks,
Gunivortus
Goos@boudicca.de

3D Import
Hi, How can i import 3d models into flash and manipulat them, like rotate Thanks for you help

Txt Import Etc.....
anyone?
Im trying to get a blog type thing going and am considering using php to write to a txtr file but, was wondering if
1. dynamic text can be rendered as html; and if so does ccs work and does javascript for popups specifically
also with fonts - are embedded fonts usable in those feilds?

but is there a better way to blog
php is one thing i know as well as bringing in txt dynamically
thanks to musicmans help

Import Avi Or Mpg
Is it possible to import avi or mpg into SWISH?

Import Wma
Is there any simple way to import a wma into flash mx? Is there a plug in or an upgrade that someone has developed? If anyone could point me to a good free audio converter I would be grateful. Thanks.

Import Img
is there a way to import an image into flash mx and have it "erasable"? like u can take the eraser tool and erase half of it.

Import Swf
Question.....

Does anybody know how to control a larger swf in a small swf?

For instance. picture.swf (1000 pixels wide) and I wanna import that in a
mainmovie.swf (200 pixels wide) and I wanna scroll that horizontal.

Is it even possible????

if there is a fla in the "movies" section please gimem the link.... and i'll find it out my self...

thanks

Tianshi

Import An Swf
Question.....

Does anybody know how to control a larger swf in a small swf?

For instance. picture.swf (1000 pixels wide) and I wanna import that in a
mainmovie.swf (200 pixels wide) and I wanna scroll that horizontal.

Is it even possible????

if there is a fla in the "movies" section please gimem the link.... and i'll find it out my self...

thanks

Tianshi

Cannot Import Wmv
I can't figure this out.. At home I have Flash MX Pro 2004 and I work I have Flash MX Pro 2004. I can import WMV files I have created with Windows Movie Maker at home. But when I try to Import them at work. It doesn't recognize. I have the same version of MX Pro. What could it be..
Thanks

How Do I Import Swf?
ive created this complex swf -
im finding it extremely difficult to put this info into another swf.
id like to know if i can import this souly as a movie clip.

when i try to import [file import/import to library] it comes in
in frames. and they suck.

help?

How To Import SWF
I managed to get the .swf from them.

The movie is nice and with text movies.
But when i open with flash MX and using import or import as library.
The background is there and only afew moments and no text moment.
( i mean not 100% what i saw in flash player)
How to convert every detail i seen on flash player?

(my english not good)

Can't Seem To Import MP3's
Hello all,

I'm enjoying all the sounds in the "Sound loop" section of this site but it seems everytime I want a .wav file, the file is not available.
I have no problem downloading the .mp3 file.. however whenever I try to import an .mp3 into my FlashMX, I get the following error:
"one or more files were not imported because there were problems reading them".

Any insight would be greatly appreciated.
Thanks

@lex

Import SWF
I am making a compliation CD of my college classes websites that they made in flash. My end aim is to have a projector that contains lots of content about various college stuff.

My question is - how can I import thier SWF websites so they are fully funtional, but appear within the template/interface that I have made.

The CD has to be done asap, so any suggestions welcome.

Thanks

Ok - Im aware that I can just load movie onto level 1, but I need them in a certain position, but cannot modify the swf's at all.. so no chance of putting anything like this on the first page...

this._x = whatever;
this._y = whatever;

Import And AS 2.0
I am authoring an application using Flash MX Pro, 7.0.1.

I am using the import statement from AS 2.o inside of different classes in different packages.

But when I do a syntax check (Ctrl + t) I get all kinds of errors saying that the imported classes do not match the references in the code, or that the class could not be loaded.

Now, I have checked the folder structure a hundred times, as well as the names of the classes and their AS files and they are all correct.

So why am I getting these errors when I check the code in the ActionScript editor?

thanks,

sprout

Import Avi Or Mov?
Hi all.

I'm trying to make a FLASH 5 presentation that includes a few video clips. Is that possible?

I imported a .mov file and it did nothing but when I imported a .avi file the first frame is shown (as if it's a picture) but doesn't play when I try "test movie" or "test scene"..

any thoughts?

Jpg Import
Everytime I import an image to my flash documents, i have to realize, that the quality is very bad.
How can I make my jpg-s look like good? Like when I open them with photoshop for example...

Import Swf's
Does anyone know a way of importing your flattened swf into a fla to play as a movie?

I am making an interactive portfolio in flash and wish to show some of my other flash work within this cv. To keep the file size down i would like to import the .swf into the .fla.

I would rather not import a swf exported as a .mov as i also wish to play about with the perspective and scaling.

Or can loadmovie actionscript be used to import a .swf into an area of your fla rather than taking over the whole screen?

Thanks

Import.mov
hi there,


in F5,
How come a .mov file will show in .fla but will not show in .swf?

ps. i want to create Flash FX on top of a video file

thanks

Import A .swf
I want to export another small swf which has some drawings and other things I made, and I was going to do a on release _blank link which works fne but I need it in the same movie for shopping cart purpose. I have the frame ready for import.I did imprt in and tested and when you hit the button or any other button it just blinks and you see a glimps of it and that is it.

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