C# :: Flash - SWF Wrapper In C#?
Dec 28, 2010i have a SWF file with a simple function that returns a string. can i use it in c#? is there any .NET wrapper to flash files that allows "talking" to it?
View 1 Repliesi have a SWF file with a simple function that returns a string. can i use it in c#? is there any .NET wrapper to flash files that allows "talking" to it?
View 1 RepliesWhen I make changes to a Flex project and rerun the project, it seems that FlashBuilder4 rewrites my html wrapper that embeds the SWF. But I have additional javascript code in the html wrapper and don't want to keep losing my code. I had to re-write the code once and it was a pain in the neck.How do I stop it from re-writing the html. And the related question: how do I stop it from deleting the html during a clean?I basically need to exclude the html from its processing once it's been created the first time. P.S. I'm using Flash Builder 4, but I suppose it's the same in Flex Builder 3.
View 3 RepliesWe create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9.
If I create an FP10 SWF which uses Pixel Bender classes (Shader, ShaderData), when I run them in an FP9 wrapper within an FP10 player, an error is thrown
VerifyError: Error #1014: Class flash.display::Shader could not be found.
Is there any way to get access to these FP10 classes - or does the version of the outermost wrapper determine what's available to child SWFs? Is this something to do with applicationDomain?
If I load a swf in FlashPlayer standalone, it will play nice and smooth. If I load the HTML it's embedded in (with SWFObject) in a browser it stutters like hell. If I use my browser to open the swf on its own, that runs nearly as smooth as in the standalone player.
That the standalone player runs smoother is understandable, since it then doesn't need to go through the browser layer. A slight performance decrease when adding the HTML DOM layer is also understandable, but in my case the difference is huge!
If I were to guess:
Standalone: 100% (benchmark)
SWF in browser: 90%
SWF in HTML in browser: 30%
We create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9.If I create an FP10 SWF which uses classes specific to FP10 (Pixel Bender classes such as Shader, ShaderData), when I run them in an FP9 wrapper within an FP10 player, an error is thrown VerifyError: Error #1014: Class flash.display::Shader could not be found.I thought this may be something to do with ApplicationDomains - maybe the child SWF was forced into using the global classes from the parent SWF, but assigning a new ApplicationDomain to the child didn't make any difference. Is there any way to get access to these FP10 classes - or does the version of the outermost wrapper SWF always determine what's available to child SWFs? It seems odd that the FP10 classes are not available in a FP10 player.
View 2 RepliesCalling jQuery Function from Flash
if we have a jQuery plugin of the following style[code]...
Could anyone point me in the right direction for how this call can be made directly or clarify if it's just not a supported operation?
I've been trying to do as the client requested : redirect to campaign page then to destination page once a customer clicks on the top banner in swf format.If you are using Firefox, Chrome or Safari, I suspect you can reach the destination page.However, if you are using IE or Opera, I doubt it.I think to cause of such a weird problem is:The swf ojbects don't have a link to url, SO I have to hack the theme template file like this :
<div id="header">';
/*
* A quick and dirty way to put some swf into PHP, and rotate among them ...
[code].....
Can you place php varibles in the html wrapper for a swf, that could be read into the swf when it loads?Perhaps using a param?
$myVariable = "$var1,$var2,$var3";
like this with php in the html?
<param name=FlashVars value="$myVariable" />
or perhaps ?
<param name=FlashVars value="myVariable=$myVariable" />
Then perhaps in the swf with as3 using something like this?
var myloader:URLLoader = new URLLoader()
myloader.load(new URLRequest(this.root.loaderInfo).parameters))
myloader.addEventListener(Event.COMPLETE, onLoaded)
[code]...
Unsure how to access it using the correct path to the param and then how to get the php variable $myVariable into myloader.data?
I am using Flash Builder 4. In the Flex Compiler option, I checked 'Generate HTML wrapper file', and then added some text to the alternateContent variable in the auto generated index.template.html wrapper found in html-template folder. For Run/debug settings I have the src/index.html file set as the file to be launched. In the bin-debug folder, the index.html incorporates the content of the html wrapper, and when I run the app in debug mode it behaves as I would expect. However, when I export a release build, the index.html file doesn't incorporate the content of the html wrapper file, and therefore doesn't do the check for a valid version of Flash Player. Do I have to manually copy the index.html file from bin-debug to bin-release each time I export a release build (this does seem to work)
View 1 RepliesSelect a school listed in the first datagrid, and display all the student records /details of that school in the next datagrid. But, since datagrid is editable and requirement mentions : "Use a Wrapper class around the object to get the data, set the same and save. Ensure wrapper is bindable to take into consideration the updates being made to datagrid text fields."
I have an object which is a type of a Data Access Objects i.e. DO.
mySchool:mySchoolDO.
The mySchoolDO is an actionScript class of following code :
public class mySchoolDO
{
public var schoolName:String;
public var schoolLocation:String;
[code]....
The showSchoolStudents will display all the details of students on to the datagrid. But, my datagrid is editable. And, I want to use WRAPPER CLASS around this object such that
a> I can retrieve individual values as present in studentsDO i.e. studentID, studentCourses, studentGender, studentPhone.
b> I shouldbe able to set the values as they are updated in the visual datagrid.
c> Finally save all the data and submit on submit click.
Is it possible to create flv player's (mainly YouTube Player's) wrapper using AS3 and FlashDevelop only? I am concerned about it because I don't have Flash authoring environment. I have seen many tutorials and in first step (in all of them) are asking to create a .fla file.
View 2 Repliesin as2 i used a javascript function to connect with a javaScript wrapper for scorm and it work and now i moved to as3 so i am using the ExternalInterface.call instead of the getURL and that works but all the rest doesnt. know if in as3 i need to do more things to work with scorm?
View 3 RepliesI have an ArrayCollection containing bindable objects. I would like to access them in multiple places like below (there's only one label for clarity). How can I achieve that?hould I write some kind of wrapper for ArrayCollection dispatching special event (which?) catchable by Flex event mechanism.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]......
I'm trying to figure out how to make a configurable wrapper or container file that I can simply pass variables such as
wrapper.swf?m=movie-to-load&u=url-that-button-goes-to
It seems simple enough, and I'm half way there ( I can get external movies to load ) however the transparent button is over my head ( read: I'm a complete noob ).[code]...
I've tried hardcoding a url into getURL as well but it doesnt' seem to be recognizing that there's even a button there.. is that because there's a new movie being loaded?
I'm still learning how to compile with the Flex SDK. And I'm learning how to use SWC files and [EMBED] statements to pull my assets into my application.With the Flash IDE, I can link a library asset to a class and it's automatically embedded into my custom class. So that's 1 asset in 1 class. With the Flex SDK and SWC files, it seems I can only* pull in assets at the variable level, so I end up with my custom classes containing yet another class -- this means I have an extra wrapper/decorator (whatever you want to call it) class that I didn't have when using the Flash IDE.Is this what people typically do? Doesn't that seem superfluous?I've read Colin Moock's 'Essential Actionscript 3.0', where he mentions something about embedding a SWF at class-level as binary data.
View 2 RepliesIn Flex builder 3 when I create a new flex application targeting the flex 4 sdk, it wont generate a html wrapper file. I have hunted around the web for answers, but no success. I have made sure the box is checked in the project properties to generate html wrapper.
The only workaround is to target an older version of the sdk (i.e. 3.2), which will cause the wrapper to be generated. Then I can revert the project to sdk 4. This then means I can never do a clean of my project because this will result in the wrapper being deleted. Has anyone else come across this? Is this just a bug with Flexbuilder3?
I created a quiz from the quiz template in flash. I published it as "Flash with scorm 1.2 tracking"
-How do I create a SCO now?
-How do I use Dreamweaver's scorm run time wrapper and manifest maker?
-Whats my nest step after I publish my files from flash?
Is there any good tutorials on how to create a sco?Dreamweaver's manifest maker says I need sco.Can I just zip up the html and swf file? Is that a sco? It still won't recognize it as a sco.
I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.
[Code]...
I'm trying to get a photogallery to get information directly from [URL] I've found a flash API wrapper that looks like it should work but my understanding of class constructs is too weak to get it going. [URL]
View 3 RepliesI'm working through Dreamweaver fairly well, and I'm now wanted to import Flash buttons I've created myself into Dreamweaver for a website I'm currently building, and it's here that I'm finding the problem. I have been to the 'get URL Function', but it says something about needing to link to a web page? But my problem is how can I link Flash Buttons to a web page, when my site is still being developed and not published? Do I have to publish first?
View 3 Replies:confused:Does anybody know is Flash mx 2004 compatible with flash CS3 and flash 8?? I can not open flash cs3 on my laptop with flash mx2004 also can actionscript 3.0 be used with flash mx2004 and flash 8 because when I save my flash cs3 document as a flash 8 document it does not work? I am awful confused with all this. If you created a flash website in flash 8 or Flash mx2004 you can not open in in flash cs3 it dosent make sence?
View 3 RepliesAre there any programs or features in flash that can simplify flash vector art?
I just realized that one of the reasons why my program might be running so slow is that I made the images out of lots and lots of circles. When things didn't look right I often just put larger circles over smaller ones. I didn't think that flash might still be drawing the invisible circles underneath-
When I call a .php file from flash and then echo a value back to flash from said .php file flash does not read it. My code is like this:
[Code]....
Note that there is a successful connection to a database using xampp as a server.
We've got a green screened video playing in a flash movie over top of our html content.when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).this works and you can interact with the html content after the flash movie in all browsers except firefox.anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
View 1 RepliesI have absolutely no idea where to post about this, please move if necessary.So, I've just installed flash player 10 and now my flash tracer plugin (in firefox) won't work. do i have to switch back to flash player 9 or is there a solution to this?
i have the correct path in Flash Tracer's settings (C:Documents and SettingsAdministratorApplication DataMacromediaFlash PlayerLogsflashlog.txt) as well as the mm.cfg file in C:Documents and SettingsAdministrator.
I have made a small rectangle in the flash with the tweening effect and export in to the FLEX. When i publish in the FLEX i could see the rectangle with out tweening effects.How can i see the tweening effects.
View 1 Repliesive publish a html file with flash detection enabled from flash.[code]now since the default codes places my flash movie on upper left corner, ive made my own tables with the flash on it, how or where do i place this code to the upper codes?[code]
View 1 Repliesit possible to create a button in flash that when clicked the flash interface extends to fit fullbrowser?
View 4 RepliesDoes anyone know of a DAM (Digital Asset Management) solution, preferably ASP.net that can handle storage of both common movie types and flash movies?
View 2 RepliesWe are developing our app in flash/flex builder for the front end hitting .NET backend webservices. There is one section of the old app that will not be initially converted, so we need have it appear in an iFrame.
So far all that works fine.We shrink the size of the SWF in the host page to just be the menu/nav area. And underneat that I have an iframe control that loads in this page from the old site.Now the problem. in the SWF is a drop down list to enable picking a client. Since the SWF has been shrunk to about 100px high, the drop-down will only occupy within that 100px area which it's opened. This is NOT good as you can imagine. How can I make the drop-down list descend over-top of the IFRAME control and thus extend outside the SWF dimensions? Is this possible?
I tried to make the internal stage transparent and leave the SWF a little larger, about 400 px high, but the IFRAME still appears behind the SWF.