Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,836 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,638 people online right now. Registration is fast and FREE... Join Now!




Alter variables in .swf file (C# .NET Flash)

 
Reply to this topicStart new topic

Alter variables in .swf file (C# .NET Flash), Is it possible to alter a .swf file from a webform using c# .net?

kockojumbo
26 Sep, 2008 - 10:34 AM
Post #1

New D.I.C Head
*

Joined: 26 Sep, 2008
Posts: 1

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?

User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Alter Variables In .swf File (C# .NET Flash)
26 Sep, 2008 - 10:36 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,997



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
To the best of my knowledge you cant alter the swf file from any language
User is offlineProfile CardPM
+Quote Post

marcells23
RE: Alter Variables In .swf File (C# .NET Flash)
26 Sep, 2008 - 11:11 AM
Post #3

D.I.C Head
Group Icon

Joined: 22 Aug, 2007
Posts: 134



Thanked: 3 times
Dream Kudos: 125
My Contributions
Use an xml file and have the flash read from that.

You can then alter the xml from c#
User is offlineProfile CardPM
+Quote Post

njagadhish
RE: Alter Variables In .swf File (C# .NET Flash)
26 Sep, 2008 - 03:28 PM
Post #4

New D.I.C Head
*

Joined: 26 Sep, 2008
Posts: 3

QUOTE(kockojumbo @ 26 Sep, 2008 - 11:34 AM) *

Hello everyone!

Im building a simple webform that enables users to load a flashbanner (.swf) and change the contents (eg. text, url, img) in .net. Preferrebly in c#.

Conclusion:
1. Load a flashbanner (.swf).
2. Get the variables (names and values) from the file.
3. Alter their values.
4. Save it to a new file (or the same, doesnt matter).

Why i want to do this is because if I have a banner that i want to send to 10 different places, i dont want to have to make 10 different flashfiles just for changing a bit of text.

Is this possible in .net?

I've been looking at programs like Aspose Flash and others, but i cant find any proper examples of this type of thing.

Does anyone know anything about how to approach this?




Hi,

Could you please explain me how to load a document in Flash paper in ASP.Net?

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 04:14PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month