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








In-line HTML Images Do Not Print


Hi! Has anyone ever loaded HTML with images into a dynamic text field and tried to print the text field? Although the image and text appear fine at run-time, sending a command to print the instance containing the field prints only the text and not the image the text wraps around. In the printout, the effect is of the text wrapping around an invisible box. I've used print and printAsBitmap. I'm exporting to Flash Player 8.




Adobe > Flash General Discussion
Posted on: 09/17/2007 02:00:28 PM


View Complete Forum Thread with Replies

Sponsored Links:

In-line HTML Images Do Not Print
Hi! Has anyone ever loaded HTML with images into a dynamic text field and tried to print the text field? Although the image and text appear fine at run-time, sending a command to print the instance containing the field prints only the text and not the image the text wraps around. In the printout, the effect is of the text wrapping around an invisible box. I've used print and printAsBitmap. I'm exporting to Flash Player 8.

View Replies !    View Related
HTML Images On Same Line In Textfield
Hey,

I have a dynamically text field that I want to populate with images.
I've set the text field parameters to:
my_txt.wordWrap = true;
my_txt.multiline = true;
my_txt.html = true;
What I want to do now is to have a series of images placed side by side on the same line of the textfield.
I tried
my_txt.htmlText = '<img src="_images/001.gif"/><img src="_images/002.gif"/><img src="_images/003.gif"/>';

All the above does is place the images line after line so in my text field only the last image added (003.gif) is visible.

I then tried adding width and height parameters to the images but the result was the same.

Anyone have any ideas?

Thanks
WIK

View Replies !    View Related
In-line Images In Html-textField Or TextArea Comp.
Hey,
I have a problem inserting images in a textArea component or a textfield rendered as HTML, when any image is inserted it goes to the next line where the text is. I need this for a chat component, inserting smileys on conversations.
Im including the <img> tag with all parameters but it is not working.

Thanks

View Replies !    View Related
Print A B-Line Bar Chart
Hi,

I am using B-Line Bar Chart(Stacked) for my graphing part and I am toggling 10 graphs using radiobuttons. I need help in opening the chart in a page which can be printed. I am planning to place a button and when i click the button, it should take me to printable page with the chart and chart information. Can somebody help me with this?.I'd appreciate the help.

Thanks,
Subba

View Replies !    View Related
Creating A Print Button Or Line
Hi Everyone
I am trying to teach myself how to use Macromedia Flash MX and I have started with FLASH MX 2004, I am trying to create a button or text line that when clicked will allow me to print the page (in this case it is a map). I have looked through the manual and have not been able to find anything that will allow me to do this.

Can anyone point me in the right direction?

Thanks in advance for your help.

Steve

View Replies !    View Related
Getting Images Via Print...
Is there a method to get an image output from an SWF embedded in a browser...

For example, I have a large form that does much math and in subsequent pages displays totals. My problem lies in that I want to allow the user to print, which is taken care of, but, I'd also like to have the output sent to an e-mail. IE..I need to send the images to an e-mail. Any idea how I would execute something like this?

View Replies !    View Related
Using FLASH To PRINT Images
Say I created an image/picture in FLASH, and I want to print it out? If the image is on the stage area (when I go to print preview it only shows a partial picture) If I move it "WAY" up and to the left if will print correctly.


Can someone tell me what is going on here?? If there a setting to change or something I am overlooking??


Thanks -whispers-

View Replies !    View Related
Print Without Bg Color And Images
Please help me to print from flash without bg color and images.

i need to prinbt only text from movie.


thanks in advance.
mp

View Replies !    View Related
Fade And Print Images - Anyone?
Hi!

Describing what I want is probably difficult but here we go:

I'm wanting to create an effect (preferrably in actionscript) which mimics how an inkjet printer prints onto paper. I.e. the text/images appear left to right over e few seconds. But I would also like it to fade slightly as though the ink were bleeding into the paper.

Any ideas?

Thanks.

View Replies !    View Related
[F8] Print Images Created In Flash?
Im creating an image in flash and I go to print it out and its sort of pixelated in a way. Is it my printer or can i change some settings in flash to help with this?

View Replies !    View Related
How To Print Text And Images With Quality?
To print images the PrintJob class must be set to "printasBitmap".
If the page has text and images in the same way PrintJob needs "printasBitmap" to print the images.
But this setting become text jagged, low resolution, bad quality.
I ask: Flash CS4 solve this problema?

