Customizing A Flash XML Template: Embeding Video
May 8, 2009
I've purchased a flash template with an xml file that gives the path to the content to the .swf. This much i know! Also, I have all the source files! My issue is i would like to replace some of the images with video clips.
Here is the flash site (demo stock version) : http://oliviersaut.com/site_flash/[/URL]Here is the original version of the xml file: http://oliviersaut.com/site_flash/tfile_main.xml
As you can see with the flash site there are 4 sides, i would like to add videos thumbs (these i can make screen shots) on the left hand side that says "BEDROOM". Then once you've clicked the video thumb the video is displayed in the middle like the photos. Do i have to alter the original .FLA file to add .mov or other video formats into the center area that displays the full image of the small thumbs? the size is 788px by 524px.
Furthermore, Scrolling half way down the xml page you will find [I]<page name="GALLERY">[/I] and then <image imageUrl="_pic3.jpg" link="http://www.yourcompany.com"/> is there xml code that i can add to put in the video?
Also, here i can change the photos but it seems only in this exact order. If i remove a line or add more photos to the sequence the order does not correspond when i refresh the .swf file.
PS. I've also attached the xml file to this post.
View 3 Replies
Similar Posts:
Dec 1, 2009
A friend of mine gave me this template that she want me to edit (change color etc) but when I try to export it, it gives me this error 1084: Syntax error: expecting identifier before 21431. (13 times - on every as file it loads from) 21431 = the name of the .fla file, also there's a folder called "21431_fla" where it loads a bunch of as files from. When I choose "Go to source" on one of the errors in the compiler it opens up a file (i.e. AboutPageContents_35.as) from the 21431_fla folder - and I guess the error comes from (and I did some searching on the web regarding this) it starting with the line;
ActionScript Code: package 21431_fla As I understand it reports the error because you can not load a package that starts with a number? I haven't change any code, so I'm curious how it could work before I edited the colors? And how do I fix it so it works I post a .zip file so you guys could check it out; [URL]
View 9 Replies
Sep 9, 2010
I'm porting in an .flv to Flash for the first time. I created the .flv from an .MP4 using Media Encoder CS5, and then opened a new Actionscript 3 .fla in Flash Professional CS5, clicked File > Import > Import Video. Then selected 'Load external video with playback component'. Everything seems to have imported fine, but when I publish the SWF and import it via Dreamweaver CS5 and preview the page, the video is there, but the controls are not. There's just a white box where the controls should be. Also, the video is out of sync with the audio, which I believe is a problem with Media Encoder, not Flash.
Here are some links:
The page that I'm working on (video at the bottom of the page)
The .FLA
The .FLV
The .SWF
View 2 Replies
Mar 9, 2010
I've recently purchased a flash xml site, which at first seems pretty easy to play with, but ends up being a pain to customize.I'd like to embed a video in one of the pages of the site instead of text, but I'm not sure how to do that given the fact that the site uses an XML file to populate the text.
View 2 Replies
May 24, 2010
If you make multiple flash files from the same template and then edit that template, will all those files have those same changes? If not, is there a way to make the same change on multiple files at once? Basically the same idea as linking HTML files to a single CSS file...
View 1 Replies
Mar 29, 2004
Jesus Christ - I thought I was really good in flash.Got this template and I can't see S***.
WTH - is it supposed to be this difficult to manipulate a template or am I stupid???
Go into project explorer and can't see much AS so how the hwll are they getting the images and text into the flash swf. By the html??? I don't think so.
View 5 Replies
Jan 20, 2010
Is there a way to embed an swf file into another flash file and have everyting in that file function. I see where it works on Actionscripts 3.0 but nothing for 2.0.
View 3 Replies
Oct 7, 2010
Am trying to use 4 dynamic textfields in a Movieclip in flash cs5.2 of them are helveticaworld bold and other 2 are helveticaworld regular. I have embeded the 2 fonts and export foe Actionscript 3.0. But i can't get the correct font. it doesn't have bold.
Code:
Font.registerFont(Font1);
Font.registerFont(Font2);
var format:TextFormat = new TextFormat();
[code]...
View 1 Replies
Jan 4, 2010
Anyone know where to get a template that does pop-up video previews?
[URL]
View 4 Replies
Oct 20, 2010
I know that my question has been asked before but I didn't found any answer suitable for my case or even works. My problem is: I need to embed a Flash movie inside WPF application, then I need to use Externalinterface - or whatever the way is - to integrate through this flash movie - I'm working on Visual Studio 2008! I found some ways but no one worked with me .
View 1 Replies
Apr 4, 2002
i found ure email form php code.
PHP Code:
<?
$recipient = "fake@fake.com";
[code].....
View 6 Replies
Feb 18, 2010
Are you able to customize the UIScrollbar component in Flash CS4?
View 2 Replies
Aug 12, 2011
I'm using FlepStudio's RSS Flash widget to provide a feed from a blog. Whilst I have everything working properly i'm having problems customizing it. I want to alter the size of the feed titles and 'read more' text which is addressed in AS as title_txt. I have tried both changing the font settings in the main.fla and tweaking the variables for title_txt in the .as to no avail.
View 2 Replies
May 31, 2009
I recently completed a tutorial on Adobe's web site on how to create pop-up browser windows through Flash using the getURL/navigateToURL with JavaScript method. The tutorial works great, however, there are a few tweaks I'd like to make, and I'm sure not sure how to go about doing them. The tutorial shows how to make a pop up without scrollbars or the toolbar, but I'd also like the location bar, menubar, and status bar to disappear as well.
[Code]...
View 2 Replies
Dec 12, 2010
I Wrote this code but (redraw region) is still visible what can i do to hide it
ActionScript Code:
var my_menu:ContextMenu = new ContextMenu();
my_menu.hideBuiltInItems();
var my_notice = new ContextMenuItem("Heights Agency - Visit our site");
[code]....
View 2 Replies
Feb 9, 2011
I have a swf A, which contains no font.If I download into it the swf F1, which contains few characters of Arial, then I'll have the arial font embed into A, no problem with that.But if, then, I download the swf F2, which contains other characters of Arial into swf A, will I be able to use all the embed characters font, only the F2, or only the F1 ?I'd like to have a link to somewhere where this is explained, even in very technical terms : I wasn't able to find one.
EDIT : After few tests, it seems that the player replace the loaded font... How can I merge them, then ?
View 1 Replies
Sep 20, 2011
I m in process of developing a website which required to save the customized video, I want to know if there is any possibe way to embedd the audio and image in the swf in runtime so that it can be rendered to a video format via some 3rd party swf to video convertion tools.
View 4 Replies
May 24, 2011
I need to know how to take the main file for the forum, which is a swf and load it into the main swf..
without the swf extension. so in other words I need to know how to put a url in flash so instead of being
mysite.net/forum.swf I would need it to be just mysite.net
the reason I cannot load the file directly is because it will just loop and do nothing if I do... were as the url itself loads off of the whole site not just that one file and it works perfectly when I use just the url without the file in it.
I know this is possible with java script and possibly a couple other things such as xml... but I don't know how to do it. so if you can please let me know how I am to embed a website that is based on flash into a current swf, on the same server please let me know in detail how to do it... try and remember I am not very knowledgeable in java or even flash... so please be specific about what I need to do
View 2 Replies
Aug 28, 2009
i cant find info on this anywhere on google, even adobe's description doesnt work. basically i have figured out how to embed and access the children of a swf built in flash (YAY!!!), but theres another problem now.
a flex module complied to flash behaves differently, and embedding it doesnt seem to work, at all.
however this application pretty much depends on the modules being loaded with the main application so embedding the module is vital. i've tried countless techniques and so far the only thing i know woks so far is:
[code]...
View 1 Replies
Sep 16, 2011
I am using flex sdk 4.5.1 and flash develop to compile my AS3 project. I have small images, about 12KB which is silly to load them using Loader class, so embeding is better solution.
However when this line at the top of my Main class is uncomented i get blank swf[URL]..(when i comment it out, the compilated swf is ok)
What could be the error. Why do I get the blank swf?
View 2 Replies
Mar 7, 2012
In my project i use swfs bundled with resources. These bundles are created from another utility application. Application creates an Package.as file with [Embed] tags puts all resources to the the same directory and runs mxmlc to compile bundle swf.
Bundled swf works like a charm. I can instantiate assets. however i want to implement another utility to edit these bundles ( to add and remove resources) Here is the problem. Since this bundle.swf is not created from Flash i cannot use:
[Embed ( source="oldbundle.swf", symbol="Package_res1" ) ] // ( "Package_res1" is class name of resource in bundle") in creating new swf. mxmlc returns symbol not found errors.
For bytearray assets i found a solution. I write bytearrays to disk, then use those files for embed.However i cannot do the same thing for vector graphics that were added as symbol from Flash swf into the original bundle. If i write bitmapdatas on disk i would lose vectorness ( Not sure if it is a word :) ). SVG is not a complete option to substute flash symbol.
Using as3swf, i inspected the bundle swf and saw SymbolClass tag. All of the assets are defined there. I don't know why embed tag cannot find the symbol. Difference with bundled.swf symbol and Flash swf symbol is, one extends SpriteAsset( an flex framework object) other extends sprite
What can i do to use older swf as embed source for new swf?
View 2 Replies
Nov 12, 2009
I'm rtying to attach swf file in html and calling its method from javascript and vice-versa. I got success in that but the problem is that when I'm trying to create that object(swf) inside the form tag in html i.e, like <form name = "applicationform" ><object classid = "classid:22d[URL].. and then in the script section I'm calling the method of actionscript then on running the web page I' getting error "object not supported".
View 1 Replies
Jan 18, 2011
I am trying to create a popupmenubutton, with images and label as its nodes. But I am unable to embed the icons. It gives me and error(given below). Thou the label alone are working fine.
<mx:PopUpMenuButton id="menu_file" labelField="@label" itemClick="{menuClickHandler(event);}" visible="false"
height="20" left="0" top="0" width="15" alpha="0.5" cornerRadius="5" useHandCursor="true"[code].....
This gives me an error: Initializer for 'Embed': unrecognized compile-time directive.
View 2 Replies
Oct 27, 2003
how to go about customizing the title bar of a swf or exe published out of Flash. Instead of it saying "Macromedia Player 6" I would like to have my own icon and the title bar read "My Movie"? I have seen it done but can't seem to find anything in the help files of MX on how to do this.
View 4 Replies
May 4, 2011
I need to change the text that is output when the JWPlayer encounters an error and states "Video not found or access denied:filename.flv". I'm wondering if this is at all possible by passing through parameters to the embed object?
View 1 Replies
Feb 15, 2008
I would like to make mine look like the windows xp datagrid. How can I customize it or create a new on that looks like that? I know only AS1 and AS2. I know it is very easy to edit it in AS3.
View 2 Replies
Jun 22, 2010
I have my scrollpane all set up and ready to go, but I would really like to set the scrollbar to a specific height--one much smaller than the scrollpane. I'm using as3 in cs3. The name of my scrollpane is "scrollpaneabout."
import fl.containers.BaseScrollPane;
import fl.containers.ScrollPane;
import fl.controls.ScrollBar;
scrollpaneabout.source = scrollcontentabout;
scrollpaneabout.setSize(570,260)
scrollpaneabout.addEventListener(Event.ADDED,spCom plete);
function spComplete(event:Event):void {
scrollpaneabout.verticalScrollBar.x=-54.5;
scrollpaneabout.verticalScrollBar.height=80;
scrollpaneabout.verticalScrollBar.y=50;
}
However, the height property has no effect.
View 1 Replies
Mar 8, 2005
I'm trying to find a clear and concise book or online referece that can assist me in customizing the components that come with FMX04.Namely the label component. I know how to change the "halo" theme in general to get the buttons and text boxes to change color, but beyond that I am at a lost.
I have tried Macromedia, searched here/Flash Kit/google, but nothing that I can learn from. Live Docs has a feedback part where someone posted some code and while I can cut and paste it, I'm not completely sure how it all worked.
View 1 Replies
Sep 4, 2005
I was looking for a way to customize the header color of the Accordion component. I found this article at macromedia and managed what i wanted to. customizing requires this class file to be included :
[Code]...
View 1 Replies
Aug 16, 2006
recommend a tutorial or guide to heavily customizing the MediaController component? Customizing components at the level my group is looking at for a project we have is way beyond what we've done before.
View 1 Replies