Professional :: Where Is Body Line Of HTML
Jul 15, 2006Ive been advised to do the this to get rid of borders within my HTML page [code]Im new to flash so im unsure where the body line of My HTML.is and where to paste the command
View 3 RepliesIve been advised to do the this to get rid of borders within my HTML page [code]Im new to flash so im unsure where the body line of My HTML.is and where to paste the command
View 3 RepliesThis clients site has a flash menu, but the content of the page is in html. I know how to write the actionscript so that each menu button links to a different html page. However, I would also like the flash menu to show each page buttons link as "Active" when its on that certain page.For example, I'm on the home page. The "home" link in the flash menu is hilited. I click "products", and the products.html loads. I'm not sure how to write the actionscript so that the "products" link in the flash menu is now hilited. The only way I know to do it, would be to create a different menu.swf for each page. But I'm sure there's a way to do it using only one menu.swf.
Also, I'm doing the menu.swf on a timeline in the fla. I'm not sure how to do it otherwise or if what I need can be done on a timeline.
looking for any full body motion tracking software that would type keys on the computer when the webcam senses different body motions.
View 2 RepliesI have a game design project that I have to animate characters for. The Bone tool in Flash seems like the perfect tool for the job!Here's my problem: I can draw things in Flash and rig them with the Bone tool and animate them fine. However, I'm much more comfortable with Illustrator. But whenever I try to bring in external artwork, I get lots of errors.Create (solid color, single object) body parts as layers in Illustrator. Import Illy file to stage in Flash. Drag bone tool across body. Body is highlighted but I can't connect the other objects. I realize the Armature is only above the body layer and all the other layers are on top. Drag Armature layer to top. Still no luck. The bone just doesn't care about the other objects.Should I make all the elements into MovieClips? That hasn't worked when I've tried it. Should I import differently? Should I make the entire character into a movieclip and then rig the instance on the stage?
I'll be exporting it to PNGs at the end, so I don't need it to be robust down the line.I get other errors with other importing methods too, but I can't recall them ("Can't connect...something" when using a PSD).
I'm using a Coldfusion Dreamweaver template with cfinclude tags. The header contains a flash movie where I'd like to pass 2 variables via a query string to load the correct image and menu button based on the variables in the ActionScript.
Example: <param name="movie" value="flash/header_v8.swf?pic=1&button=1" />
pic variable can be 1 - 3 and button variable can be 1 - 7 depending on the each pages body element id. So the logic would be something like this for my flash movie:
if body id =home, then pic=1 and button=1
if body id =about, then pic=current variable and button=2
if body id =page3, then pic=1 variable and button=3
[Code].....
What's the best way to pass these variables depending on the current page body element id?
in Flash CS4 I have static text like: Line1 and line2 It's in 9 point Arial Regular as a device font. If I set the line spacing below 3.9 the second line dissappears from the compiled SWF file. It still shows in the FLA file. The same thing happens at 6pt but NOT at 5pt or less.
View 1 RepliesI can't seem to go to a master edit file that is supposed to show both the body (layer 1) and wing (layer 2) of a flying bird animation. Is there a way to merge these two since I'm planning on shrinking it down and making a lot of birds?He merged the two layers at 14:24 of the video without even explaining how he went to this so called "Edit Master Movie Clip" that seems non-existent on Adobe Flash CS4.
View 1 RepliesI been making a histroy frame (similar to the one above) where people can see where they were on the site before they came to the new section of the site. I have successfully done this using html text and ASFunction and it works perfectly. The problem is when I add a new html link into the textfield the new entry goes to a second line. I wanted it to appear in one lineie. home > tutorials > easin menu...the script i used to add are as follows:
Code:
on(release){
history.htmlText += "<a href='asfunction: loader,2'> Section 2</a>";
[code]....
I'm importing html in Flash 8 and the dynamic text box won't see the text in a paragraph as one single string. Wherever there's a line break in the external text file (not using html tags), it also shows that break in flash unlike a regular html page which ignores these line breaks. I don't even need to use the <br> tag to make an intentional line break.
View 1 RepliesI have a TextField that uses a stylesheet and gets its text as htmlText. That text is read from an *.xml file with the neccessary CDATA tag. The htmlText is read correctly (I have a debug output to check that), and when displaying the .text attribute, it shows line breaks as expected. multiline, wordwrap and condenseWhite are enabled. No AutoSizing is done, instead I set width and height of the field manually.
But the text it actually shows on the screen is all shown in one line, with multiple lines being drawn in the same line. It also seems to interpret the html correctly, as the words with '<b></b>' around them are bold. Only the line breaks are not working. The height can't be the problem as I set it manually to a value high enough, and debug output shows that it really has that height.
This only happens when viewing the *.swf online and only with empty cache. When I press F5 in the window, the TextField works as intended. So it works offline and when it has already been loaded.
But the creation, scaling of the TextField and filling the TextField with text is all done in the same function, without any breaks so I really don't know how the cache could possibly affect this.
When using a StyleSheet with html text in a dynamic textfield with embedded fonts line breaks are ignored. It is as if TextField.condenseWhite is being set to true. Essentially the <p> tags are being treated as a <br/> tag. If I don't embed fonts it works fine. Another weird thing is if I add an empty paragraph <p></p> between the first two paragraphs it makes any subsequent paragraph behave correctly.
E.g.
<p>first paragraph text here</p>
<p>second paragraph text here</p>
<p>third paragraph text here</p>
Displays as if there are <br/> between each one.
But
<p>first paragraph text here</p>
<p></p>
<p>second paragraph text here</p>
<p>third paragraph text here</p>
behaves correctly even for the third paragraph.
Here is the code I am working with (using XML as I am dynamically populating the textfield from XML). After reading [URL] I tried the same experiment using a TF drawn in the IDE, the results for each, even though the TextFields are essentially the same are totally different. Updated Code accordingly - just need a TF on stage, called "ideTextField" with font 'Arial'.
I'm importing text from an XML file into a textField. It includes a couple of image links.I'd like the images to display next to each other, but Flash seems to be forcing a linebreak between them.Note I'm using (pound ampersand 10 semicolon - seem to get converted to linebreaks in this forum) to create linebreaks manually - not that it should have any bearing. Have tried separating image tags with nonbreaking space, regular space - also made sure textField was plenty wide enough. No luck.Is this just "the way it is" or is there some way to get my images to display inline?Sample XML:
Code:
<body><![CDATA[Please <a href="mailto:customerservice@domainname.com"><u>contact us</u></a> for any questions, comments or suggestions. We look forward to hearing from you.
[code]........
For some reason, when I import my external html to my page, I'm getting extra line breaks. Even if I don't use a <br> in the line, but do a hard return, I'm getting a line break. So that's weird too. As well, it doesn't do the bold (which may be an embedding issue, as I'm using a nonstandard font. I've got the normal font embedded. of coruse, the italics works, which is weird.). What am I doing wrong?I don't think it does anything, but I've set the textbox to "render as HTML," if that effects anything.
My AS code:
ActionScript Code:
dynamic_txt.visible = false;
[code]........
I'm having a problem with my imported HTML text - basically when I switch on 'Embed fonts' for a text field, Flash will only ever render one line break, regardless of how many </p> <br /> or whatever other type of line-breaking tag you can imagine are present.What this means is that all my paragraphs are squashed up into one, with no double line-break after the closing </p> tag, as you'd expect.I've used html text with css before and normally experience the opposite problem, whereby whitespace linebreaks in the imported text are rendered, but this problem is a new one on me.
View 1 RepliesI have an Air Application that uses a HTML Component. The HTML page that the component is rendering includes images with title tags. The tags render fine outside the Air Application, but when run in the AIR application, they do not render.
View 1 Repliesi have an xml file and i want my code in flash to read it line by line but its only showing the first line out of 5 lines.Below is the code:
var NigeriaNumber:Number;
var stateName:String;
var year:String;
[code].....
Here's what i do:
[AS]
onClipEvent (load) {
loadText = new LoadVars();[code]...........
As i could read on macromedia 's web site: Use an empty pair of <P></P> tags to insert a line break. Use two pairs to insert a line break and carriage return.But this isn't working... Why?
Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex.
View 1 RepliesI want to run a sound once in a timeline but want the sound to stop at the end of the first run on the timeline but want the timeline to continue to repeat without the sound running again.
View 3 RepliesI created a simple TLF text field for read only. It is similar to this
Very
Simple
Text
The text is centered and say Arial black and font size = 40 pts.
The problem is there is to much spacing between each line.
How do I "scootch" it up so it looks like this
Very
Simple
Text
I want to 9 scale the line in the shape of 'U' so that i can increase the width in a manner that the rounded corner of the line not got spoiled and I also want to resize (in proportion) it without spoiling it's rounded corner. Right now I have done it in the distinct files but I want to do these both properties in a single file.
View 1 RepliesI'm a newbie in adobe flash cs4 and i'm trying to create a simple (i hope) animation.
What i'm trying to do is the following:
I have 3 boxes (b1, b2 and b3).I want to draw a line, starting on b1 and ending in b2. After that i want to draw another line connecting b2 to b3.
The goal is to give the effect of lines growing between the boxes.
Is this simple? And what frame per second value do you recommend?
I must be missing a step. I've set up a text container and font parameters correctly, and I've selected multiple columns. The text, however, won't flow from one line to the next. I'm working from Classroom in a Book, Lesson 7, on Using Text. I've never encountered this problem before in other Adobe programs.
View 6 RepliesHere is a video explanation:
[URL]
If I use the Pen tool and attempt to draw a line within a symbol, the anchor point on the other end of the line moves [out of my control] to the right. I'm not sure whether this is a bug or a feature, but I'm leaning towards the former; either way
Adobe Flash CS5Mac OSX 10.7.2
I am trying to create the code for a navigation in Actionscript 3, but I get the error "Function has no body". And the test just plays over and over without stopping?
// Navigational code
stop();
import flash.display.*;
import flash.events.Event;
function myReceiver(event:MouseEvent):void{
[Code] .....
I have a Box2D world with a mixture of static and dynamic bodies. On collisions, I can only get the positions of the dynamic ones.
Is it possible to get the positions of static objects?
N.b., this is a development of a previous question, Box2D: How to get the position of a sensor?
I want to send an email with the image through URLRequest.
How can I add the image to the email body ?
Something like this:
var request:URLRequest = new URLRequest("mailto:"+to.text+"?subject="+subject.t ext+"&body="+body.text+"&Attachment="+myBmp);
I m using URLLoader to send a post request. The server returns HTTP code 404 in case the parameters are wrong, and puts the error message in the response body.Get resoinse body when URLLoader gets 404
The problem is that if the response has code 404, the IOError listener is called and I can't see the body of the response.
Is there a way to tell the URLLoader to ignore HTTP codes and always call the Completed listener?
Or maybe there is a way to get the response body in the IOError listener throw the IOErrorEvent? I couldn't find such a way.
I've got a fun problem for ya'll. I've got an XML flash menu with sub menus and all. When you click and menu item with a sub menu, the menu expands nicely. When you click to navigate to a new page the menu "closes" to its basic appearance...
What I'm trying to do is have the menu expanded at the appropriate point automatically if you're on a sub menu page. I've been thinking how to do this and I'm guessing CSS would be the key. Could the flash menu detect a BODY ID and expand appropriately should it detect the right body id.Check out the ZIP file for source files HTML/CSS/FLASH/XML.
Closed path made with pen tool in Flash MX comprises of line segments & curved segments both.While adding anchor points on segments it is noticed that pen tool adds anchor points on curvaceous segments but not on line segments. Why is it so ? Is their any way to accomlish this task ?
View 5 Replies