View Replies !    View Related
Can't Print Large Images With PrintJob()
Hey all,

I'm having an issue where when I try to print a larger image via printjob one of two things happens. One either the job fails or two the output of the image is literally diagonally cut off. I am simply passing the stage to the print job. I've tried both with and without using printAsBitmap. Anyone encounter anything like that?

View Replies !    View Related
Multiple Images Loading And Print
Hi,

I have created a photo gallery, where in one page one image is displayed per page (img size is less than 5 kb). Images are getting loaded from the server side at run time and through XML files. To naviage between mutliple images I have NEXT and BACK button right their and they are working fine. One can also print the image using print button. But the problem occurs in case where User wants to print all the images at one go.

I am able to print multiple pages but images are not appearing in print outs but content is getting displayed pertaining to each image. I think images are not getting loaded at run time at the time of printing, but it does get displayed when u view it one by one.

For multiple print what i am doing is creating empty movie clips at run time and the same are populating with the different images and content and sending them one by one to the printer. I am using PrintJob Class.

Can any one have any pointers to this !! I would really appreciate any help or suggessions.

Thanks

View Replies !    View Related
Getting Flash To Print Alpha Images Correctly?
Hi,
I have a flash project im working on that needs to be able to print pages.
When I do though the images that have had alpha added to them don’t print correctly. It doesn’t show the translucent between them.
Is there away round this?

Thanks
Aidan

View Replies !    View Related
Print Or Cut/paste Adobe Flash Player 9 Images?
Is it possible to print or cut/paste adobeflashplayer9 images? Is there an add on or download to do this? Thanks.

View Replies !    View Related
Print A HTML-page
Hi there again,
how can I tell a browser (should work with every browser) to not just print the shockwave-file, but also the whole HTML-page (including every little picture, etc.), by using ActionScript.

Hope you can help me out!
Defoelde

View Replies !    View Related
Doesnt Print In Html
Hi,

Has anyone else experienced this problem?

A print movie which is dynamically filled at runtime prints OK when I test the movie within Flash, but when I publish and test within an HTML page I get a blank printout!

Cheers

thesquirrel

View Replies !    View Related
In-line Images
Hi,

I've got an application where I am loading HTML text from an XML datasheet into a dynamic text field in Flash. I need to figure out a way to place images inline with the text. Unfortunately Flash doesn't support the img tag within HTML text fields, so I need another approach.

Any ideas would be really appreciated.

- m

View Replies !    View Related
In-line Images
Hi,

I've got an application where I am loading HTML text from an XML datasheet into a dynamic text field in Flash. I need to figure out a way to place images inline with the text. Unfortunately Flash doesn't support the img tag within HTML text fields, so I need another approach.

Any ideas would be really appreciated.

- m

View Replies !    View Related
[F8] Print Text Field With Loaded .pngs Loads Blank Images...
Hi all,

I hate printing from Flash... Flash wasn't designed as a print tool and it shows when you play with printing. Rant being said, here's my issue.

I have an htmlText field which is populated via XML that I need to print out. This works great (luckily it all fits on one page, multipage is such a hassle!). My problem is that occasionally a png file is loaded into the textfield to show math equations inline with the text. If I use 'print' the png files are printed as black squares and the text looks mint - if I use printAsBitmap the png's load mint, but the text looks really bad.. I need both mint and I'm hoping someone has a workaround... here's an example of how im loading my pngs:


PHP Code:



corrections.htmlText +=  "<img src='" + _parent.imgPath + _parent.all[a][3] + "'>
" + newline + ": " + _parent.all[a][1] + "



";

View Replies !    View Related
How To Print A Frame In Html Frameset
Hi All

Not sure if this is possible.

I have an html frameset, lets call them 'nav', 'main' and 'bottom' to make it simple.

I have a print button in 'nav' but I want to print the frame 'main'.

Can it be done??

Thanks
L

View Replies !    View Related
Print An HTML File From Flash
After opening an HTML file from within Flash using getURL, is it possible to automatically open the "Print" dialog box?

View Replies !    View Related
Print External HTML File?
I currently have a site that doesn't print very well [the flash movie], so i have made a print button that redirects the user to a HTML version of the site.

Then from there the user has to press the print button again to print out the desired page.

