Solved

Rendering My Swish Movie On Website

Posted on 2010-11-23
11
504 Views
Last Modified: 2012-06-21
I'm having a real hard time getting my flash banner to display on my header.I'm not even sure I want to use it but I'm kind of stubbornly-stuck on stupid with this thing. When I test the movie in my browser it pretty much renders perfectly but when I insert the APintro.swf in the table on the page or even create a blank page for it, it only shows the very edge. I tried CTRL- A and aligning it relative to the stage in swish but it just kept messing up so I would undo the changes each time.
You can view the rendering here: http://apelectricservices.com/apINTRO3.html.

You can see the scratch page that I intend to use to place the banner in the header (for all pages) here: http://apelectricservices.com/blank.htm .
I'm not a web designer and not 100% sure of what I want but I do know that I need something that looks sharp and professional without looking hokey web templateish' in the header so if you have a suggestion about that or anything else please share it. Keep in mind that the body isn't nearly finished.
0
Comment
Question by:A_AmericanELectric
  • 6
  • 5
11 Comments
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 34209285
It looks like the content of your flash is off the canvas (in flash)

can you post your FLA?
0
 

Author Comment

by:A_AmericanELectric
ID: 34210440
I was going to try to cleanup the stupid effects and make it mor presentable but its driving me crazy. It turns out that one I set the stage to 100% instead of 600% everything is way too small. Hopefully you can help. Thanks!
APintro4.swf
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34210476
yeah i suspect it is in your flash file.  are you able to post your FLA file.  you attached your swf file in the previous post
0
 

Author Comment

by:A_AmericanELectric
ID: 34210696
sorry. BTW- I need to make everything big enough to see.

I have swishmax 3. I tried to convert it but could not. I zipped it so it would be an acceptable uplad format but it still reads the zip file as an swi.... Somehow.
What I did was rename it APintro.fla so you will need to name it back to swi I'm sure.
APintro.fla
0
 

Author Comment

by:A_AmericanELectric
ID: 34236676
made a new banner on a very small scale (400x180) exact same problem!
0
Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

 

Author Comment

by:A_AmericanELectric
ID: 34250713
I was finally able to get it by painstakingly moving everything over to a new swi banner and changing my HTML export settings. Now the problem I'm having is the inability to change font sizes as they pertain to the movie on my site. I linked my default.css to the externall myBanner.html and manually increased the font size but the text is still way too small
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34252798
Sorry I wasn't aware you were creating it in swishmax 3.  unless there's a possibility of exporting your flash project as a fla for Adobe Flash I won't be able to see exactly what's going on.

I've seen similar issues when the reference point for object is in the middle, instead of the top left and then the object is centered relative to the top left of the stage.
0
 

Author Comment

by:A_AmericanELectric
ID: 34253095
Well I got that okay now but lets pretend I was using flash... How can I control the size of the dynamic text in my banner and why wont the link to my default.css in the dynamic text file- myBanner.html render any of my styles?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34253822
If you were using flash you need to load the stylesheet using actionscript and apply it to the textfield.  Flash doesn't look at your css in the html file.  In Flash you also set the width and height either statically using the IDE or via actionscript.

//Create a new style sheet object
var myCSS = new TextField.StyleSheet();

//Specify the location of the CSS file that you created earlier
var cssURL = "example.css";

//Hard code some HTML text to display (for example purposes)
exampleText = "<p class='headline'>Tutorial Takes Forever To Write</p>";
exampleText += "<p><span class='byline'>Bath, UK</span>";
exampleText += "--Flash developer NWebb seemed to take ";
exampleText += "forever to finish his CSS-Flash tutorial, ";
exampleText += "but it is finished now and you can find it ";
exampleText += "<a href='http://www.nwebb.co.uk'>here</a> ";
exampleText += "along with a few others.</p>";

//Load CSS file
myCSS.load(cssURL);
//define onLoad handler
myCSS.onLoad = function(success) {
        if (success) {
                /* If the style sheet loaded without error,
                assign it to the text object, and assign the HTML text to the
                text field*/
                myText.styleSheet = myCSS;
                myText.text = exampleText; //this should be ".htmlText", 
                // but Flash seems to recognise that the textbox needs to display html anyway
        }
};

Open in new window

0
 

Author Comment

by:A_AmericanELectric
ID: 34256943
Ok this looks interesting. So I just create this .as file in my siteroot/includes folder called loadCSS.as or something and change the URLs to the location of my css? And then the .as will take it from there?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 34262974
That sounds like it will work, give it a try with a simple one at first.  Remember that flash doesn't have full compatibility with CSS, in other words it only supports a few settings.  Other issues might be the path you have in your .as file and whether you can use relative or have to use absolute paths.  I haven't tested any of this just thought i'd mention it
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Searchbox Branding 11 44
Windows Tool to Build Android and iOS App 3 54
Your suggestions for a Wordpress Theme 2 33
Standard for Web Development 3 27
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now