Solved

flash problem

Posted on 2011-09-14
6
292 Views
Last Modified: 2012-05-12
Hi Experts,

I trying to add a banner image to a flash banner ad rotator on a website.  When I edit the textVar file (apparently referenced in the params) my changes don't have any effect on the banner ad images.  It's as if the swf file isn't reading the txtVar.txt file.

I want to add a 3rd image to the rotation but the aboutPrin.swf seems to ignore my textVar.txt file edits.

I've attached the files so you can see what I mean.

Can you help me figure this out? Unfortunately I don't have access to the original aboutPrin.swf to edit.

thanks

HNM

 flash-files.zip
<div id="imageHead">
                        	  <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','497','height','114','src','aboutPrin?folder=images/weddings/superior','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','aboutPrin?folder=images/weddings/superior' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="497" height="114">
<param name="movie" value="aboutPrin.swf?folder=images/weddings/superior" />
                                <param name="quality" value="high" />
                                <param name="wmode" value="transparent" />
                                <embed src="aboutPrin.swf?folder=images/weddings/superior" width="497" height="114" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
                      	    </object>
                        	</noscript></div>

Open in new window

0
Comment
Question by:HelpNearMe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 

Author Comment

by:HelpNearMe
ID: 36538518
no flash experts out there?
0
 
LVL 8

Accepted Solution

by:
Jen0910 earned 500 total points
ID: 36538871
2 things may be an issue:

You have an embed em pram tag, both looking for the swf file within images/weddings/superior, but the files you uploaded are weddings/superior with no image folder and no flash file within the superior folder. set the directory up to match your embed and pram, or reset your embed to match your directory.

example:
<param name="movie" value="aboutPrin.swf?folder=images/weddings/superior" />

Open in new window



according to what you uploaded should be

<param name="movie" value="aboutPrin.swf?folder=weddings/superior" />
...
<embed src="aboutPrin.swf?folder=images/weddings/superior" width="497"...
...
<embed src="aboutPrin.swf?folder=weddings/superior" width="497"...
(move your swf into that "superior" folder)

Open in new window



The other thing, without access to the aboutPrin.swf we have no way of knowing where it is looking for your text document (if that is indeed your problem). Try a decompiler and see if that will tell you the path where it is looking to find the txtVar.txt file. If it isnt exactly where the SWF is looking, nothing is going to happen.
0
 

Author Comment

by:HelpNearMe
ID: 36539544
Jen0910
The paths are correct on the live site, there is a parent folder called images which contains the wedding etc folders.  I found an online decompiler for aboutPrin.swf and the results are attached. here is the link: http://www.showmycode.com/?e77aac247744ee51c8d2407cf1bfb631

see any reason why this shouldn't work?

Thanks

HNM
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

Author Comment

by:HelpNearMe
ID: 36539579
If I add a new image to textVars.txt it won't get picked up by flash.  In fact I can completely corrupt the file and the flash presentation keeps on going without a problem.  It's like the actual textVars.txt is being picked up somewhere else.
0
 

Author Comment

by:HelpNearMe
ID: 36539587
I just downloaded all of the site files and I'm searching for another instance of textVars somewhere else.
0
 

Author Closing Comment

by:HelpNearMe
ID: 36539752
Nevermind....

Internet Explorer strikes again.  Works fine in Chrome, and every other browser except mine

Thanks anyway

HNM
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

742 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