Is there a sneaky bit of script that I could have on the print button, so in the flash movie when the button is pressed looks for the HTML page and prints it???

Hope so... it will get my pickle out of the jam!

TA

View Replies !    View Related
Only Print Part Of A Html Page?
hey folks, I've searched but cant find any thing that when the user presses a displayed print button on a html page it onyl prints out the main content or a set part of the page?

anyone help?

View Replies !    View Related
How To Print Pdf File From Published Html
I have a print button, where i tried to link to pdf file and i want it automatically print. for now i have this action on my button :

on (release){
getURL("map.pdf");
}

i manage to view the file when i run it using swf.. but, once i publish it to html it's not working..

i want it to view the pdf file and come with the print option..

Please someone come out with the solution.

Cheers,
JIM @ ijam20

View Replies !    View Related
Scrolling Line Of Images
Hello,

I have 600 width scrolling line. In this 600 px can be seen 5 pictures. Scrolling line has 2 buttons (forward and back).
If I pressed forward button all line is scrolling per one image to right, in and if i press back, line is scrolling (per one image) back.
So this thing i have done.
Now the problem is:
when i'm scrolling to right, and reaching last image, i cann't see the first one again (or if i'm scrolling back, and reaching the first image, i cann't scroll again, because i won't see the last one).
So the main idea is to make loop.
How can i release this?

I have attached simple fla file, where i have released scrolling line without loop..
Maybe anyone will help me?
I would be really grateful.

Marius

View Replies !    View Related
Line Draw With Images?
hi, I'm working on a ragdoll program and i've hit a wall... my program will rotate the lines it produces using linedraw but if you draw your own images they kinda... orbit and don't spin... is there a way to linedraw but instead of lines you use png's or jpg's..or import from the library?

View Replies !    View Related
Hair-line Images
Hi,

I want to know if there is a quicker way to convert from a regular drawn images on flash to a hair-line images. I have over 200 drawn images that needed to be converted to a hair-line images.

Any help will be greatly appreciated!

Thank in advance

View Replies !    View Related
Print Html From Frame Within Flash Movie?
Hi,
seems like it would be simple but of course snags happen....
I have a site with three frames, but on the mainbody frame
i have embedded a flash movie at the top of the mainbody html...i would like users to be able to print out the mainbody frame which is mostly html.
i tried using the Javascript print function but cannot get the error on the page to go away and it to print the page.
any thoughts on the actionscriptin of this?
Joey

View Replies !    View Related
[MX] Actionscript To Print A Separate HTML File
Hey! I'm working on a site where I need to have a button that has the actionscript to bring up the print wizard for a different HTML file. I'm assuming it would be something like
Code:
on (release) {
getURL("javascript:window.print(regform.html)")

Or somethin' where I can click a button to bring the print window straight up without leaving the page. Thanks in advance!

View Replies !    View Related
[F8] HtmlText Images On Same Line As Text?
Hi guys,

I cannot workout what im doing wrong here, i have a text box, set to html, and multiline, and i'm trying this:

teText.htmlText = "<b>Well Hello!</b><img src='face2.JPG'>"

But what it's doing, is putting the image below the text, like its on a new line, and when i add the next line, the text starts on the same line as the previous image, and the new image will be the line below.

Any help?

Thanks so much!

View Replies !    View Related
How To Line Up Images In Different Movie Clips?
Hi there,

I have a movieclip, does some animations etc.

Is it possible to view that movieclip at the last frame on the stage, so that i can then line up items in another movieclip with it?

Driving me nuts trying to get the pixels perfectly lined from two different clips

View Replies !    View Related
Line Block Effect Over Images
Hi all, I am interested in applying a simple effect to images on my site. On many sites, they have an effect that is placed over the top of an image, where long rectangles a randomly moving from left to right.

They have varied opacity which is simple enough but I would very much like to know the method for doing something similar to this, can anyone help me out with the action script side of things or provide me with a link to a tutorial

Cheers

View Replies !    View Related
Horizontal Scroller For Line Of Images
Hey, I'm wondering how I could get a line of images, spanning horizontally, to fit in a window by having them navigatable with a horizontal scrollbar.

Like:

|`````````````````````````````|
| |````| |````| |````| |````| |``|
| | img | | img | | img | | img | | im|
| |____| |____| |____| |____| |__|
|_____________________________|
|____________(scrollbar)_________|

There would actually be about 10-15 images in this row, but I want the window to be smaller.
Thanks

View Replies !    View Related
Line Block Effect Over Images
Hi all, I am interested in applying a simple effect to images on my site. On many sites, they have an effect that is placed over the top of an image, where long rectangles a randomly moving from left to right.

They have varied opacity which is simple enough but I would very much like to know the method for doing something similar to this, can anyone help me out with the action script side of things or provide me with a link to a tutorial

Cheers

View Replies !    View Related
Print One Frame From Html Frameset Via Flash Button?
Hi All

Not sure if this is possible.

I have an html frameset, lets call them 'nav', 'main' and 'bottom' to make it simple.

I have a print button in 'nav' but I want to print the frame 'main'.

Can it be done??

Thanks
L

View Replies !    View Related
Loading Images In A Line With A Scroll Bar Underneath
Hi,

like to have something like this website: http://www.davolo.com/. So when you click an icon, it will load each image and have a scroll bar below.

anyone can help? I'm new to flash, have worked out quite a bit. this last bit I'm missing.

tony

View Replies !    View Related
How To Make A Line Of Images Continue Moving Across The Page?
I have about 6 images that i want to have move across the page but i dont know how to make them continue following each other as if they are going in a circle but not round (see what i mean?) they are just following each other and when the last one starts going across the screen the first one follows it. i want each of these to be buttons also but that i think i can do. i am just having problems with the moving images and how to get them to follow each other when the first set has gone by.
thanks
arielle

View Replies !    View Related
Problem With Multiple Images On The Same Line Of Dynamic Text
Hi.

I am having a problem using the img src tag under flash 7 with text areas.

I would like to have an image, some text, then another image on a single line. This displays fine in standalone html but when i embed it in a text area on a flash file the 2nd image jumps down to the line below.

Why does flash improperly interpret the image tag and how would i go about fixing this..

Thank you for your time.

View Replies !    View Related
Displaying In Line Images In Flash Dynamic Text Box
Hello all -

I have checked out the sample in Flash MX 2004 regarding "Text Enhancements" ... I even got my file to load and scroll properly - my problem/question is this:

Sometimes the text displays fine ... but after I edit my external html file to display an inline image, the text formats to a couple of point sizes smaller, so its difficult to read.

Even after I take the image tag out of my external html file, the text size still remains the same (small) size.

Does anyone have an idea why this is OR how I can fix it?
Won't you please help?

Here are my files for reference:

main site: http://www.curtisdw.com/wellbrock/We...k_content.html (go to 'Our Story')
CSS file: http://www.curtisdw.com/wellbrock/sample.css
external html file: http://www.curtisdw.com/wellbrock/TXT/sample.html

Actionscript to load external file:var ss:TextField.StyleSheet = new TextField.StyleSheet();
ss.load("sample.css");
content.styleSheet = ss;

content.multiline= true;
content.wordWrap = true;
content.html = true;

story = new XML();
story.ignoreWhite = true;
story.load("TXT/sample.html");
story.onLoad = function () {
content.htmlText = story;
}

View Replies !    View Related
New Line In Html?
I have two variables in the movie and i want to put them in a dynamic multi line text box.

It doesn't really have to be html i just want the variable to be on new lines which ever way will work!

And because whats put in the dynamic box will probably be copy and pasted, i want it to automatically select all lines.

The attempt that wouldn't work is in the fla.

View Replies !    View Related
HTML In XML And Line Breaks
Hi all,

Have trawled various forums and tried every possible combination but cannot find a solution to my problem:
I have an XML file containing some simple HTML markup. The HTML contains both bold text and line breaks. Something like this:

Code:
<data>
<message><p>This is some <b>bold</b>text and this <br/> is a linebreak</p>
</message
</data>
I am putting this in a text field using:

Code:
textField.htmlText = xml.message
I cannot achieve both bold text and line breaks. I eiher get bold text and no line breaks or line breaks before and after the bold text.
I have tried converting to the text to a string, putting the HTML block into CDATA (that is, everything between the <message> tag). I have tried every possible combination using textField.condenseWhite, XML.prettyPrinting, ignoreWhitespace etc etc. I have tried putting the xml node straight into the textField, both with CDATA and no CDATA, no difference. I have used both E4X and "normal" xml parsing. I am not using embedded fonts but system fonts. I have put multiple <br/> tags in but they get ignored if I put CDATA around, if i remove the CDATA I get line breaks all over the place. No CDATA and prettyPrinting removes line breaks after the bold but also removes the "real" line breaks (the <br/> tag) as well.
I want to be able to have both bold text and line breaks where I want them.
I'm going crazy here, anyone has any suggestions? Do I have to write my own parser for this simple HTML text?
Thanks!

View Replies !    View Related
Html Code For Line Break
Hiya fellow flashers, whats the html code for a line break? I would like to make a dynamic text file which has line breaks without double spacing.
PT

View Replies !    View Related
HTML Background And SWF Don't Line Up Correctly
This is driving me nuts!

I have tried adjusting it several ways over the last 2 days and just can't seem to make it work.

The background of the HTML cells next to my Flash movies don't line up even tho I'm using the exact same GIF for both.

Here are some screenshots to show what is happening:



I'm sure some of you must have run into this problem before and figured out a cure.
I would be eternally grateful if anyone can tell me what I'm doing wrong or what the solution is.

Thanks in advance.

View Replies !    View Related
All Text On One Line (load Html)
loading .htm file into flash.
sick of the text having to be in one line in .htm file. it's a major pain!


Code:
go = new XML();
go.onData = function(data) {
data = data.split("
").join("");
_root.my_txt.htmlText = data;
};
go.load("text.htm");
works on my PC! post to the server and it doesn't work. I still have to put everything on one line.

View Replies !    View Related
Calling As Function From Html Line
I am currently putting text in a textbox with lines like this..



TextHolder.htmlText = "<font size="12"><B>fenwick terrace, newcastle </B></font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="asfunction: _root.gotoAndStop, 113"> >view images< </a>";


The problem is it doesn't really work very well. Isthere a way to call a function from a line like this?

Secondly where does the function have to be? On the same frame as the line that calls it? or can all my functions be on any frame?

Thirdly instead of the frame number can I send it to a named frame? I have tried double quotes, single quotes etc and nothing works.

I would have thought this would work.
<a href="asfunction: _root.gotoAndStop, 'myframe'"> >view images< </a>";


thanks,

Ross

View Replies !    View Related
Line Breaks In Imported HTML
Hello,

I use URLLoader and URLRequest to import an html file inside a dynamic text field in Flash CS3.
I noticed that when there are some line breaks in the html code, there would be a line break in the Flash text field.
This is not normal, only a <br /> or a </P> should trigger a line break.
Is there any way to get rid of this?

Thanks

David

View Replies !    View Related
Line Breaks In Imported HTML
Hello,

I use URLLoader and URLRequest to import an html file inside a dynamic text field in Flash CS3.
I noticed that when there are some line breaks in the html code, there would be a line break in the Flash text field.
This is not normal, only a <br /> or a </P> should trigger a line break.
Is there any way to get rid of this?

Thanks

David

(sorry I first posted this question in the wrong forum)

View Replies !    View Related
What's The HTML Code For Flash, One Line, Shortest?
What the shortest code to put in an HTML page to display a flash movie?
Just one line, no more.
Please help.

View Replies !    View Related
On-Line Info On HTML Support In TextFields
I am looking for some good on-line information as to Flash MX 2004's (SWF7) support for HTML in TextFields.
I do not yet have Flash MX 2004, just Flash MX.
Before I consider upgrading I would like to read more for its support of HTML and CSS, but have found little on-line.

Any help is appreciated.

Thanks,

gsb

View Replies !    View Related
Html P Tags Are Not Line Breaking In Textfield
hi- i am passing a string to a function that builds an HTML ready textfield...the string is passing just fine, but the only issue is the html p tags are not display in block (they are not line breaking);



Code:
var tHTML:String="<p class='g'>"+date+"</p><p class='g'>"+caption+"</p><p class='g'>"+description+"</p>";
and the textfield looks like this:


Code:
var tf:TextField= new TextField()
tf.selectable=false;
tf.embedFonts=true;
tf.styleSheet=this.pa.css;
tf.x=10
tf.y=10
tf.autoSize=TextFieldAutoSize.LEFT;
tf.width=mcc.width-10;
tf.height=mcc.height-10;
tf.name="tbox";
tf.htmlText=tHTML;
mcc.addChild(tf)
what am i missing here?

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved