Displaying a SWF inside a Flash file
Hello,
So heres the general Idea:
I am making a Flash website onwhich I can show my Flash
animations. I want the Animations to be viewed in a sort of TV-ish
thing, so how can I get my pre-made .swf's to play inside this TV?
Can I?
Thanks
My Non-Flash
Site
"Donjworks" <[email protected]> wrote in
message news:e4vtvl$crv$[email protected]..
> Hello,
> So heres the general Idea:
> I am making a Flash website onwhich I can show my Flash
animations. I want the
> Animations to be viewed in a sort of TV-ish thing, so
how can I get my pre-made
> .swf's to play inside this TV? Can I?
>
> Thanks
> <a target=_blank class=ftalternatingbarlinklarge
> href="https://www.freewebs.com/donjworks">My
Non-Flash Site</a>
Draw a rectangle on the lowest layer and make it a movieclip.
Give it an instance name, something like tvScreen
On a layer above that one draw your television with a hole
for the screen below it to show through.
On another layer named actions, put this code to load an
external swf into your 'tv'
loadMovie("some.swf", tvScreen);
tralfaz
Similar Messages
-
Flash file inside a Flash File
I know this may see a stupid question... But I've looked
everywhere and haven't found an answer. How do I add a flash file
inside another flash file? I'm interested in creating an all flash
website, but am kinda stuck when it comes to switching pages on the
site. What's the easiest way to do this?Hello Ben J.,
loadMovie is your new best friend.
The best way to use this is to create an empty movie symbol,
put it on the
timeline and give it an instance name (placeHolder for
example). Then you
can load another swf into that placeHolder clip with the
following script:
placeHolder.loadMovie("whatever.swf");
This is a GREAT way to cut down on the initial load time of a
site because
you only load what you need when you need it.
You can really have some fun when you start controlling
objects on the main
timeline from your loaded movies and vice versa.
Good luck!
Jesse H.
Adobe Community Expert
My site:
http://www.jharding.com
Free Blog Radio:
http://www.tornadostream.com
> I know this may see a stupid question... But I've looked
everywhere
> and haven't found an answer. How do I add a flash file
inside another
> flash file? I'm interested in creating an all flash
website, but am
> kinda stuck when it comes to switching pages on the
site. What's the
> easiest way to do this?
> -
How to put a video player swf file inside a flash file
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial http://www.ehow.com/how_4906532_within-another-flash-swf-file.html that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?
You can use swf inside of another swf.
If you are using Actionscript2 then learn about LoadMovie
And for AS3 it is Loader. -
Display a web page or flash file in an email
we are looking to send clients an e-card for christmas and im
trying to figure out how i could incorporate this into a web page
and insert it in the email so it displays when they open it. im
also wondering how you could insert a flash file in an email so
that it displays as the message and not just an attachment.Notice that it, too, is an affiliate link....
Posted without disclaimer.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"JFK" <[email protected]> wrote in message
news:em8oij$htq$[email protected]..
> This is a great service to send christmas email cards to
clients as well
> as email throughout the year.
>
>
http://www.constantcontact.com/index.jsp?pn=webgreen
>
> "pellio" <[email protected]> wrote in
message
> news:em8ipo$bjl$[email protected]..
>> we are looking to send clients an e-card for
christmas and im trying to
>> figure
>> out how i could incorporate this into a web page and
insert it in the
>> email so
>> it displays when they open it. im also wondering how
you could insert a
>> flash
>> file in an email so that it displays as the message
and not just an
>> attachment.
>>
>
> -
How to display Dynamic text after adding flash file to html
Please help - I have a dynamic text field in a movieclip
inside a main movieclip - Within flash the dynamic text display
properly but once I load the file to an html page the dynamic text
no longer display - It loads undefined in text box. However when I
remove the movieclip from main movieclip text display no
problem.that's as2 code, not as3. please post in the correct forum
next time.
either about.txt is not in the same directory as the html
file that loads or embeds your swf or there's a case issue with
about.txt really being About.txt, for example. -
The window title bar displays incorrectly after publishing a flash file. Captivate 4
When I open the .htm file after using the Flash option to publish, the wrong title displays in the title bar at the top of Internet Explorer's window; instead it displays a former file name. I was told that the window name is determined by the field located here: File> Document Info> Project Name; however, this is not the case on my PC. My coworker is able to publish it correctly, but I am not. The first picture below is the IE title bar and the second is where (I think) that title bar pulls from, Project Name. Please notice that mine differ. Any suggestions?
I've run into this issue in CP4 as well though I've never been sure why it happens. It looks like you're opening the swf through a browser to so, for want of a solution, the easiest workaround is the edit the html file.
open it in a text editor such as Notepad.
Five or six lines down you'll find the title element which defines the title as it will display in your browser titlebar: <title>This text is the title that displays in your browser title bar</title>
Just change the text the the title you want and save the html file.
If you go with this solution, I suggest that when you are publishing the project again you deselect the option "Export HTML" in the publish wondow. Otherwise you will have to edit your html file each time you publish.
Hope this helps.
Niamh -
Embedding HTML inside Flash File
HI.
I would like to inquire on how to embed a HTML file insides a
Flash File.
This is the scenario, I have several HTML files, e.g. a.html,
b.html, c.html.
Where there would be a links inside that flash file, to open
a.html, b.html, and c.html (not a new browser).
How can I do this? Guides / Tutorials would help.
I am a bit a newbie in the world of Flash. Thank you in
advance.
/928 :)mauve928,
> I would like to inquire on how to embed a HTML file
insides
> a Flash File.
Dynamic text fields do support some HTML formatting, but
it's important
to understand that at this time, the supported tags comprise
only a very
small subset of the full HTML specification. (Search the Help
panel for
"supported HTML tags," and you'll see which ones they are.)
As such, Flash
Player simply doesn't load HTML files.
What Flash Player does load is XML, so if your documents are
formatted
as XHTML (that is, technically XML), you'll have the
beginnings of something
you can use. Flash won't necessarily be able to display
elements it doesn't
understand (e.g. tables), but because the document is XML,
you'll be able to
parse those tags and extract information from them, using
what Flash *is*
capable of displaying.
I wrote a series at Community MX not long ago that makes
some
exploration into what you're after.
http://www.communitymx.com/abstract.cfm?cid=02395
The first article (of three) is free, and you sign up for a
non-obligatory free trial to read the rest.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
Flash files displayed in browser before-don't any more
I have already spent hours trying to figure out what's going
on here, and I've searched the forums for an answer. Either I'm not
searching for the right words or I'm the only person in the whole
world with this problem. I have been inserting simple .swf
slideshows in a Rotary bulletin for months now using Dreamweaver 8.
No problems. In the last two weeks none of my .swf files display in
any browser. Like they don't exist at all. Regular images are fine,
but the .swf files simply aren't there.
This is a page that should have a flash file playing in the
article called "A Golfing We Will Go."
http://bbrc.net/archives/Vol18/061206/rev.html
When I look at the code, it shows the reference to the flash
file (
http://www.bbrc.net/archives/Vol18/061206/RTWCletus),
but it's not displaying. I also noticed that even though the DW
code has the .swf tag on the end of the string, it's not showing up
in the code I'm viewing after I've published the page to the
server. So, I updated the page and added .swf after the flash file
name (RTWCletus.swf). It didn't make any difference.
The only thing I've done differently in the past few weeks is
to install the latest DW updater. I have seen references to that
screwing up things with IE, but that isn't the problem I'm having.
My files aren't displaying in ANY browser and I don't get any
message window. It's not just this page, either. I made one page
with one simple .swf file and it doesn't show up. Yet, I can click
the Play button in DW and it plays the video just fine. What could
have changed?I decided there is no need to make anyone wade through that
whole page of code since even a simple page is not displaying the
.swf file. I created this tiny test page with just some text and
the flash file.
This is the page:
http://bbrc.net/archives/Vol18/061206/Test.html
This is the code from Dreamweaver:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<title>Untitled Document</title>
<script src="../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css">
<!--
.Body {font-family: Verdana,Arial,Helvetica,sans-serif;
color: #666; font-size: 11px; }
-->
</style>
</head>
<body>
<table width="289" height="164" border="0" cellpadding="2"
cellspacing="2">
<tr>
<td width="281"><span class="Body">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','nam e','Rotating','width','175','height','142','hspace','5','align','left','id','Rotating','ti tle','test','src','RTWCletus','quality','high','pluginspage','http://www.macromedia.com/go /getflashplayer','movie','RTWCletus'
); //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=7,0,19,0"
name="Rotating" width="175" height="142" hspace="5" align="left"
id="Rotating" title="test">
<param name="movie" value="RTWCletus.swf" />
<param name="quality" value="high" />
<embed src="RTWCletus.swf" width="175" height="142"
hspace="5" align="left" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
name="Rotating"></embed>
</object>
</noscript>
There is a raft of prizes for the golfers. One hole-in-one
prize is a BMW Roadster. There are also three other golf vacation
packages for two with airfare and lodging included at either Reno,
PGA Village or Cabo San Lucas. Lowest score gets a Wolf Pack
membership to the Woodland Park Zoo and Seattle Aquarium, an annual
family pass. A private golf lesson from the Willows Run golf pro is
a prize for someone who might need a brush-up. Cash prizes are
offered for holes-in-one on the 9th and 18th holes, plus other cash
bonuses. </span></td>
</tr>
</table>
</body>
</html> -
How to use as3 in flash cs3 to add dynamic text from a text file into a flash file
let me start out by saying today is my first day of scripting
in flash.
I have a text file text.txt
it contains
text1=hello world
can someone please show me how to display this text in a
flash file
i have been searching for this for hours and there are
solutions with flash mx and actionscript 2.0 but i would like to
see how to do this in as3.
just a simple frame that loads that file and displays it when
you test run the program
much apreciated
RCI'm not up on AS3 yet, but many things are still similar. You
need to use the LoadVars class to accomplish this, You can find
information this in Flahs Help>Actionscript>Actionscript
Language Reference>Actionscript classes.
rem: the text.txt file and the text.fla file must be in the
same directory.
The code will look something like this: -
Display JPEG in Browser from Flash
Hi All,
I'm working on a Flash project that will be distributed via
CD or DVD. I need to include several jpegs in the Flash file that
can be opened in the user's browser by a simple mouse click when
the user runs the Flash program from their CD/DVD player.
Any help would be much appreciated. I'm a nOOb and need help!
Many Thanks,
Scottunless you import the image to the stage, an image will never
be included inside the flash file. If that is what you want though,
it would work something like this...
Import all of your art work (jpgs etc) to the library. Create
a movie clip which contains x number of frames where x is the total
number of art work items you want to show. On each frame of your
clip, place a single image that you want shown.
Drop this clip on the stage and name it images or something
similar. My code below will reflect a name of images....
Now instead of calling getURL from your button, you'd instead
do a
images.gotoAndStop(X);
where x is the number of the frame the image you want shown
resides. This method won't use a web browser instead it will show
the image inside the projector.
If you absolutely insist on it opening the image in safari or
IE or Mozilla, you will need to include the images on the CD or if
you can guarantee that the clients seeing this will indeed have an
internet connection, you can place the images online and then use
getURL to direct them to that location instead. There are numerous
options, but each has it's pros and cons.
Since this is a kiosk, this should not present any issues. If
you want to post this on the web though, at some future date, I'd
choose to use one of the two different getURL options since they
provide the greatest amount of flexibility. -
Need help placing Flash file in Captivate...
I have a few short animations I did in Flash that I want to put in Adobe Captivate. They place fine and play fine. But I wanted to know if it is possible to have the last frame of the animation show for the rest of the captivate slide. I'm using Captivate 6 and Flash Pro CS6. Thanks!
That depends mostly on what you did in the Flash file. You should ideally NOT fade out the animation at the end and it should terminate with a stop(); action inside the Flash file on its last frame. Have all of the animation on the main timeline in Flash so that it's not buried down inside a symbol, which would just continue to loop. Then in Captivate, don't use fade out there either.
-
To Display SWF file or Flash file in Web Page Composer (WPC)
Hi,
I am goning to add & display 'swf file or flash file' in <b>Web Page Composer</b>.
But it is not allowing me to do so.I tried by three ways
1} to upload this file directly from local machine & to add in WPC
2}By using linklist option
3}By creating KM Document iview;which contain swf file.& then adding that iview in wpc.
but at last it is not displaying though allowing to add it in WPC.Vishal -
First... we are all new to WPC!
Second, no I don't think you need to create a new container. I think that you just need to add the swf type as an allowed type for the container.
So...
Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
Navigate to:
Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
Edit the container you want to use.
There will be a box named Allowed Mime Types.
In here, select the "swf" mime type (make sure the check box is checked). Then Save.
At my company, we had the WPC ramp up from SP12, and are now on SP13.
I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name. From what I see, SP13 WPC uses the one with "def" in the name, not "default". So, make sure you modify the one with "def" in the name.
After you make this change, you should see "swf" in the list inside the container when you are editing a page.
Is this clearer? I wish I could attach a screenshot. -
Swf flash files are not displaying neatly within table cells.
The latest version of Firefox (3.6.12) The website I have design now shows thick lines underneath the flash files. URL Below. The table of pictures should be neat, instead the cells in which the flash files are contained are increasing in height and breaking apart the table . This does not happen in previous version of Firefox, Internet Explorer & Google Chrome.
Is there anything i should be doing different when inserting flash files into web pages that have complex tables? Or is this a problem with Firefox?
http://www.arnoldwills.co.uk/Master_Home.htmlAdd a rule object { display: block } to the stylesheet. An object is an inline element by default.
-
I developed a Flash file (SWF) with a light blue start button, placed it on a web server then went to the URL using Firefox (3.6.8). Later I updated the SWF (changed the button to dark blue), replaced the SWF on the web server, opened Firefox and used Tools/Clear Recent History... to clear the cache. Then when I went to the URL to test the replaced SWF it clearly opened the previous version (light blue button). How can that happen if the previous version no longer exists on the web server? Firefox can only be opening the file from its cache, so why is the file still there if I just cleared the cache?
Your not alone!
I had the identical issue with iPhone config Utility on windows 7 64bit.
A virtual macOS on the same machine didn't have a problem, windows iTunes didnt have a problem. Just a glitch with ICU on windows
I tried everything you did and the only thing that fixed it was to change the appID or app name (I forget which I did).
I don't know where that old app data is stored on the machine, but I deleted all apps, uninstalled/reinstalled ICU and it still would populate and install the old ipa.
I also still periodically get weird errors/glitches deploying to iOS on windows.
It's like some days I need to deploy with ICU, sometimes iTunes, sometimes I need to run the VM mac... SOO frustrating.
It always works one way or another, so the app itself is always fine.
I guess I really need to look into that new direct deployment option... -
Flash File not Able to Display using ADF Trinidad components..
Hi All,
I am trying to display a flash file using ADF trinidad component for one our project but not able to display when embeded inside the code.
However I am able to directly access the flash file using http://localhost:7101/test/pages/test.swf
The below Object code is included inside the tr:panelHorizontalLayout tag. I also tried using tr:media but doesnt display anything on the browser.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
<param name="allowScriptAccess" value="sameDomain"/>
<param name="allowFullScreen" value="false"/>
<param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#ffffff"/>
<embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
</object>-->
Thanks
ChetanHi Ramandeep,
I tried that option early but did not work. Not able to understand why.
Below is the code snippet.
<tr:panelGroupLayout layout="vertical">
<tr:panelHorizontalLayout>
<!--Some Portlets are added-->
<f:verbatim>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
<param name="allowScriptAccess" value="sameDomain"/>
<param name="allowFullScreen" value="false"/>
<param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#ffffff"/>
<embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
</object>
</f:verbatim>
</tr:panelHorizontalLayout>
</tr:panelGroupLayout>
And as I mentioned it works fine when I directly access the flash file by using http://localhost:7101/test/pages/test.swf.
Thanks
Chetan
Maybe you are looking for
-
Hi, I am having a form field in my jsp page and on sumit I am passing the request to a servlet but in the servlet the form values are null even though i have entered the values in the field. Can any one please help me. I am posting my jsp and servlet
-
Hi there When i make or receive a call the other person on the phone hears me clearly and I hear them clearly but when they speak, THEY hear an ECHO. This has only started recentyl. I have tried turning speaker volume down and resetting the 1020 etc
-
How we can add the 2 buttons on the alv out screen.
I have a requirement, i want to add two buttons on the application bar on the ALV report out. with the use of grid functional module. for example: i want to buttons details and balance on the ALV output screen. if i click on detail it will display th
-
Team Viewer in MSS not showing all the subordinates.
Hello Gurus, In the Team Viewer in MSS , all the subordinates are not being displayed. Out of 7 subordinates only 4 are being displayed. This is an old MSS implementation (ITS based). Any suggestions. Regards, Sana
-
ITunes 11.0.4 - high CPU use
Hello, since I upgraded to Mountain Lion 10.8.4. and iTunes to 11.0.4 a couple of days ago, iTunes keeps fooling around using up to 130% of my CPU (how is that even possible?!) when playing music. As soon as I pause the music, the CPU-use goes back t