Solved

flash problem

Posted on 2011-09-14
6
285 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
  • 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
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…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

747 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

17 Experts available now in Live!

Get 1:1 Help Now